On 03/11/2010 07:00 PM, Kris Van Hees <[email protected]> wrote:

> Message: 1
> Date: Wed, 10 Mar 2010 16:51:19 -0500
> From: Kris Van Hees<[email protected]>
> Subject: [spamdyke-users] Spamdyke 4.0.10 - frequent hanging processes
> To: spamdyke users<[email protected]>
> Message-ID:<[email protected]>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> I am currently running spamdyke 4.0.10, and I am experiencing very frequent
> cases of hanging spamdyke processes, eating up connections and often causing
> tcpserver to start refusing connections.  I am still trying to figure our 
> where
> it might be happening and why.  So far, it mostly seems to be after there was
> either a DNS timeout or a command timeout.  It is turning into a major
> disruption for email service, and I have had to disable spamdyke in order for
> email service to be functional (albeit with a decent increase in spam 
> messages).
>
> My config is as follows: [...]
>

I've got that too, but I decided to workaround and kill spamdyke 
processes when they age beyond 10 hours.
Thus, in my crontab:

53 * * * * /bin/ps -C spamdyke -o pid,etime --sort etime | /usr/bin/perl 
-ne 'system "kill $1\n" if (/\D*(\d+).*[12]\d:\d\d:\d\d/ or 
/\D*(\d+).*\d-\d\d:/)'

(Beware of linebreaks). It does the trick, but I'm not particularly 
happy about it :-/

- Ole.
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to