Damian Menscher wanted us to know:

>On Fri, 27 May 2005, lattera wrote:
>
>>can't use strace, because I don't know the email that is making it
>>hang. that is why I need to use gdb, so I can look through the
>>stack/heap for the email...
>You're saying it's hung, taking 100% of CPU.  So just use top to find 
>the PID of the hung process, and attach strace to that PID (strace -p 
>PID).  It'll probably at least give the developers a hint of what is 

lsof | egrep '\bPID\b'

where PID is the pid of the process taking 100% CPU.  That should tell
you what temp files it's looking at.  Repeat for the clam processes of
interest.
-- 
Regards...              Todd
They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety.       --Benjamin Franklin
Linux kernel 2.6.11-6mdksmp   3 users,  load average: 0.23, 0.07, 0.02
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to