On Jan 16, 2008 11:58 PM, Arthur Marsh <[EMAIL PROTECTED]> wrote:
> nice -n 10 updatedb.findutils
>
> and top reporting the find command running with nice level 10, I would
> still get an unresponsive system with 99.9 percent cpu going to find.

Find doesn't normally use that much CPU.   2% would be more usual.
Is the CPU being used in user context (find) or in system context (the
kernel)?


> At the time, find was searching through a vfat filesystem.

Could you provide some more details?   Perhaps by using a command like this:


strace -ttt -T -p    (the PID of the find process)


> The problem seems to be deeper than the locate utility as no process
> that has a nice level of 10 should bring everything else to a virtual
> halt.

This is largely true, but my guess is that the find process is still
using a tiny amount of user CPU time, and that the problem is
somethere in how it is interacting with the VFAT filesystem.

James.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to