On 3/11/07, Martin Blapp <[EMAIL PROTECTED]> wrote:

99 busy threads, and one idle, and all those busy threads are somewhere in
do_multipart, but they don't do any work. They starve and get killed after the
timeout, but the real scan doesn't happen. When the maximum of clamd threads is

Try this:
Remove the static qualifier from all functions in message.c, recompile
with '-g -O0', then wait till clamd hangs again. Get a backtrace of
each thread, and see more exactly in which function they are in, and
which file:line. Then let it run again, and take a snapshot of thread
state again.

Just my 2 cents,

--Edwin
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

Reply via email to