On Sat, 2009-06-06 at 19:34 -0300, Claudia Burman wrote: > This is the problem: > When I send a mail everything works, ps ax shows spamd and two childs. > Sending a big load of mails, I begin to see spamd <defunct> processes. ^^^^^^^^ Please elaborate on that.
> After a while (and after some messages are correctly delivered), I see > this in the log > > Jun 6 13:36:58 mail spamd[13000]: prefork: cannot ping 14503, file handle > not defined, child likely to still be processing SIGCHLD handler after > killing itself > Jun 6 13:36:58 mail spamd[13000]: prefork: killed child 14503 > > (one for each process) How many spamd child processes are that at this point? What do the log lines like "prefork: child states" read? Any chance the load of the system at that time is extremely high? Do you hit swap? > and after that > connect to spamd on 127.0.0.1 failed, retrying (#3 of 3): Connection refused > > the message is delivered but is not passed through spamassassin. Yes, that's cause there are no reachable spamds, and spamc is being run with the default "safe fallback". So it continues with the unprocessed message in case of problems. -- char *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1: (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}