On 2003-12-01, Tomasz Kojm wrote:

>> Looks like clamd refuses to die on `killall clamd' when UseProcesses
>> directive is turned on:
>
>Hmm... it shutdowns cleanly under my Linux (2.4.18, workstation) and
>under Solaris 8 (SPARC).

[EMAIL PROTECTED]:~# strace -s 512 -p 15124
Process 15124 attached - interrupt to quit
accept(0, 0, NULL)                      = ? ERESTARTSYS (To be restarted)
--- SIGTERM (Terminated) @ 0 (0) ---
time([1070326364])                      = 1070326364
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
stat("/var/log/clamav/clamd.log", {st_mode=S_IFREG|0644, st_size=2287932, ...}) = 0
write(3, "Tue Dec  2 01:52:44 2003 -> ERROR: accept() failed.\n", 52) = 52
accept(0, ^C<unfinished ...>
Process 15124 detached
[EMAIL PROTECTED]:~#

This is what I get. clamd doesn't react on any further SIG{TERM,INT}.
My system is a slightly patched linux 2.2.25.

I also noticed some zombie clamd processes (but never more than one)
lying around, showing up as 'defunct' in `ps' output. But PIDs of those
zombies are changing, so I assume they really die at some point.

s.

-- 
(0>  Jakub Jankowski  [url]: s.atn.pl  "Nawet w Krainie Czarow
//\   [EMAIL PROTECTED]   [rlu]: 174516     latwiej jest spotkac
V_/_  [EMAIL PROTECTED]   [ekg]: 921514     Babe Jage niz Alicje"
Fingerprint: FCBF F03D 9ADB B768 8B92 BB52 0341 9037 A875 942D


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to