You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Ronan <r....@qub.ac.uk> on 2005/10/27 10:55:41 UTC

spamd dying

Spamd times out/ dies and I get the following in the maillog...



root@dung:/var/log# egrep -v 
"connection|checking|identified|result|salearn|clean|imap|spawned|internal 
error" maillog > /home/ronan/spamd

root@dung:/var/log# cat /home/ronan/spamd
Oct 27 00:08:21 dung spamd[32367]: Use of uninitialized value in pattern 
match (m//) at 
/usr/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/Plugin/AntiVirus.pm 
line 104, <GEN3605> line 211.
Oct 27 01:11:48 dung spamd[1988]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 01:14:31 dung spamd[731]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 01:19:55 dung spamd[4742]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 01:22:21 dung spamd[5622]: spamd: bad protocol: header error: 
(Content-Length mismatch: Expected 18893 bytes, got 17520 bytes) at 
/usr/bin/spamd line 1671, <GEN3526> line 311.
Oct 27 01:22:33 dung spamd[1290]: spamd: bad protocol: header error: 
(Content-Length mismatch: Expected 19056 bytes, got 17520 bytes) at 
/usr/bin/spamd line 1671, <GEN3844> line 309.
Oct 27 01:28:58 dung spamd[5622]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 01:38:30 dung spamd[4309]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 01:38:43 dung spamd[1988]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 01:38:49 dung spamd[5622]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 01:44:11 dung spamd[1988]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 01:44:11 dung spamd[6376]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 01:44:11 dung spamd[2190]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 01:44:53 dung spamd[4309]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 01:44:53 dung spamd[6556]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 01:44:53 dung spamd[5622]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 01:45:35 dung spamd[4742]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 01:45:58 dung spamd[5494]: child processing timeout at 
/usr/bin/spamd line 1085, <GEN3617> line 1143.
Oct 27 01:45:58 dung spamd[5494]: child processing timeout at 
/usr/bin/spamd line 1085, <GEN3617> line 1143.
Oct 27 01:46:11 dung spamd[5494]: Argument "^AF,ݽ" isn't numeric in 
addition (+) at 
/usr/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/Bayes.pm line 1337, 
<GEN3617> line 1143.
Oct 27 01:49:17 dung spamd[2190]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 01:50:13 dung spamd[4309]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 01:53:39 dung spamd[6146]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 01:54:04 dung spamd[6556]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 01:54:59 dung spamd[2190]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 01:55:34 dung spamd[5622]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 01:56:02 dung spamd[6879]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 01:57:22 dung spamd[4309]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 01:57:31 dung spamd[5339]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 01:58:33 dung spamd[5622]: spamd: bad protocol: header error: 
(Content-Length mismatch: Expected 31182 bytes, got 20440 bytes) at 
/usr/bin/spamd line 1671, <GEN3641> line 356.
Oct 27 01:58:37 dung spamd[4309]: spamd: bad protocol: header error: 
(Content-Length mismatch: Expected 41980 bytes, got 20440 bytes) at 
/usr/bin/spamd line 1671, <GEN3726> line 472.
Oct 27 02:04:13 dung spamd[6556]: spamd: bad protocol: header error: 
(Content-Length mismatch: Expected 21736 bytes, got 20440 bytes) at 
/usr/bin/spamd line 1671, <GEN3601> line 285.
Oct 27 02:38:38 dung spamd[5339]: Use of uninitialized value in pattern 
match (m//) at 
/usr/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/Plugin/AntiVirus.pm 
line 104, <GEN3822> line 1074.
Oct 27 03:03:04 dung spamd[6146]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 03:03:39 dung spamd[6556]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 03:24:26 dung spamd[10291]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 03:24:52 dung spamd[8842]: bayes: child processing timeout at 
/usr/bin/spamd line 1085.
Oct 27 03:35:49 dung spamd[11188]: spamd: bad protocol: header error: 
(Content-Length mismatch: Expected 23845 bytes, got 20440 bytes) at 
/usr/bin/spamd line 1671, <GEN3546> line 282.
Oct 27 03:37:26 dung spamd[10291]: spamd: bad protocol: header error: 
(Content-Length mismatch: Expected 58197 bytes, got 20440 bytes) at 
/usr/bin/spamd line 1671, <GEN3639> line 400.
Oct 27 03:42:24 dung spamd[8957]: spamd: bad protocol: header error: 
(Content-Length mismatch: Expected 32270 bytes, got 20440 bytes) at 
/usr/bin/spamd line 1671, <GEN3754> line 274.
Oct 27 03:42:27 dung spamd[9748]: spamd: bad protocol: header error: 
(Content-Length mismatch: Expected 26716 bytes, got 17520 bytes) at 
/usr/bin/spamd line 1671, <GEN3700> line 407.
Oct 27 04:23:13 dung spamd[9942]: Hour '24' out of range 0..23 at 
/usr/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/Util.pm line 429
Oct 27 08:38:20 dung spamd[6138]: spamd: server killed by SIGTERM, 
shutting down
Oct 27 08:38:21 dung spamd[28227]: logger: removing stderr method
Oct 27 08:38:21 dung spamd[28229]: Can't locate DB_File.pm in @INC (@INC 
contains: ../lib /usr/lib/perl5/site_perl/5.8.6/x86_64-linux 
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/5.8.6/x86_64-linux 
/usr/lib/perl5/5.8.6 /usr/lib/perl5/site_perl/5.8.5 
/usr/lib/perl5/site_perl) at 
/usr/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/Plugin/Hashcash.pm line 98.
Oct 27 08:38:28 dung spamd[28229]: spamd: server started on port 783/tcp 
(running version 3.1.0)
Oct 27 08:38:28 dung spamd[28229]: spamd: server pid: 28229


The following is an exilog trace of one of the spam messages i got...
I run spamd with the following

/usr/bin/spamd \
-d \
-x \
-q \
-r /var/log/spamd.pid \
--round-robin \
-m 10 \
-i [IP] \
-A [3 IPs]

I also run a Mysql AWL and BAYES DBs
I call spamc from exim... and use the username nobody for all requests...

mailhub1 	· 	1EUvvr-0003RB-3o 	· 	Track MSGID

	
	6384

	
	1s

[SMTP] 	
art_sizemore60@kcl.ac.uk

2005-10-27 00:51:58 		70.101.41.132 	 
70-101-41-132.dsl2-plymouth.roc.ny.frontiernet.net 		cg.yu

	
2005-10-27 00:49:58 
H=70-101-41-132.dsl2-plymouth.roc.ny.frontiernet.net (cg.yu) 
[70.101.41.132] Warning:
ACL "warn" statement skipped: condition test deferred:

	
2005-10-27 00:49:58 	spam acl condition: error reading from spamd 
socket: Connection timed out

	
2005-10-27 00:51:58 	spam acl condition: error reading from spamd 
socket: Connection timed out

	
r.magee@qub.ac.uk 	-> rmagee@server.qub.ac.uk

2005-10-27 00:51:58 		qubcentrallookup->smtp_central 	 
143.117.xxx.yyy 		server.qub.ac.uk

	
r.mcglue@qub.ac.uk 	-> rmcglue@server.qub.ac.uk

2005-10-27 00:51:58 		qubcentrallookup->smtp_central 	 
143.117.xxx.yyy 		server.qub.ac.uk

	
r.mcgrath@qub.ac.uk 	-> rmcgrath@server.qub.ac.uk

2005-10-27 00:51:58 		qubcentrallookup->smtp_central 	 
143.117.xxx.yyy 		server.qub.ac.uk

	
r.perrott@qub.ac.uk 	-> rperrott@lackey.cs.qub.ac.uk

2005-10-27 00:51:59 		qubdnslookup->smtp_QUB 		143.117.5.165 	 
lackey.cs.qub.ac.uk







Is this enough to go on....? is anyone else experienceing similar timeouts?
any pointers??

Thanks

Ronan