[Mimedefang] clamd statility issues?

Kelsey Cummings kgc at corp.sonic.net
Wed Mar 7 19:23:08 EST 2007

On Wed, Mar 07, 2007 at 06:33:07PM -0300, Fernando Gleiser wrote:
> orry for the slightly OT
> I'm having some serious stability issues runing MD + clamd + SA on
> FreeBSD boxes.
> Every couple of days, clamd dies for no aparent reason and MD starts 
> tempfailing the messages with "problem running virus-scanner"

Change the config to run clamd in the foreground start it inside a shell
service loop akin to:

while [ 1 ]
   sleep 5

We've run clamd like this ever since we've started using it ages ago.  In
addition, we also have a perl watchdog that connects to it and pings it, if
it fails to respond to N heath checks, it kills it, so the service loop can
restart it.

Kelsey Cummings - kgc at corp.sonic.net      sonic.net, inc.
System Architect                          2260 Apollo Way
707.522.1000                              Santa Rosa, CA 95407

More information about the MIMEDefang mailing list