[systemd-devel] udevd: increase maximum number of children

Robert Milasan rmilasan at suse.com
Thu Nov 27 23:57:01 PST 2014


Hello, since a while back, there was a commit (haven't found it) which
limits the number of children/workers to 8 + <num_cpu> * 2, which in a
normal case like a 4 core/cpu machine is 16 children/workers.

This limit is way too low even for a single core VM, that actually
means 10 children/workers.

I've attached the patch which increased this number to 8 + <num_cpu> *
256, which is 1032 for a 4 core/cpu machine and 264 for a
single core/cpu machine.

Also the patch changes the logging level of 'maximum number of children
reached' to an error, this should be visible as an error when the
number has been reached.

Reference bug: http://bugzilla.opensuse.org/show_bug.cgi?id=907393

-- 
Robert Milasan

L3 Support Engineer
SUSE Linux (http://www.suse.com)
email: rmilasan at suse.com
GPG fingerprint: B6FE F4A8 0FA3 3040 3402  6FE7 2F64 167C 1909 6D1A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-udevd-increase-maximum-number-of-children.patch
Type: text/x-patch
Size: 1265 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20141128/50a9dba0/attachment.bin>


More information about the systemd-devel mailing list