Hi, as the subject says:

I'm running a spamd-process on a dedicated server, with the clients running on 
another machine. The load seems to be a little less than 1 mail/second, but 
since the server is a 2 x Intel(R) Xeon(TM) CPU 2.40GHz, things seem to run 
okay, most of the time.

But once in a while, I'm hit by large timeouts. Today I found this process:

UID        PID  PPID  C STIME TTY          TIME CMD
spamd     7873 27156 99 Oct11 ?        2-03:52:13 /usr/bin/perl5.8.0 -T -w 
/usr/bin/spamd -L -m 20

Yes, thats more than two days of cpu-time. Notice the "-L" option; the process 
isn't even using DNS, and so should not be hit by large timeouts. What on 
Earth could it be waiting for?

Sometimes the processes only run for an hour or two, and then appearently 
obtain whatever it is they are waitning for. Sometimes a lot of them 
coincide, driving the load so high I have to reboot. NB: This behaviour 
*seems* to be cured by the "-L" option, and maybe the "-m 20" option, but 
still, the above process scares me a bit. And it'd like use DNS.

I know I can set timeouts for MX lookups and the like, but really I'd like 
some kind of "master timeout" option, so that no spamd-forked process could 
ever run for more than (say) 60 seconds. The spamc -client will allready have 
timed out by then, anyway. Maybe I could insert "ulimit -t 60" somewhere 
before the spamd master process forks of a "worker". Any thoughs on this?

I did find one interesting timeout culprit once: The domain "mymail2u.com" is 
DNS'ed by these:
mymail2u.com.           172800  IN      NS      ns0.directnic.com.
mymail2u.com.           172800  IN      NS      ns1.directnic.com.

But they don't answer DNS-queries, (at least not mine). I can ping them, 
though. Is this some kind of spammer trick, btw? Having your spam-domain 
DNS-hosted by a defunct server will cause problems for a few SA users, it 
seems.

So any From line, that contains that domain will require timouts. I had to set 
check_mx_attempts 1, check_mx_delay 3 to get rid of that one. 

Greetings, Ole

("Bloody wikings!")


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to