Any ideas what causes memory usage to exceed the softlimit I have set...
This is a stock spamassassin 2.63 installed from the RPM downloads.
Not using Bayes, not using AWL, not using Razor, pyzor, or dcc.
Here is a debug log of one that happened at 11:20 today...
[root@spamd1 spamd]# grep 16443 /var/log/maillog
Mar 22 11:20:00 spamd1 spamd[16443]: Still running as root: user not
specified with -u, not found, or set to root. Fall back to nobody.
Mar 22 11:20:00 spamd1 spamd[16443]: processing message
<BAY1-F139GGmNN79xav0000343f@hotmail.com> for rpopp@media-net.net:99.
As you can see, it never completed the 3rd line of output in maillog...
Looking at the debug, you see why...
2004-03-22 11:20:00.720490500 logmsg: connection from p35n0.ruraltel.net
[24.225.0.35] at port 60146
2004-03-22 11:20:00.735873500 debug: retrieving prefs for
rpopp@media-net.net from SQL server
2004-03-22 11:20:00.736508500 logmsg: Still running as root: user not
specified with -u, not found, or set to root. Fall back to nobody.
2004-03-22 11:20:00.775573500 logmsg: processing message
<BAY1-F139GGmNN79xav0000343f@hotmail.com> for rpopp@media-net.net:99.
2004-03-22 11:20:00.781011500 debug: is Net::DNS::Resolver available?
yes
2004-03-22 11:20:00.798152500 debug: looking up PTR record for
'65.54.245.139'
2004-03-22 11:20:00.813954500 debug: PTR for '65.54.245.139':
'bay1-f139.bay1.hotmail.com'
2004-03-22 11:20:00.814153500 debug: received-header: parsed as [
ip=65.54.245.139 rdns=bay1-f139.bay1.hotmail.com helo=hotmail.com by=0
ident= ]
2004-03-22 11:20:00.818235500 debug: looking up PTR record for
'63.245.177.144'
2004-03-22 11:20:00.862131500 debug: PTR for '63.245.177.144':
'63-245-177-144.kitusa.com'
2004-03-22 11:20:00.862208500 debug: received-header: parsed as [
ip=63.245.177.144 rdns=63-245-177-144.kitusa.com helo=
by=by1fd.bay1.hotmail.msn.com ident= ]
2004-03-22 11:20:00.862557500 debug: received-header: 'by' 0 has
reserved IP 0.0.0.0
2004-03-22 11:20:00.862592500 debug: received-header: 'by' 0 has no
public IPs
2004-03-22 11:20:00.862620500 debug: received-header: relay
65.54.245.139 trusted? yes
2004-03-22 11:20:00.884012500 debug: received-header: 'by'
by1fd.bay1.hotmail.msn.com has public IP 65.54.244.250
2004-03-22 11:20:00.884072500 debug: received-header: relay
63.245.177.144 trusted? no
2004-03-22 11:20:03.847334500 Out of memory!
30 more have died in the last few minutes...
[root@spamd1 spamd]# grep "Out of me" spamdlog | tail -30
2004-03-22 11:23:51.492275500 Out of memory!
2004-03-22 11:24:52.796228500 Out of memory!
2004-03-22 11:24:16.447001500 Out of memory!
2004-03-22 11:24:32.954441500 Out of memory!
2004-03-22 11:27:19.036917500 Out of memory!
2004-03-22 11:26:52.732102500 Mar 22 11:26:52.731869 check[28992]: [ 6]
comOut of memory!
2004-03-22 11:27:10.636831500 Out of memory!
2004-03-22 11:27:37.992590500 Out of memory!
2004-03-22 11:27:51.613404500 Out of memory!
2004-03-22 11:28:42.213287500 Out of memory!
2004-03-22 11:28:17.089936500 Out of memory!
2004-03-22 11:28:28.380509500 Out of memory!
2004-03-22 11:28:36.223548500 Mar 22Out of memory!
2004-03-22 11:28:44.234585500 Out of memory!
2004-03-22 11:29:34.610361500 Out of memory!
2004-03-22 11:29:57.089946500 Out of memory!
2004-03-22 11:29:15.976731500 Out of memory!
2004-03-22 11:29:30.547763500 Mar 22 11Out of memory!
2004-03-22 11:29:23.540859500 Out of memory!
2004-03-22 11:30:32.746352500 Out of memory!
2004-03-22 11:29:43.760651500 Mar 22 11:29:43.760427 checOut of memory!
2004-03-22 11:30:10.260573500 Out of memory!
2004-03-22 11:30:26.840217500 Out of memory!
2004-03-22 11:30:27.996426500 Out of memory!
2004-03-22 11:30:36.304536500 Out of memory!
2004-03-22 11:30:53.279664500 Out of memory!
2004-03-22 11:31:21.348780500 Out of memory!
2004-03-22 11:31:31.815492500 Mar 22 11:31:31.815255 check[29620]: [ 6]
Out of memory!
2004-03-22 11:32:45.813325500 Out of memory!
2004-03-22 11:32:49.086297500 Out of memory!
[root@spamd1 spamd]#
Running spamd with just -L, I still get an ass load of them going out of
memory.. Here is a ps of one that went out of memory, so you can see
the memory footprint it was at, and how I call spamd..
nobody 17661 94.1 11.3 93600 86700 ? R 11:44 0:06
/usr/bin/perl -T -w /usr/bin/spamd -L -A 127.0.0.0/8,24.225.0.0/24 -i
0.0.0.0 -D -x -m 15
I just installed 3.0-cvs and don't see this problem occuring... Any
ideas whats up with 2.63?
D
This is a stock spamassassin 2.63 installed from the RPM downloads.
Not using Bayes, not using AWL, not using Razor, pyzor, or dcc.
Here is a debug log of one that happened at 11:20 today...
[root@spamd1 spamd]# grep 16443 /var/log/maillog
Mar 22 11:20:00 spamd1 spamd[16443]: Still running as root: user not
specified with -u, not found, or set to root. Fall back to nobody.
Mar 22 11:20:00 spamd1 spamd[16443]: processing message
<BAY1-F139GGmNN79xav0000343f@hotmail.com> for rpopp@media-net.net:99.
As you can see, it never completed the 3rd line of output in maillog...
Looking at the debug, you see why...
2004-03-22 11:20:00.720490500 logmsg: connection from p35n0.ruraltel.net
[24.225.0.35] at port 60146
2004-03-22 11:20:00.735873500 debug: retrieving prefs for
rpopp@media-net.net from SQL server
2004-03-22 11:20:00.736508500 logmsg: Still running as root: user not
specified with -u, not found, or set to root. Fall back to nobody.
2004-03-22 11:20:00.775573500 logmsg: processing message
<BAY1-F139GGmNN79xav0000343f@hotmail.com> for rpopp@media-net.net:99.
2004-03-22 11:20:00.781011500 debug: is Net::DNS::Resolver available?
yes
2004-03-22 11:20:00.798152500 debug: looking up PTR record for
'65.54.245.139'
2004-03-22 11:20:00.813954500 debug: PTR for '65.54.245.139':
'bay1-f139.bay1.hotmail.com'
2004-03-22 11:20:00.814153500 debug: received-header: parsed as [
ip=65.54.245.139 rdns=bay1-f139.bay1.hotmail.com helo=hotmail.com by=0
ident= ]
2004-03-22 11:20:00.818235500 debug: looking up PTR record for
'63.245.177.144'
2004-03-22 11:20:00.862131500 debug: PTR for '63.245.177.144':
'63-245-177-144.kitusa.com'
2004-03-22 11:20:00.862208500 debug: received-header: parsed as [
ip=63.245.177.144 rdns=63-245-177-144.kitusa.com helo=
by=by1fd.bay1.hotmail.msn.com ident= ]
2004-03-22 11:20:00.862557500 debug: received-header: 'by' 0 has
reserved IP 0.0.0.0
2004-03-22 11:20:00.862592500 debug: received-header: 'by' 0 has no
public IPs
2004-03-22 11:20:00.862620500 debug: received-header: relay
65.54.245.139 trusted? yes
2004-03-22 11:20:00.884012500 debug: received-header: 'by'
by1fd.bay1.hotmail.msn.com has public IP 65.54.244.250
2004-03-22 11:20:00.884072500 debug: received-header: relay
63.245.177.144 trusted? no
2004-03-22 11:20:03.847334500 Out of memory!
30 more have died in the last few minutes...
[root@spamd1 spamd]# grep "Out of me" spamdlog | tail -30
2004-03-22 11:23:51.492275500 Out of memory!
2004-03-22 11:24:52.796228500 Out of memory!
2004-03-22 11:24:16.447001500 Out of memory!
2004-03-22 11:24:32.954441500 Out of memory!
2004-03-22 11:27:19.036917500 Out of memory!
2004-03-22 11:26:52.732102500 Mar 22 11:26:52.731869 check[28992]: [ 6]
comOut of memory!
2004-03-22 11:27:10.636831500 Out of memory!
2004-03-22 11:27:37.992590500 Out of memory!
2004-03-22 11:27:51.613404500 Out of memory!
2004-03-22 11:28:42.213287500 Out of memory!
2004-03-22 11:28:17.089936500 Out of memory!
2004-03-22 11:28:28.380509500 Out of memory!
2004-03-22 11:28:36.223548500 Mar 22Out of memory!
2004-03-22 11:28:44.234585500 Out of memory!
2004-03-22 11:29:34.610361500 Out of memory!
2004-03-22 11:29:57.089946500 Out of memory!
2004-03-22 11:29:15.976731500 Out of memory!
2004-03-22 11:29:30.547763500 Mar 22 11Out of memory!
2004-03-22 11:29:23.540859500 Out of memory!
2004-03-22 11:30:32.746352500 Out of memory!
2004-03-22 11:29:43.760651500 Mar 22 11:29:43.760427 checOut of memory!
2004-03-22 11:30:10.260573500 Out of memory!
2004-03-22 11:30:26.840217500 Out of memory!
2004-03-22 11:30:27.996426500 Out of memory!
2004-03-22 11:30:36.304536500 Out of memory!
2004-03-22 11:30:53.279664500 Out of memory!
2004-03-22 11:31:21.348780500 Out of memory!
2004-03-22 11:31:31.815492500 Mar 22 11:31:31.815255 check[29620]: [ 6]
Out of memory!
2004-03-22 11:32:45.813325500 Out of memory!
2004-03-22 11:32:49.086297500 Out of memory!
[root@spamd1 spamd]#
Running spamd with just -L, I still get an ass load of them going out of
memory.. Here is a ps of one that went out of memory, so you can see
the memory footprint it was at, and how I call spamd..
nobody 17661 94.1 11.3 93600 86700 ? R 11:44 0:06
/usr/bin/perl -T -w /usr/bin/spamd -L -A 127.0.0.0/8,24.225.0.0/24 -i
0.0.0.0 -D -x -m 15
I just installed 3.0-cvs and don't see this problem occuring... Any
ideas whats up with 2.63?
D