Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-22-2010, 07:56 PM   #1
LQ Newbie
Registered: Jul 2005
Posts: 10

Rep: Reputation: 0
udevd - producing high system load - how to track the cause?

I have big problem with /sbin/udevd. For 5-10 minutes after starting X, the system load is 100% (almost everything caused by the /sbin/udevd process).

The strace output is looping around sth like this:

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7ff7bc9d0780) = 29354
select(7, [3 4 5 6], NULL, NULL, NULL)  = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
write(7, "\0", 1)                       = 1
rt_sigreturn(0x7)                       = -1 EINTR (Interrupted system call)
select(7, [3 4 5 6], NULL, NULL, NULL)  = 1 (in [6])
read(6, "\0", 256)                      = 1
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 29354
unlink("/dev/.udev/failed/\\x2fdevices\\x2fpci0000:00\\x2f0000:00:02.0\\x2fdrm\\x2fcard0") = -1 ENOENT (No such file or directory)
unlink("/dev/.udev/queue/57056")        = 0
wait4(-1, 0x7fff68f8358c, WNOHANG, NULL) = -1 ECHILD (No child processes)
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7ff7bc9d0780) = 29355
When the load goes down to normal state, the strace looks like:
select(7, [3 4 5 6], NULL, NULL, NULL
as if it hanged somewhere in the loop.

Due to my lack of knowledge I can not decode the output. I would be very grateful for any suggestions of how to trace the problem.

I'm using:
udev 135
kernel 2.6.31-gentoo-r6

I also attached my kernel config.
Attached Files
File Type: txt config-2.6.31-gentoo-r6-t07.txt (45.7 KB, 6 views)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Responsive system/High load average and hanging ps bagpussnz Linux - General 2 06-01-2010 03:09 PM
[SOLVED] Very slow system response to user input, variable (and HIGH) CPU load on P4 HT system f4c3l355 Linux - General 3 09-23-2009 09:28 AM
RAID5 and RAID1 causing high system load on Suse 10.1 with no activity desibeli Linux - General 11 06-10-2006 02:50 PM
need to create high system load bigtl Linux - General 2 09-29-2005 08:20 AM
High system load while reading from HDD on nforce2 qQsh Linux - Hardware 5 01-31-2005 05:37 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration