The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Exim Delay

Discussion in 'General Discussion' started by kris1351, May 12, 2005.

  1. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    We are having some issues lately with the Exim sending and queues. For some reason in one of the updates over the past couple of weeks it is taking longer for mail to be sent through the queue. We run a 30m queue run, but it seems almost any mail sent via a script is queued for 2 hours now. I am watching it and it just seems as if Exim is not sending out things instantly as it used to. Anyone else seeing anything similar?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Kris,

    What's the server load like? If at the precise time that the queue run happens the load average is above 3 (by default) the queue run will abort. You can check for this by grepping the exim mail log:

    grep queue /var/log/exim_mainlog

    If you see entries like "abandon queue run (load 3.20, max 3.00)" then that is the problem. You can up the load average that it uses by setting deliver_queue_load_max to a value greater than 3 in the first texbox in the exim configuration editor:

    deliver_queue_load_max = 5

    But, that's really a workaround for a probable performance isue.
     
  3. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    Yea not seeing any of that. loads are staying below 1.5 and they are dual proc servers.
     
  4. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    It seems it is attempting to queue just about everything instead of sending immediately.
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Have you checked the DNS lookups are working OK on the server? Do you have anything unusual set at the beginning of exim.conf or is it a stock configuration file?
     
  6. betoranaldi

    betoranaldi Well-Known Member

    Joined:
    Dec 5, 2007
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    Sorry to dig up this old post but I am having the same problem on cpanel/whm 11. It seems all mails are going right into the queue and sitting for a while before they are sent.

    What could be causing this?
     
  7. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    Chirpy, now that we are on WHM 11, will this still work? It appears that the section of exim.conf is not editable, where the "deliver_queue_load_max = 3" exists. If I edit this in exim.conf directly, of course it is overwritten next time exim is upgraded or the config is altered via WHM.

    Can I actually put "deliver_queue_load_max = 4" in the top box, even though it appears later in the config as "deliver_queue_load_max = 3", and still get this to work?

    Anybody aware of any Bugzilla entries out there to ask cPanel to make this configurable via WHM?

    Thanks!

    - Scott
     
Loading...

Share This Page