Re: [AMaViS-user] amavis process eats memory, bogs down

This is a discussion on Re: [AMaViS-user] amavis process eats memory, bogs down within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Henry, > i'm having trouble with amavis processes occasionally consuming > a lot of memory and CPU, and i ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-05-2005
Mark Martinec
 
Posts: n/a
Default Re: [AMaViS-user] amavis process eats memory, bogs down

Henry,

> i'm having trouble with amavis processes occasionally consuming
> a lot of memory and CPU, and i have yet to pinpoint a cause.


> wouldn't the process limitations ($child_timeout) kill these
> processes eventually?


Not necessarily, especially if the consumer is within SA.
There is only one general purpose timer in Unix, used by both
the amavisd-new and also by SA, which uses it for its own purposes.
Even worse, if a CPU loop happens within evaluation of a single
Perl expression (e.g. while evaluating a complex (or clumsily written)
regular expressions), the timer signal can not abort the evaluation.

> SA check: 27525568 (99%),
> 27,000 seconds? that's a long time.


The amavisd-nanny utility is able to abort such runaway process,
but you need a newer version of amavisd-new for that.

> i'm running amavisd-new-20030616-p9 (debian testing) which may be
> my problem. i wish the package maintainers would update the package.
> i guess i'll upgrade when the system load goes down.
> anyway. wondering if anyone has any ideas. platform is Cyrix Centaur
> 1 Ghz, 512 mb ram. system typically processes 10k messages a day, with
> a load average of around 1.
> spamassassin 3.0.1-1
> perl 5.8.4-4
> clamav 0.83-2


If the problem is repeatable by sending the same message, then
you may be able to narrow down the problem section with enabled
SA debugging ($sa_debug=1; or: amavisd debug-sa).

Mark


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:09 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0