On Fri, Nov 03, 2006 at 01:11:46PM -0700, Danita Zanre wrote:
> Okay - I need some help here. I have a server that is giving me some
> real prolems. My postfix queue starts to creep (into the thousands
> of messages), and if I restart amavisd and flush the queue then it
> will catch up fairly quickly and work for awhile and start filling up
> again. I have had my $max_servers anywhere from 4 to 20 with this
> behavior. Is there perhaps something I should change with
> max_requests to help this out? It seems to me like some of the
> amavisd threads just "go to sleep" and thus shutting them
> down/restarting is all that helps. So maybe I should actually be
> "decreasing" the max_requests to make them restart more often?
>
> Any suggestions welcome!
First, I assume that when you change the number of max_servers you're
syncronizing it with Postfix's settings for the number of pipes into
amavisd.
Second, this sounds like something in SpamAssassin is hanging and
causing the amavisd processes to lock up. It's hard to tell what this
is without more information.
Turn up the logging in amavisd and look at your logs from amavisd
when this is happening to see if you can find some messages which
relate to this. Then post the relevant log excerpt here, along with
the versions of amavisd and SpamAssassin you're running. (It's hard to
tell much without the versions.)
Without more info from logs and versions, no guess will be more
accurate than a TV psychic. That said, one thing which can cause
processes to completely hang is if a Berkeley DB database used by
either SpamAssassin or amavisd is corrupted; however, it probably
wouldn't start working temporarily again if this were the problem.
-- Clifton
--
Clifton Royston -- [EMAIL PROTECTED] / [EMAIL PROTECTED]
President - I and I Computing * http://www.iandicomputing.com/
Custom programming, network design, systems and network consulting services
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/