Justin!
[EMAIL PROTECTED] (Justin Mason) wrote on 16.03.05 21:46:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>
>I would suggest running with -D and monitoring spamd memory size
>as it starts up. Something is causing it to balloon to massive
>sizes after startup.
nothing special during startup; it takes some time until the 99% CPU und Memory problem begin
>Presumably you are limiting the size of the messages sent in for scanning,
>as recommended in the documentation? Scanning messages over 500KB in size
>will result in a corresponding increase in resident size for the scanner
>process, so a very large message could cause a massive scanner process.
>(spamc will do this limit by default.)
yes I do; SA is used with exim/exiscan with the following rules:
# Always add X-Spam-Score and X-Spam-Report headers, using SA system-wide settings
# (user "exim")
warn message = X-Spam-Score: $spam_score ($spam_bar)
spam = exim:true
condition = ${if <{$message_size}{250k}{1}{0}}
warn message = X-Spam-Report: $spam_report
spam = exim:true
condition = ${if >{$spam_score_int}{40}{1}{0}}
# Add X-Spam-Flag if spam is over system-wide threshold
warn message = X-Spam-Flag: YES
spam = exim
condition = ${if <{$message_size}{250k}{1}{0}}
# Reject spam messages with score over 5, using an extra condition.
deny message = SPAM This message scored $spam_score SPAM points.
spam = exim:true
condition = ${if >{$spam_score_int}{50}{1}{0}}
>
>Also you're the first person on linux to note the "select timeout
>failed" bug. could you attach output from strace and "spamd -D"
>to a new bugzilla bug on this?
i opened bug # 4198
hopefully this helps!
Wolfgang
>
>- --j.
>
>[EMAIL PROTECTED] writes:
>> Greg,
>> i have
>>
>> use_auto_whitelist 0
>>
>> in the local.cf
>>
>> But thanks anyway
>> Wolfgang
>>
>> "Greg Allen" <[EMAIL PROTECTED]> schrieb am 16.03.2005 13:54:24:
>>
>> > Some users have had problems with corrupt AWL database after upgrade of
>> > Spamassassin. Try disabling AWL to see if that is your issue.
>>
>> >
>> > -----Original Message-----
>> > From: [EMAIL PROTECTED]
>> > [mailto:[EMAIL PROTECTED]]
>> > Sent: Wednesday, March 16, 2005 5:44 AM
>> > To: [EMAIL PROTECTED]
>> > Cc: [EMAIL PROTECTED]
>> > Subject: SA 3.0.2 MASSIVE memory cpu problems
>>
>> >
>> > Dear collegues,
>>
>> > I'm having still extrem problems with memory and cpu consumation of SA
>> > 3.0.2 spamd;
>>
>> > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ Command
>> > 19098 exim 30 5 399m 398m 34m R 99.7 65.8 1:37.47 spamd
>> > 19121 exim 20 5 111m 111m 34m S 0.7 4.4 0:20.78 spamd
>> > 24591 exim 22 5 75844 74m 35m S 0.0 2.9 0:02.90 spamd
>> > 25802 exim 21 5 75040 73m 35m S 0.0 2.9 0:01.46 spamd
>> > 20548 exim 20 5 69836 68m 67m S 0.0 2.7 0:03.03 spamd
>> > 26479 exim 20 5 69836 68m 67m S 0.0 2.7 0:00.00 spamd
>>
>> > I already limited the # of children to 5 and the # of connections to 20
>> > my own comment on this problem some month (restart spamd daily) does not
>> > work anymore;
>>
>> > I've seen, there is a patch in Bugzilla addressing this problem, which
>> > hasn't made his
>> > way into 3.0.2; I tried to apply it against 3.0.2 with the following
>> > result:
>>
>> > Mar 16 05:47:03 saxophon spamd[5201]: prefork: select timeout failed!
>> > recovering
>> > (repeated 20x and more)
>>
>> > the only solution for the moment is to restart spamd on an hourly basis
>> ?!
>>
>> > WHAT CAN I DO?
>>
>> > Wolfgang
>> > P.S.: some environment
>>
>> > perl -v
>> > This is perl, v5.8.0 built for i586-linux-thread-multi
>>
>> > saxophon:~ # spamassassin -V
>> > SpamAssassin version 3.0.2
>> > running on Perl version
>> > saxophon:~ # uname -a
>> > Linux saxophon 2.4.20-64GB-SMP #1 SMP Fri Jan 14 15:08:48 UTC 2005 i686
>> > unknown unknown GNU/Linux
>>
>> > ----------------------------------------------------------------------
>> > Wolfgang Fuertbauer (E-Mail: [EMAIL PROTECTED])
>> > EBEWE Pharma
>> > Mondseestrasse 11
>> > 4866 Unterach, Austria
>> > Tel: ++43 7665 8123 315
>> > Fax: ++43 7665 8123 11
>> > http://www.ebewe.com
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.2.5 (GNU/Linux)
>Comment: Exmh CVS
>
>iD8DBQFCOIF2MJF5cimLx9ARApqoAJ46iCjfM13XD0MF08ViuuduVW6ASACfRat9
>XaB8642NZWeXoclyDuLXR0g=
>=v3ys
>-----END PGP SIGNATURE-----
>
----------------------------------------------------------------------
Wolfgang Fuertbauer (E-Mail: [EMAIL PROTECTED])
EBEWE Pharma
Mondseestrasse 11
4866 Unterach, Austria
Tel: ++43 7665 8123 315
Fax: ++43 7665 8123 11
http://www.ebewe.com