List Info

Thread: Mail sits in active queue,




Mail sits in active queue,
user name
2006-08-23 15:12:23

Everything is innodb, I have not seen any error messages in amavis like that, I am installing mysqlard right now.

 

 

 


From: maia-users-bouncesrenaissoft.com [mailto:maia-users-bouncesrenaissoft.com] On Behalf Of Blake Hudson
Sent: Wednesday, August 23, 2006 9:29 AM
To: maia-usersrenaissoft.com
Subject: Re: [Maia-users] Mail sits in active queue,

 

Dan OConnor wrote:

Hi All,

 

I still seem to be having an issue with my setup, I know it’s not a Maia issue but I am hoping someone can help me track it down.

BTW I am running SuSE 10 on a VM machine (I think it might be part of my problem, but not sure)

Here is what I know,

at least once a day, sometimes more I get a large amount of mail ‘stuck’ in the active queue, the system keeps accepting mail into the queue but nothing ever leaves.  If I watch /var/log/mail I can see mail coming in, postfix is still doing it’s rule checks and accepting messages / dropping some, if I check /var/spool/amavis/amavis.log I can see that it is processing but it stopped a few minutes before I got into the office and did not start up until I restarted postfix?!? See this


Usually if mail is staying in the active queue (vs deferred), in my experience, it has been caused by high system load which usually causes sql slowness and consequently spamassassin timeouts.

What is the system load during these times? if you wait several minutes do you see any timeouts (amavis) or deferred messages (postfix)? Do you have any sql monitoring tools (like mysqlard)? What type of database are you using (innodb, myisam)?

These are the areas that I would focus on, looks like you're halfway there already.
-Blake


******* INTERNET E-MAIL CONFIDENTIALITY DISCLAIMER ******** This email and/or any documents in this transmission is intended for the address(es) only and may contain legally privileged or confidential information. Any unauthorized use, disclosure, distribution, copying or dissemination is strictly prohibited. If you receive this transmission in error, please notify the sender immediately and return the original. St. Amant does not accept liability for any errors, omissions, corruption or virus in the contents of this message or any attachments that arise as a result of e-mail transmission. Ce courriel et tout document dans cette transmission est destin˙˙ ˙˙ la personne ou aux personnes ˙˙ qui il est adress˙˙. Il peut contenir des informations il˙˙gier ou confidentielles. Toute utilisation, divulgation, distribution, copie, ou diffusion non autoris˙˙e est strictement d˙˙fendue. Si vous n'˙˙tes pasdestinataire de ce message, veuillez en informer l'exp˙˙diteur imm˙˙diatement et lui remettre l'original. St. Amant ne prend aucune responsabilit˙˙ d'erreurs, omissions, corruptions ou virus compris dans le contenu de se message ou de n'importe quels attachement qui en est le r˙˙sultat d'une transmission de courrier ˙˙lectronique.
Mail sits in active queue,
user name
2006-08-23 17:40:39
I've also had problems with bayes db contention prior to
moving bayes 
into sql. You can disable bayes (in amavis.conf and
spamassassin config 
files) and see if the problem resolves itself. Usually when
this 
happened mail was scanned very slowly (20-40 seconds per
message instead 
of 3-4). At that rate messages came in faster than they
could be 
processed and the queue would grow. However, things always
kept moving 
along... just slowly.

-Blake

Dan OConnor wrote:
>
> Everything is innodb, I have not seen any error
messages in amavis 
> like that, I am installing mysqlard right now.
>
>
------------------------------------------------------------
------------
>
> *From
maia-users-bouncesrenaissoft.com 
> [mailto:maia-users-bouncesrenaissoft.com] *On Behalf
Of *Blake Hudson
> *Sent Wednesday,
August 23, 2006 9:29 AM
> *To
maia-usersrenaissoft.com
> *Subject Re:
[Maia-users] Mail sits in active queue,
>
> Dan OConnor wrote:
>
> Hi All,
>
> I still seem to be having an issue with my setup, I
know it’s not a 
> Maia issue but I am hoping someone can help me track it
down.
>
> BTW I am running SuSE 10 on a VM machine (I think it
might be part of 
> my problem, but not sure)
>
> Here is what I know,
>
> at least once a day, sometimes more I get a large
amount of mail 
> ‘stuck’ in the active queue, the system keeps accepting
mail into the 
> queue but nothing ever leaves. If I watch /var/log/mail
I can see mail 
> coming in, postfix is still doing it’s rule checks and
accepting 
> messages / dropping some, if I check
/var/spool/amavis/amavis.log I 
> can see that it is processing but it stopped a few
minutes before I 
> got into the office and did not start up until I
restarted postfix?!? 
> See this
>
>
> Usually if mail is staying in the active queue (vs
deferred), in my 
> experience, it has been caused by high system load
which usually 
> causes sql slowness and consequently spamassassin
timeouts.
>
> What is the system load during these times? if you wait
several 
> minutes do you see any timeouts (amavis) or deferred
messages 
> (postfix)? Do you have any sql monitoring tools (like
mysqlard)? What 
> type of database are you using (innodb, myisam)?
>
> These are the areas that I would focus on, looks like
you're halfway 
> there already.
> -Blake
>
>
> ******* INTERNET E-MAIL CONFIDENTIALITY DISCLAIMER
******** This email 
> and/or any documents in this transmission is intended
for the 
> address(es) only and may contain legally privileged or
confidential 
> information. Any unauthorized use, disclosure,
distribution, copying 
> or dissemination is strictly prohibited. If you receive
this 
> transmission in error, please notify the sender
immediately and return 
> the original. St. Amant does not accept liability for
any errors, 
> omissions, corruption or virus in the contents of this
message or any 
> attachments that arise as a result of e-mail
transmission. Ce courriel 
> et tout document dans cette transmission est destin˙˙
˙˙ la personne 
> ou aux personnes ˙˙ qui il est adress˙˙. Il peut
contenir des 
> informations il˙˙gier ou confidentielles. Toute
utilisation, 
> divulgation, distribution, copie, ou diffusion non
autoris˙˙e est 
> strictement d˙˙fendue. Si vous n'˙˙tes pasdestinataire
de ce message, 
> veuillez en informer l'exp˙˙diteur imm˙˙diatement et
lui remettre 
> l'original. St. Amant ne prend aucune responsabilit˙˙
d'erreurs, 
> omissions, corruptions ou virus compris dans le contenu
de se message 
> ou de n'importe quels attachement qui en est le
r˙˙sultat d'une 
> transmission de courrier ˙˙lectronique.
>
------------------------------------------------------------
------------
>
> _______________________________________________
> Maia-users mailing list
> Maia-usersrenaissoft.com
> http://www.renaissoft.com/mailman/listinfo/maia-users
>   

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )