Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Set systemd-udevd monitor buffer size to 128MB #11389
Jan 11, 2019
Heh, that's a tricky one. The code paths for
So now we need to figure out why the buffer size makes such a difference.
My laptop shows the following:
Right, I think we now understand the cause of failure. This patch should fix it.
That said, I think udevd works mostly by chance. We're setting an absurdly high buffer size because if we ever miss any events, we are completely screwed. But if we ever were on a system which had little RAM and and lots of devices (e.g. something like NAS), we'd be in trouble. One way to work around this would be to provide a feedback channel from udev to udevadm that is doing
Ooops, I tried to push this by hand, and got