[Dirvish] find looping?

Dave Howorth dhoworth at mrc-lmb.cam.ac.uk
Thu Feb 9 04:56:07 EST 2006


Paul Slootman wrote:
> On Fri 03 Feb 2006, Dave Howorth wrote:
> 
>>Has anybody had any problems with find looping?
>>
>>I occasionally find in the morning that my overnight dirvish script 
>>hasn't finished because one of the jobs is blocked. When I look with 
>>top, I always discover a 'find' is hogging the CPU:
>>
>>  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>>19073 root      39  15  2924  704 2752 R 99.9  0.0   1833:14 find
> 
> If find is indeed looping, I'd suspect possible file system problems.
> 
> A strace would show if it is indeed looping. Perhaps filter on chdir
> calls...

It happened again today so I did an strace -p but there was no output 
over five minutes during which top showed the process hogging one of the 
CPUs (100% ni).

Any thoughts on what that means?

Cheers, Dave



More information about the Dirvish mailing list