Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Exim mail queue problem

Discussion in 'E-mail Discussion' started by gvard, Apr 27, 2004.

  1. gvard

    gvard Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2003
    Messages:
    196
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    Athens/GREECE
    cPanel Access Level:
    DataCenter Provider
    Good morning from Greece,

    I've installed cPanel in a Fedora box with kernel 2.6.5 (WHM 9.2.0 cPanel 9.2.0-R24) and I'm experiencing the following problem:

    Every day at about 04:00, the mail server hangs and all e-mails are stuck in the mail queue, incoming and outgoing. I tried running exim -qf but I receive the following response:


    2004-04-27 05:02:42 queue run: process XXXXX crashed with signal 11 while delivering XXX

    One line for every single mail in queue. In order for the mail queue to deliver e-mails, I have to run /scripts/exim4 and then exim -qf. The e-mails are being delivered until the next day, when the same thing happens.

    I tried finding posts here with the same problem, but didn't find anything that would solve the problem permanent.

    Any help would be appreciated:(
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Do you have deliver_queue_load_max set in /etc/exim.conf?

    You probablyu do. I would suspect that at 04:00 all your daily cron and update jobs are running and pushing the load average very high and EXIM is simply freezing the queue.

    You could try commenting out the directive in exim.conf, or setting it much higher (say, 10), restart Exim, and see if that improves things.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. gvard

    gvard Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2003
    Messages:
    196
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    Athens/GREECE
    cPanel Access Level:
    DataCenter Provider
    Good evening from Greece,

    1) I've opened a support ticket in cPanel, but when they check it the queue is OK. When it stucks I send an e-mail, wait for some hours, my clients start complaining, I re-install exim, the quere is OK again and then cPanel checks it (I'm very unlucky, that's been going on for the last 4 days!)

    2) What directive is this in exim.conf? Can you please tell me?


    Sincerely,

    George Vardikos
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    I already said, the directive is:

    deliver_queue_load_max
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. xprimer

    xprimer Registered

    Joined:
    Mar 1, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    151
    Same problem here. Only difference is that it does not appear every night. :mad: If anyone has any solution, I'd be glad to hear it.

    deliver_queue_load_max it has no effect.
     
  6. gvard

    gvard Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2003
    Messages:
    196
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    Athens/GREECE
    cPanel Access Level:
    DataCenter Provider
    Greetings from Greece,


    Are you running MRTG?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    166
    Try this as a fix:

    /scripts/updatenow
    /scripts/exim4

    edit /etc/exim.conf
    change the deliver_queue_load_max variable to say 10.

    service exim restart
    exim_tidydb -t 0s /var/spool/exim retry
    exim_tidydb -t 0s /var/spool/exim wait-remote_smtp
    exim -v -qff &
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. asmar

    asmar Well-Known Member

    Joined:
    Jul 16, 2004
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    166
    Same problem here.

    I am getting the following error just a while before I run the last command:

    Tidying Exim hints database /var/spool/exim/db/wait-remote_smtp
    ** Failed to open database lock file /var/spool/exim/db/wait-remote_smtp.lockfile: No such file or directory
     
  9. forlinuxsupport

    forlinuxsupport Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2004
    Messages:
    386
    Likes Received:
    0
    Trophy Points:
    166
    cPanel Access Level:
    Root Administrator
    hey

    anyone have a solution ?? :confused:

    Im also getting this problem. Im going to try updating to latest CURRENT build and see if that helps.

    cheers
    andy
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. shashank

    shashank Well-Known Member
    PartnerNOC

    Joined:
    Apr 12, 2003
    Messages:
    159
    Likes Received:
    1
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    India
    check the permissions and ownership on /var/spool/exim/db/ they should be 750 and mailnull.mail
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice