Dear all,

    I have searched the mail archive, both clamav-devel and clamav-users,
with no hope.

    I installed the new ClamAV 0.81 on my Linux box, and found the PID
file of clamav-milter is different now.  The PID is minus. ^^;  I cannot
figure out why, but a line in the ChangeLog saying:

      On Linux store the -ve process group in the pid file to
      ensure that all threads are sent signals

    and a line in clamav-milter.c saying:

      /* Ensure that all threads are kill()ed */

    What is "-ve process group" means?  And how does it revelent to
"ensuring all threads are sent signals"?  I'd searched the google whole
day with no answer.  All I know is that the  PID is minus now, and I
cannot simply "kill `cat [pidfile]`".  Why are you making PID negative?

    Is there another expected, official method to stop clamav-milter
than "kill `cat [pidfile]`"?  I can't get this answer on google either.

    Currently I hack to turn PID "from negative to positive".  Under
bash, I do "echo $((0-$(<[pidfile]))) > [pidfile]" after clamav-milter
is started.  I guess this is not the answer, though.

--
Best regards,
imacat ^_*' <[EMAIL PROTECTED]>
PGP Key: http://www.imacat.idv.tw/me/pgpkey.txt

<<Woman's Voice>> News: http://www.wov.idv.tw/
Tavern IMACAT's: http://www.imacat.idv.tw/
TLUG List Manager: http://www.linux.org.tw/mailman/listinfo/tlug

Attachment: pgp5EkogcdmsW.pgp
Description: PGP signature

_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to