On Friday, October 19, 2012 at 20:21:13 UTC, t...@ipinc.net confabulated: > Hi All,
> Last month I put in a new mailserver, here are the specs: > FreeBSD 8.3 amd64bit > 8GB ram > 2TB mirrored disk space > dual Xeon E5310s > Intel motherboard > top output: > last pid: 82946; load averages: 0.71, 0.74, 0.65 up 5+06:39:07 > 13:12:33 > 94 processes: 1 running, 93 sleeping > CPU: 0.3% user, 0.0% nice, 0.5% system, 0.0% interrupt, 99.2% idle > Mem: 395M Active, 6058M Inact, 1061M Wired, 376M Cache, 827M Buf, 25M Free > Swap: 4096M Total, 548K Used, 4095M Free > The problem is that for seemingly no reason every once in a while > spamd will exit. It seems to be graceful exit since it deletes it's > pid file - whereas if I do a kill -9 it will not delete the pid file. > I ended up writing a script that checks once an hour for the existence > of spamd in the process table and if it's not there it restarts it. > Over the last month it did it on > 10/3 > 10/4 > 10/5 > 10/8 > 10/11 > 10/15 > 10/17 > 10/18 twice > there is no defined time it does it. Sometimes in the afternoon, > sometimes in the morning. This is under Perl 5.14.2. The core ram > consumed by the process does not appear to be increasing over time > that it is running. > Any suggestions? Have you examined the logs surrounding these times when spamd stops running? Perhaps it happens when sa-update is ran (if you have it automated) and spamd is not getting started back up again. -- If at first you don't succeed... ...so much for skydiving.