> So, how is clamd behaving with the patch and ThreadTimout=0? > > Is it any better?
It is actually better, but unfortunately, there still seems to be a problem somewhere. Here is what gdb shows me: GNU gdb 5.3.92 Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-suse-linux"... Attaching to program: /usr/local/sbin/clamd, process 26867 Reading symbols from /usr/local/lib/libclamav.so.1...done. Loaded symbols for /usr/local/lib/libclamav.so.1 Reading symbols from /lib/libz.so.1...done. Loaded symbols for /lib/libz.so.1 Reading symbols from /usr/lib/libbz2.so.1...done. Loaded symbols for /usr/lib/libbz2.so.1 Reading symbols from /usr/lib/libgmp.so.3...done. Loaded symbols for /usr/lib/libgmp.so.3 Reading symbols from /lib/i686/libpthread.so.0...done. [New Thread 16384 (LWP 26867)] [New Thread 32769 (LWP 26868)] [New Thread 16386 (LWP 26869)] Loaded symbols for /lib/i686/libpthread.so.0 Reading symbols from /lib/i686/libc.so.6...done. Loaded symbols for /lib/i686/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 0x40093b94 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0 (gdb) info threads 3 Thread 16386 (LWP 26869) 0x40187fa6 in nanosleep () from /lib/i686/libc.so.6 2 Thread 32769 (LWP 26868) 0x401afb66 in poll () from /lib/i686/libc.so.6 1 Thread 16384 (LWP 26867) 0x40093b94 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0 (gdb) bt #0 0x40093b94 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0 #1 0x400939d8 in __pthread_wait_for_restart_signal () from /lib/i686/libpthread.so.0 #2 0x40093151 in pthread_create@@GLIBC_2.1 () from /lib/i686/libpthread.so.0 #3 0x0804c3ea in acceptloop (socketd=0, root=0x8b19e78, copt=0x8053828) at server.c:596 #4 0x0804b017 in tcpserver (opt=0x80530e8, copt=0x8053828, root=0x80662d8) at tcpserver.c:93 #5 0x0804ac29 in clamd (opt=0x80530e8) at clamd.c:201 #6 0x08049ec0 in main (argc=1, argv=0xbffff6f4) at options.c:109 (gdb) thread 1 [Switching to thread 1 (Thread 16384 (LWP 26867))]#0 0x40093b94 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0 (gdb) bt #0 0x40093b94 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0 #1 0x400939d8 in __pthread_wait_for_restart_signal () from /lib/i686/libpthread.so.0 #2 0x40093151 in pthread_create@@GLIBC_2.1 () from /lib/i686/libpthread.so.0 #3 0x0804c3ea in acceptloop (socketd=0, root=0x8b19e78, copt=0x8053828) at server.c:596 #4 0x0804b017 in tcpserver (opt=0x80530e8, copt=0x8053828, root=0x80662d8) at tcpserver.c:93 #5 0x0804ac29 in clamd (opt=0x80530e8) at clamd.c:201 #6 0x08049ec0 in main (argc=1, argv=0xbffff6f4) at options.c:109 (gdb) thread 2 [Switching to thread 2 (Thread 32769 (LWP 26868))]#0 0x401afb66 in poll () from /lib/i686/libc.so.6 (gdb) bt #0 0x401afb66 in poll () from /lib/i686/libc.so.6 #1 0x40090a8e in __pthread_manager () from /lib/i686/libpthread.so.0 #2 0x401b8327 in clone () from /lib/i686/libc.so.6 (gdb) thread 3 [Switching to thread 3 (Thread 16386 (LWP 26869))]#0 0x40187fa6 in nanosleep () from /lib/i686/libc.so.6 (gdb) bt #0 0x40187fa6 in nanosleep () from /lib/i686/libc.so.6 (gdb) I hope this helps in some way... Regards, Phil. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users