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 log connection count

Discussion in 'General Discussion' started by mickalo, Mar 15, 2007.

  1. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    Hello,

    what exactly does this mean in the exim_mainlog connection count = X ?? is there a limit to the amount of connections allowed? Is this setting controlled within the Exim configuration somewhere ?

    How many "connection count" are allowed ??

    Any info on this would be appreciated.

    Mickalo
     
  2. mctDarren

    mctDarren Well-Known Member

    Joined:
    Jan 6, 2004
    Messages:
    664
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    New Jersey
    cPanel Access Level:
    Root Administrator
    Believe that's the pop3 per hour setting in WHM. Limits how often people can check their mail.
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Nothing to do with pop (that's courier in /var/log/maillog :)), it's the number of SMTP connections concurrently active in exim for in/outgoing email. The default maximum is 100:

    (from /etc/exim.conf):
    smtp_accept_max = 100
     
  4. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    ok. I was wondering what that was all about in the log files. thx's for the info.

    Mickalo
     
  5. ramprage

    ramprage Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    667
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    Once Exim reaches 100 connections it will reach its hard limit and stop accepting new ones. If you have a ton of mail traffic you may want to consider increasing this.
     
  6. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    is this per IP connections or total connections ... this is what I'm not sure about. how does it keep a running tally on the total connections ??

    Mickalo
     
  7. 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's total connections. Any given connection can be receiving multiple emails from an originating SMTP server, and an originating SMTP server can also have multiple connections to your server.
     
  8. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    Ok, so the total default max connections is 100 ... now if this is not adequate, too small amount, what sort of errors would occur or SMTP connection problems ??

    Mickalo
     
  9. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    Thx's Chirpy, this is what I was looking for ... much appreciated.

    Mickalo
     
  10. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    As ramprage said, the SMTP server would not accept additional connections. So the sender SMTP server would probably receive a 421 message, i.e. Service not available, try again later and would queue on the sender server in most cases.

    Just to correct myself, the value is for incoming SMTP connections only (not outgoing).

    Hitting the maximum value is usually very unlikely unless you're suffering a DOS attack against your SMTP port. In those cases, you can set another parameter (smtp_accept_max_per_host) which restricts it on a per host (IP) basis too.

    More information in the manual here:
    http://www.exim.org/exim-html-4.66/doc/html/spec_html/ch45.html#id2729013
     
  11. mctDarren

    mctDarren Well-Known Member

    Joined:
    Jan 6, 2004
    Messages:
    664
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    New Jersey
    cPanel Access Level:
    Root Administrator
    Whoops! Wrong log. Thx Chirpy! :D
     
Loading...

Share This Page