Hi Sanjoy,
Sanjoy Mahajan wrote:
If I unplug the AC power (the laptop is a Thinkpad T60) while the
/etc/cron.daily/locate script is running, the system slows to a crawl.
It's happened twice with this pattern so far, so I think its
reproducible.
The cause seems to a 'mount' process consuming almost 100% of the CPU
time, or maybe 100% of one of the core's CPU time (while the 'find'
gets most of the other core's CPU). The 'mount' eventually finished,
about 20 minutes later. I don't know if taking a long time to remount
is expected while another disk-intensive process is running?
I haven't seen this before. The ps output you show is entirely as
expected, it looks to be functioning normally -- but very slowly. Could
you disable laptop mode (running /etc/init.d/laptop-mode stop will
disable all laptop mode processing), and then run the remount command
yourself _while_ /etc/cron.daily/locate is running? If this makes the
system slow down to a crawl, then we'll probably have to reassign this
bug to the kernel folks.
Cheers,
Bart
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]