Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

Issue with large mail queue

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


fernando at consultorpc

Nov 25, 2009, 10:31 AM

Post #1 of 3 (530 views)
Permalink
Issue with large mail queue

Hello,

I am having some problems with exim and large mail queues ( running on
a Cpanel box ). Basically i have sent a message to all users of our
forum which caused the mail queue to go over 80,000.

My system has 7984MB of RAM with 7518MB free and my load average is:
0.00, 0.01, 0.05.

Looking at exim_mainlog, i see that messages are being processed but
it is really slow.

If i try to send a message that is stuck on queue, it is send in a few
seconds ( so they are not there because of invalid address or
temporary failure on external server ).

Do you have any recommendations of what should i check or what can i
change to improve exim performance and make it use all available
resources?

Regards,
---

Fernando Marcelo
www.consultorpc.com
fernando [at] consultorpc


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


graeme at graemef

Nov 25, 2009, 10:45 AM

Post #2 of 3 (496 views)
Permalink
Re: Issue with large mail queue [In reply to]

On Wed, 2009-11-25 at 16:31 -0200, Fernando Morgenstern wrote:
> Do you have any recommendations of what should i check or what can i
> change to improve exim performance and make it use all available
> resources?

Simply run multiple queue runners from the command line:

exim -q &

By default, Exim only spins off a single queue runner per queue run
period, so an alternative is to reconfigure your system to run the queue
(say) every minute. That way you'll probably end up with a ridiculous
number of queue runners at the same time, but they'll process the queue
fairly efficiently.

Also, if you haven't already, run Exim with a split queue. It makes
directory parsing much quicker. See the docs for the option on how to do
that.

Graeme


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


fernando at consultorpc

Nov 25, 2009, 12:25 PM

Post #3 of 3 (484 views)
Permalink
Re: Issue with large mail queue [In reply to]

Hello,

Thanks for your answer. This seems to have increased performance as
now the mail queue was reduced to 60.000 messages.

I am not sure if this is related to this change, but i noticed the
following entries on exim log:

2009-11-25 21:11:11 SMTP command timeout on connection from mailer
2009-11-25 21:11:11 SMTP command timeout on connection from mailer
2009-11-25 21:11:12 SMTP command timeout on connection from mailer

mailer is the user that runs the php script which is sending out the
email.

I already checked the exim manual and changed the option
smtp_receive_timeout to 15m ( which is a long time, in my opinion )
but it doesn't seem to fix the problem because after some minutes that
exim is running, these errors starts to appear again.

Also, as we are talking about a local script, timeout shouldn't be a
problem.

Is there anything else that could be causing this problem?

Thanks,

Fernando.

Em 25/11/2009, ās 16:45, Graeme Fowler escreveu:

> On Wed, 2009-11-25 at 16:31 -0200, Fernando Morgenstern wrote:
>> Do you have any recommendations of what should i check or what can i
>> change to improve exim performance and make it use all available
>> resources?
>
> Simply run multiple queue runners from the command line:
>
> exim -q &
>
> By default, Exim only spins off a single queue runner per queue run
> period, so an alternative is to reconfigure your system to run the
> queue
> (say) every minute. That way you'll probably end up with a ridiculous
> number of queue runners at the same time, but they'll process the
> queue
> fairly efficiently.
>
> Also, if you haven't already, run Exim with a split queue. It makes
> directory parsing much quicker. See the docs for the option on how
> to do
> that.
>
> Graeme
>
>
> --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.