spamass-milter goes to 100% CPU on freebsd 6.3
Hi, I have installed spamassassin on my freebsd 6.3 and everything works great but after some time (it could be couple of days, or hours) the CPU utilization on spamass-milter goes to almost 100%. I have discovered that the following messages cause the 100% utilization: Feb 29 04:22:32 sara sm-mta[27844]: m1T9MQ2W027844: from=<[EMAIL PROTECTED]>, size=1721, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=SMTP, daemon=IPv4, relay=[58.137.142.102] Feb 29 04:22:32 sara sm-mta[27845]: m1T9MQgb027845: from=<[EMAIL PROTECTED]>, size=1737, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=SMTP, daemon=IPv4, relay=[58.137.142.102] Feb 29 04:22:32 sara spamd[27027]: spamd: connection from localhost [127.0.0.1] at port 61494 Feb 29 04:22:32 sara spamd[27027]: spamd: processing message <[EMAIL PROTECTED]> for root:58 Notice that sendmail receives two messages from the same relay by the same person with almost the same msgid, one is a057... and the other one is a056... You see from the log that the second one is processed by spamd, but the first one causes the high cpu utilization in spam-milter. Since it is spam-milter and not sendmail that is having problem I am thinking that there is something in that message that is not liked by SpamAssassin. How can I get more information logged about the message so I can find the root-cause? Has anyone else come across this problem? I have also posted this problem on bsdforums, because I wasn't sure if it is a problem with freebsd: http://www.bsdforums.org/forums/showthread.php?p=289253#post289253 Many thanks Aflatoon - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
Re: spamass-milter goes to 100% CPU on freebsd 6.3
On 29/02/2008 12:51 PM, Aflatoon Aflatooni wrote: > Hi, > I have installed spamassassin on my freebsd 6.3 and everything works > great but after some time (it could be couple of days, or hours) the CPU > utilization on spamass-milter goes to almost 100%. > I have discovered that the following messages cause the 100% utilization: > Since it is > spam-milter and not sendmail that is having problem I am thinking that > there is something in that message that is not liked by SpamAssassin. Since it's spamass-milter that is going to 100% and not spamd I would look for a problem with spamass-milter. That said, you've described the reliability I've come to expect from spamass-milter. I would (and do) personally use something else. Daryl
Re: spamass-milter goes to 100% CPU on freebsd 6.3
Here is anothe occurance of this problem: Mar 2 14:40:22 sara sm-mta[85764]: m22JeJxE085764: from=<[EMAIL PROTECTED]>, size=1678, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=SMTP, daemon=IPv4, relay=host86-143-30-57.range86-143.btcentralplus.com [86.143.30.57] Mar 2 14:40:22 sara sm-mta[85765]: m22JeJEu085765: from=<[EMAIL PROTECTED]>, size=1629, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=SMTP, daemon=IPv4, relay=host86-143-30-57.range86-143.btcentralplus.com [86.143.30.57] Mar 2 14:40:22 sara sm-mta[85766]: m22JeJ8l085766: from=<[EMAIL PROTECTED]>, size=1553, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=SMTP, daemon=IPv4, relay=host86-143-30-57.range86-143.btcentralplus.com [86.143.30.57] Mar 2 14:40:22 sara sm-mta[85767]: m22JeJh2085767: from=<[EMAIL PROTECTED]>, size=1574, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=SMTP, daemon=IPv4, relay=host86-143-30-57.range86-143.btcentralplus.com [86.143.30.57] Mar 2 14:40:22 sara spamd[64309]: spamd: connection from localhost [127.0.0.1] at port 53850 Mar 2 14:40:22 sara spamd[64309]: spamd: processing message <[EMAIL PROTECTED]> for root:58 Mar 2 14:40:27 sara spamd[64309]: spamd: identified spam (22.1/5.0) for root:58 in 4.9 seconds, 1944 bytes. I am using spamassassin version 3.2.3 on FreeBSD 6.3. It looks like if similar messages are checked through spam-milter it causes a problem and the spam-milter goes to 99% cpu utilization. Is this a bug? has anyone else encountered this? Thanks Aflatoon Aflatooni wrote: Hi, I have installed spamassassin on my freebsd 6.3 and everything works great but after some time (it could be couple of days, or hours) the CPU utilization on spamass-milter goes to almost 100%. I have discovered that the following messages cause the 100% utilization: Feb 29 04:22:32 sara sm-mta[27844]: m1T9MQ2W027844: from=<[EMAIL PROTECTED]>, size=1721, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=SMTP, daemon=IPv4, relay=[58.137.142.102] Feb 29 04:22:32 sara sm-mta[27845]: m1T9MQgb027845: from=<[EMAIL PROTECTED]>, size=1737, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=SMTP, daemon=IPv4, relay=[58.137.142.102] Feb 29 04:22:32 sara spamd[27027]: spamd: connection from localhost [127.0.0.1] at port 61494 Feb 29 04:22:32 sara spamd[27027]: spamd: processing message <[EMAIL PROTECTED]> for root:58 Notice that sendmail receives two messages from the same relay by the same person with almost the same msgid, one is a057... and the other one is a056... You see from the log that the second one is processed by spamd, but the first one causes the high cpu utilization in spam-milter. Since it is spam-milter and not sendmail that is having problem I am thinking that there is something in that message that is not liked by SpamAssassin. How can I get more information logged about the message so I can find the root-cause? Has anyone else come across this problem? I have also posted this problem on bsdforums, because I wasn't sure if it is a problem with freebsd: http://www.bsdforums.org/forums/showthread.php?p=289253#post289253 Many thanks Aflatoon - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. - Looking for last minute shopping deals? Find them fast with Yahoo! Search.
Re: spamass-milter goes to 100% CPU on freebsd 6.3
For sake of completeness I would like to send out the solution to this, in case anyone else is also having the same porblem. It seems like there is a problem with forking on FreeBSD 6.3: http://www.freebsd.org/cgi/query-pr.cgi?pr=119920 The solution to fix this problem is to edit the file /etc/libmap.conf (create it if it doesn't exist) and add the following line to it: libpthread.so.2 libthr.so.2 This will globally map libpthread to libthr. You have to restart all the processes that link against libpthread.so.2 in order for the libmap.conf change to take effect. Thanks to Lawrence Stewart for the above solution. Aflatoon Aflatoon Aflatooni <[EMAIL PROTECTED]> wrote: Here is anothe occurance of this problem: Mar 2 14:40:22 sara sm-mta[85764]: m22JeJxE085764: from=<[EMAIL PROTECTED]>, size=1678, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=SMTP, daemon=IPv4, relay=host86-143-30-57.range86-143.btcentralplus.com [86.143.30.57] Mar 2 14:40:22 sara sm-mta[85765]: m22JeJEu085765: from=<[EMAIL PROTECTED]>, size=1629, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=SMTP, daemon=IPv4, relay=host86-143-30-57.range86-143.btcentralplus.com [86.143.30.57] Mar 2 14:40:22 sara sm-mta[85766]: m22JeJ8l085766: from=<[EMAIL PROTECTED]>, size=1553, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=SMTP, daemon=IPv4, relay=host86-143-30-57.range86-143.btcentralplus.com [86.143.30.57] Mar 2 14:40:22 sara sm-mta[85767]: m22JeJh2085767: from=<[EMAIL PROTECTED]>, size=1574, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=SMTP, daemon=IPv4, relay=host86-143-30-57.range86-143.btcentralplus.com [86.143.30.57] Mar 2 14:40:22 sara spamd[64309]: spamd: connection from localhost [127.0.0.1] at port 53850 Mar 2 14:40:22 sara spamd[64309]: spamd: processing message <[EMAIL PROTECTED]> for root:58 Mar 2 14:40:27 sara spamd[64309]: spamd: identified spam (22.1/5.0) for root:58 in 4.9 seconds, 1944 bytes. I am using spamassassin version 3.2.3 on FreeBSD 6.3. It looks like if similar messages are checked through spam-milter it causes a problem and the spam-milter goes to 99% cpu utilization. Is this a bug? has anyone else encountered this? Thanks Aflatoon Aflatooni wrote: Hi, I have installed spamassassin on my freebsd 6.3 and everything works great but after some time (it could be couple of days, or hours) the CPU utilization on spamass-milter goes to almost 100%. I have discovered that the following messages cause the 100% utilization: Feb 29 04:22:32 sara sm-mta[27844]: m1T9MQ2W027844: from=<[EMAIL PROTECTED]>, size=1721, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=SMTP, daemon=IPv4, relay=[58.137.142.102] Feb 29 04:22:32 sara sm-mta[27845]: m1T9MQgb027845: from=<[EMAIL PROTECTED]>, size=1737, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=SMTP, daemon=IPv4, relay=[58.137.142.102] Feb 29 04:22:32 sara spamd[27027]: spamd: connection from localhost [127.0.0.1] at port 61494 Feb 29 04:22:32 sara spamd[27027]: spamd: processing message <[EMAIL PROTECTED]> for root:58 Notice that sendmail receives two messages from the same relay by the same person with almost the same msgid, one is a057... and the other one is a056... You see from the log that the second one is processed by spamd, but the first one causes the high cpu utilization in spam-milter. Since it is spam-milter and not sendmail that is having problem I am thinking that there is something in that message that is not liked by SpamAssassin. How can I get more information logged about the message so I can find the root-cause? Has anyone else come across this problem? I have also posted this problem on bsdforums, because I wasn't sure if it is a problem with freebsd: http://www.bsdforums.org/forums/showthread.php?p=289253#post289253 Many thanks Aflatoon - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. - Looking for last minute shopping deals? Find them fast with Yahoo! Search. - You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.