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 not delivering some group messages due to SIGTERM every 10 minutes

Discussion in 'General Discussion' started by kerosin, Jul 15, 2005.

  1. kerosin

    kerosin Well-Known Member

    Joined:
    Aug 27, 2002
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    Some of our clients are sending group mails as big as 300 recipients, but since we have applied some addtional ACL rules processing+delivery of message like this can take over 10 minutes - and that's the problem since exim recieves SIGTERM signal every 10 minutes and it leads to the termination of the message processing:

    2005-07-15 03:10:01 queue run: process 11833 crashed with signal 15 while delivering 1Dt4TR-0006Lx-Ue
    2005-07-15 03:20:00 queue run: process 14364 crashed with signal 15 while delivering 1DtAkS-0003Mp-VE
    2005-07-15 03:40:00 queue run: process 19268 crashed with signal 15 while delivering 1Dt4TR-0006Lx-Ue
    2005-07-15 03:50:01 queue run: process 21267 crashed with signal 15 while delivering 1Dt4TR-0006Lx-Ue
    2005-07-15 04:00:01 queue run: process 22967 crashed with signal 15 while delivering 1Dt56d-0000xT-Sc
    2005-07-15 04:39:45 queue run: process 10458 crashed with signal 15 while delivering 1DtBNs-0006Wd-5P
    2005-07-15 04:40:49 queue run: process 12516 crashed with signal 15 while delivering 1DtBNs-0006Wd-5P
    2005-07-15 05:40:00 queue run: process 27162 crashed with signal 15 while delivering 1Dt56d-0000xT-Sc
    2005-07-15 05:50:00 queue run: process 32097 crashed with signal 15 while delivering 1Dt5ce-0004IQ-FP
    2005-07-15 06:00:01 queue run: process 5141 crashed with signal 15 while delivering 1Dt56d-0000xT-Sc
    2005-07-15 06:10:01 queue run: process 11069 crashed with signal 15 while delivering 1Dt56d-0000xT-Sc
    2005-07-15 06:20:01 queue run: process 16746 crashed with signal 15 while delivering 1Dt56d-0000xT-Sc
    2005-07-15 06:30:01 queue run: process 21608 crashed with signal 15 while delivering 1Dt56d-0000xT-Sc



    to be sure I have ran: exim -M 1Dt5ce-0004IQ-FP -d and could see no errors but proccess termination on every 10 minutes (see above)



    What can I do to change this - to make something what is sending SIGTERM signals to exim to send it - let's say every 20 minutes instead of 10 ?


    Thanks a lot guys :)
     
  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
    What is your queuing interval set to in WHM > Tweak Settings?
     
  3. kerosin

    kerosin Well-Known Member

    Joined:
    Aug 27, 2002
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    Thanks for your reply chirpy

    Number of minutes between mail server queue runs - is set to 60 - default



    cheers ;)
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It was a long-shot ;) Do you have something like PRM running that is killing off exim when under high load?
     
  5. kerosin

    kerosin Well-Known Member

    Joined:
    Aug 27, 2002
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    Thanks for the fast reply. :D


    No, I haven't installed any applications like this - my only modifications were to exim's ACL rules.

    And BTW load is around 0.25-0.3 while processing those messages, also deliver_queue_load_max = 3 but what is interesting is that regularity of those SIGTERM signals:

    2005-07-15 07:20:01 queue run: process 13696 crashed with signal 15 while delivering 1Dt56d-0000xT-Sc
    2005-07-15 07:30:01 queue run: process 16871 crashed with signal 15 while delivering 1Dt56d-0000xT-Sc
    2005-07-15 08:10:01 queue run: process 26624 crashed with signal 15 while delivering 1Dt56d-0000xT-Sc
    2005-07-15 08:20:00 queue run: process 28552 crashed with signal 15 while delivering 1Dt56d-0000xT-Sc
    2005-07-15 08:30:00 queue run: process 31467 crashed with signal 15 while delivering 1Dt56d-0000xT-Sc
    2005-07-15 08:40:01 queue run: process 1123 crashed with signal 15 while delivering 1Dt56d-0000xT-Sc
    2005-07-15 08:50:03 queue run: process 3744 crashed with signal 15 while delivering 1Dt56d-0000xT-Sc
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That's why I was sondering about something like PRM that runs regularly.

    If you restart chkservd does it SIGTERM exim:

    /etc/init.d/chkservd restart

    Also, what modifications did you make, or are they unrelated?

    Another idea might be to do a quick trawl of the root crontab /etc/cron.d/ and /etc/crontab to see if there's anything there running every 10 minutes.
     
  7. kerosin

    kerosin Well-Known Member

    Joined:
    Aug 27, 2002
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6

    :rolleyes: :rolleyes:

    How could I miss it.... :mad:

    of course it was in crontab :

    */10 * * * * /etc/init.d/exim restart >/dev/null 2>&1


    Thanks a lot chirpy ;)


    Take it easy

    M.
     
Loading...

Share This Page