View previous topic :: View next topic |
Author |
Message |
sphakka Tux's lil' helper
Joined: 24 Jun 2003 Posts: 79
|
Posted: Tue Jul 03, 2012 8:39 pm Post subject: multiple udevd processes |
|
|
Hi there,
Today I discovered that there are 3 udevd processes running on my box (dual-core AMD):
Code: |
$ ps aux | grep udevd
$ ps auxf | grep udevd
root 1179 0.0 0.0 17292 912 ? Ss 09:35 0:00 /sbin/udevd --daemon
root 20820 0.0 0.0 17288 572 ? S 21:16 0:00 \_ /sbin/udevd --daemon
root 20821 0.0 0.0 17288 584 ? S 21:16 0:00 \_ /sbin/udevd --daemon
|
PID 1179 was started at boot, whereas the other two were possibly forked when the graphical desktop (KDE) is started. Indeed, in console with no xdm running, I was able to kill the forked processes; then, as xdm -> KDE was restarted, they reappeared... I can also kill the two extra process while KDE is running, and everything seems to run fine, though sometimes after a while they're back. Conversely, restarting udev seems to get rid of any clandestine process. I wonder what might trigger this behaviour (I suspect Phonon...)
Is that normal?
^s |
|
Back to top |
|
|
gorkypl Guru
Joined: 04 Oct 2010 Posts: 444 Location: Kraków, PL
|
Posted: Wed Jul 04, 2012 7:11 am Post subject: |
|
|
Yes, it is normal. At least I have the same and I do not use KDE, just a very simple X session without dbus or anything. _________________ BTW, TWM FTW! |
|
Back to top |
|
|
sphakka Tux's lil' helper
Joined: 24 Jun 2003 Posts: 79
|
Posted: Wed Jul 04, 2012 8:18 am Post subject: |
|
|
Still puzzled by that...
I can confirm that at least one udevd replica is spawned when XDM starts, so it might be a consequences of X accessing devices: on top of my head, touchpad + keyboard => 2 extra udevd processes?
Anyway, the system looks more responsive after the cleanup (i.e. killing extra processes)... |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Wed Jul 04, 2012 8:34 am Post subject: |
|
|
Apparently they are worker threads. |
|
Back to top |
|
|
sphakka Tux's lil' helper
Joined: 24 Jun 2003 Posts: 79
|
Posted: Wed Jul 04, 2012 9:05 am Post subject: |
|
|
Thanks, now clear! Urgh, udevd is becoming a Web server... worrisome... |
|
Back to top |
|
|
gorkypl Guru
Joined: 04 Oct 2010 Posts: 444 Location: Kraków, PL
|
|
Back to top |
|
|
sphakka Tux's lil' helper
Joined: 24 Jun 2003 Posts: 79
|
Posted: Wed Jul 04, 2012 9:47 am Post subject: |
|
|
Indeed, I knew about that famous article! Hopefully, the gentoo folks will conjure up a udev-less configuration |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Wed Jul 04, 2012 6:15 pm Post subject: |
|
|
sphakka wrote: | [...] Hopefully, the gentoo folks will conjure up a udev-less configuration |
sphakka ... its quite possible, see the gentoo wiki article on using mdev (from busybox) as a udev replacement. The problem is that certain things don't (currently) work, such as lvm2.
The problem, I think, is not so much udev (which is little more than a hotplug service) but how the dependencies are being shaped, and mostly this is due to redhat/freedesktop/gnome's desire to create a one-size-fits-all "Desktop". I see this as being driven by two factors: the flawed logic of "usability" and "developing markets". Given the former is a complete abstraction (and should play no role in software developement) and the latter is highly volitile and precarious, it is likely to end in confusion.
best ... khay |
|
Back to top |
|
|
|