[Bug 790156] New: systemd: udev performs fork bombing
https://bugzilla.novell.com/show_bug.cgi?id=790156 https://bugzilla.novell.com/show_bug.cgi?id=790156#c0 Summary: systemd: udev performs fork bombing Classification: openSUSE Product: openSUSE Factory Version: 12.3 Milestone 0 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem AssignedTo: fcrozat@suse.com ReportedBy: jslaby@suse.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=513575) --> (http://bugzilla.novell.com/attachment.cgi?id=513575) dmesg from the situation after sysrq-e Every couple of days, after some suspend/resume cycles, systemd-udev performs a fork bomb and creates over 1000 children. It indeed triggers OOM killer which kills firefox and thunderbird first, then sends my X session down. Usually I have to press sysrq-e to get rid of the livelock. As this kills irreversibly a whole running system, setting severity as critical. <no need to read this> I remember Lennart saying systemd codebase swallowed only small utilities which are and will be bug-free. Maybe they should reconsider touching working software with their dirty hands given they did not break it for the first time now. Or maybe somebody should finally fork that piece of sh^Boftware and make it robust, stand-alone and working. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=790156
https://bugzilla.novell.com/show_bug.cgi?id=790156#c1
--- Comment #1 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=790156
https://bugzilla.novell.com/show_bug.cgi?id=790156#c2
--- Comment #2 from Jiri Slaby
why do you have both udevd and systemd-udevd running ? Only systemd-udevd should be running.
I have no idea, I just zypper dup-ped... What should I do? systemctl disable udev.service udev.service is not a native service, redirecting to /sbin/chkconfig. Executing /sbin/chkconfig boot.udev off insserv: FATAL: service boot.udev has to be enabled to use service boot.loadmodules insserv: FATAL: service boot.udev has to be enabled to use service boot.device-mapper insserv: FATAL: service boot.udev has to be enabled to use service boot.md insserv: exiting now! /sbin/insserv failed, exit code 1
could it be pm-utils messing with udevd (or trying to restart it) ?
I don't know, this happens after a couple of days and after some suspend/resume cycles. suspend might not be related at all. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=790156
https://bugzilla.novell.com/show_bug.cgi?id=790156#c3
--- Comment #3 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=790156
https://bugzilla.novell.com/show_bug.cgi?id=790156#c4
--- Comment #4 from Jiri Slaby
you should have a /usr/lib/systemd/systemd/udev.service which is a symlink to /dev/null (which will prevent boot.udev to be ever started).
ls: cannot access /usr/lib/systemd/system/udev.service: No such file or directory Should I create that? Why was not one created automatically? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=790156
https://bugzilla.novell.com/show_bug.cgi?id=790156#c5
--- Comment #5 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=790156
https://bugzilla.novell.com/show_bug.cgi?id=790156#c6
--- Comment #6 from Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=790156
https://bugzilla.novell.com/show_bug.cgi?id=790156#c7
--- Comment #7 from Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=790156
https://bugzilla.novell.com/show_bug.cgi?id=790156#c8
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=790156
https://bugzilla.novell.com/show_bug.cgi?id=790156#c9
--- Comment #9 from Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=790156
https://bugzilla.novell.com/show_bug.cgi?id=790156#c10
--- Comment #10 from Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=790156
https://bugzilla.novell.com/show_bug.cgi?id=790156#c11
Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=790156
https://bugzilla.novell.com/show_bug.cgi?id=790156#c12
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=790156
https://bugzilla.novell.com/show_bug.cgi?id=790156#c13
Andrey Borzenkov
https://bugzilla.novell.com/show_bug.cgi?id=790156
https://bugzilla.novell.com/show_bug.cgi?id=790156#c14
Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=790156
https://bugzilla.novell.com/show_bug.cgi?id=790156#c15
Jiri Slaby
Jiri did you do some kernel update/upgrade just recently?
Yes, I am running the -next tree. The first one where OOM killer stepped in was 3.7.0-rc5-next-20121112. But I had been using that kernel for three days without an issue according to the logs. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=790156
https://bugzilla.novell.com/show_bug.cgi?id=790156#c16
Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=790156
https://bugzilla.novell.com/show_bug.cgi?id=790156#c17
Jiri Slaby
Can you try the Factory kernel and try to reproduce it?
I doubt this is present in the factory kernel.
Talking about queues. multiqueue support?
c8d68e6be1c3b242f1c598595830890b65cea64a
Author: Jason Wang
https://bugzilla.novell.com/show_bug.cgi?id=790156
https://bugzilla.novell.com/show_bug.cgi?id=790156#c18
Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=790156
https://bugzilla.novell.com/show_bug.cgi?id=790156#c19
Jiri Slaby
Lowering the limit to 50 now...
Yes, that's it. Limiting it to 50 creates 100 processes -- 50 for rx, 50 for tx. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=790156
https://bugzilla.novell.com/show_bug.cgi?id=790156#c20
Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=790156
https://bugzilla.novell.com/show_bug.cgi?id=790156#c21
Robert Milasan
participants (1)
-
bugzilla_noreply@novell.com