Hi! :-D
We use clamd and clamav-milter 0.80 on a Dell PowerEdge 1650 with 2G of RAM.
We recieve about 200,000-250,000 emails a day and after a period of 30 mins to
4 hours, clamav-milter just quits.
I thought that it could be a process limit issue, because our sendmail
processes peak out at around 900 at the time this is going on. However, all I
have to do is stop and restart clamd and clamav-milter and things are fine
again. We are running WhiteBox EL Linux 3....and sendmail-8.12.11-4.RHEL3.1
Does anyone have a clue to this issue?
Thanks,
Doug
Here are the sections of the clamd.conf file that are not defaults
FixStaleSocket
TCPSocket 3310
TCPAddr 127.0.0.1
MaxConnectionQueueLength 60
StreamMaxLength 15M
MaxThreads 300
ReadTimeout 300
IdleTimeout 60
These are the /etc/sysconfig/clamav-milter settings
CLAMAV_FLAGS=" --max-children=290 \
--quiet \
--advisory \
--dont-log-clean \
--server=localhost \
--pidfile=/var/run/clamav/clamav-milter.pid \
local:/var/run/clamav/clamav-milter.sock \
We start seeing maillog messages like this
Dec 16 16:37:24 Joe sendmail[1036]: iBGJaf54001036: Milter (clmilter): write(A)
returned -1, expected 5: Broken pipe
Dec 16 16:37:24 Joe sendmail[1036]: iBGJaf54001036: Milter (clmilter): to error
state
Dec 16 16:37:30 Joe sendmail[3717]: iBGLWJ56003717: Milter (clmilter): write(Q)
returned -1, expected 5: Broken pipe
Dec 16 16:37:30 Joe sendmail[3717]: iBGLWJ56003717: Milter (clmilter): to error
state
Dec 16 16:37:34 Joe sendmail[1149]: iBGJakIP001149: Milter (clmilter): write(A)
returned -1, expected 5: Broken pipe
Dec 16 16:37:34 Joe sendmail[1149]: iBGJakIP001149: Milter (clmilter): to error
state
Dec 16 16:37:39 Joe sendmail[16900]: iBGKaE2d016900: Milter (clmilter):
write(Q) returned -1, expected 5: Broken pipe
Dec 16 16:37:39 Joe sendmail[16900]: iBGKaE2d016900: Milter (clmilter): to
error state
Dec 16 16:37:43 Joe sendmail[1278]: iBGJasWX001278: Milter (clmilter): write(A)
returned -1, expected 5: Broken pipe
Dec 16 16:37:43 Joe sendmail[1278]: iBGJasWX001278: Milter (clmilter): to error
state
Dec 16 16:37:44 Joe sendmail[5737]: iBGLXgSS005737: Milter (clmilter): write(Q)
returned -1, expected 5: Broken pipe
Dec 16 16:37:44 Joe sendmail[5737]: iBGLXgSS005737: Milter (clmilter): to error
state
Dec 16 16:37:58 Joe sendmail[3341]: iBGLVxQX003341: Milter (clmilter): write(Q)
returned -1, expected 5: Broken pipe
Dec 16 16:37:58 Joe sendmail[3341]: iBGLVxQX003341: Milter (clmilter): to error
state
Dec 16 16:38:12 Joe sendmail[19627]: iBGKc1XT019627: Milter (clmilter):
write(Q) returned -1, expected 5: Broken pipe
Dec 16 16:38:12 Joe sendmail[19627]: iBGKc1XT019627: Milter (clmilter): to
error state
Dec 16 16:38:22 Joe sendmail[2000]: iBGJbZhg002000: Milter (clmilter): write(A)
returned -1, expected 5: Broken pipe
Dec 16 16:38:22 Joe sendmail[2000]: iBGJbZhg002000: Milter (clmilter): to error
state
Dec 16 16:38:43 Joe sendmail[1778]: iBGJbNeF001778: Milter (clmilter): write(A)
returned -1, expected 5: Broken pipe
Dec 16 16:38:43 Joe sendmail[1778]: iBGJbNeF001778: Milter (clmilter): to error
state
Dec 16 16:38:49 Joe sendmail[30730]: iBGLS5os030730: Milter (clmilter):
write(Q) returned -1, expected 5: Broken pipe
Dec 16 16:38:49 Joe sendmail[30730]: iBGLS5os030730: Milter (clmilter): to
error state
Dec 16 16:38:50 Joe sendmail[4394]: iBGLWqGp004394: Milter (clmilter): write(L)
returned -1, expected 5: Broken pipe
Dec 16 16:38:50 Joe sendmail[4394]: iBGLWqGp004394: Milter (clmilter): to error
state
*** DISCLAIMER ***
This e-mail and any attachments thereto may contain information, which is
confidential and/or protected by intellectual property rights and are intended
for the sole use of the recipient(s) named above. Any use of the information
contained herein (including, but not limited to, total or partial reproduction,
communication or distribution in any form) by persons other than the designated
recipient(s) is prohibited. If you have received this e-mail in error, please
notify the sender either by telephone or by e-mail and delete the material from
any computer. Thank you for your cooperation.
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users