]> git.ipfire.org Git - thirdparty/systemd.git/commit
udevd: notify when max number value of children is reached only once per batch of...
authorFranck Bui <fbui@suse.com>
Wed, 24 Apr 2019 09:26:42 +0000 (11:26 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 26 Apr 2019 07:58:12 +0000 (09:58 +0200)
commit5406c36844b35504a64e9f05fc74b8e5e5a09143
treef8b62e5255f38fbda7e5735a3c368bccfb7dc260
parenta6d04b1a179643685cabda9e489b34f24c287f27
udevd: notify when max number value of children is reached only once per batch of events

When booting with "udev.log-priority=debug" for example, the output might be
spammed with messages like this:

    systemd-udevd[23545]: maximum number (248) of children reached
    systemd-udevd[23545]: maximum number (248) of children reached
    systemd-udevd[23545]: maximum number (248) of children reached
    systemd-udevd[23545]: maximum number (248) of children reached
    systemd-udevd[23545]: maximum number (248) of children reached
    systemd-udevd[23545]: maximum number (248) of children reached
    systemd-udevd[23545]: maximum number (248) of children reached

While the message itself is useful, printing it per batch of events should be
enough.
src/udev/udevd.c