Alexander E. Patrakov wrote:
Ubuntu is irrelevant here. My wild guess is that you removed the hotplug initscript, but forgot to remove stuff from /etc/hotplug.d and still have the run_hotplugd rule. This runs the agents for every uevent. Look how long it takes for an empty bash script to run 800 times on my Celeron 1200:

[EMAIL PROTECTED]:~$ echo '#!/bin/bash' >test.sh
[EMAIL PROTECTED]:~$ time for a in `seq 1 800` ; do bash test.sh ; done

real    0m9.157s
user    0m7.044s
sys     0m2.108s


But isn't there a sleep 0.1 in the script? Does that sleep get run hundreds of 
times?

Andy
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to