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.

POP3 Issue

Discussion in 'General Discussion' started by elenlace, Feb 23, 2007.

  1. elenlace

    elenlace Well-Known Member

    Joined:
    Sep 10, 2002
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    US
    I have a lingering issue with a server with a decent load that the POP3 fails occassionaly, some times it fails 2-3 times per hour causing grievances to my customers.

    Checking /var/log/maillog, I see an interesting thing:

    Feb 19 11:03:28 linux pop3d: 35 active connections.
    Feb 19 11:03:30 linux pop3d: 40 maximum active connections.

    This is right before POP3 fails.

    I remember I saw a config file somewhere (can't remember where) where you can actually modify this limit. I would like to go to 60 or something like that to see if I'm able to stop POP3 from failing.

    Anyone knows where I can change that limit?

    Warmest Regards / Thanks in advance for the help.
     
  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
    Try /usr/lib/courier-imap/etc/pop3d

    MAXDAEMONS=40

    After upping it, restart courier:

    /scripts/restartsrv_courier

    That said, just because you hit max connections courier shouldn't fail, it should just reject further connections.
     
  3. elenlace

    elenlace Well-Known Member

    Joined:
    Sep 10, 2002
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    US
    Chirpy,

    You are the best as always. If that is not the issue, then what else should I look for to minimize POP3 failures?

    As you could pussibly understand customers want their e-mail using Outlook up all the time, they feel the service is of lower quality if the experience hickups during the day.

    Luckily this is only happenning in 1 of my 9 servers.

    Warmest Regards!
     
  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
    Have you run top on the server when it crashes to check that you're not running low on resources (i.e. is it paging to the swap file).

    Are there any errors in /var/log/maillog or /var/log/messages from the time it keels over?
     
  5. gfisch

    gfisch Member

    Joined:
    Aug 9, 2003
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montreal
    chkservd restarts it

    Hi all;

    I'm having the same problem on two servers.
    What happens is chkservd tries pop and it times out so it restarts pop and sends an email.

    Odd for me is that it can happen at off hours like 2 am or 6 am
    Haven't found

    Gord
    EcoHosting
     
  6. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,279
    Likes Received:
    36
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    Two threads about the same thing - increasing numbers of POP3 connections on servers causing chksrvd to bark.

    http://forums.cpanel.net/showthread.php?t=63685

    I POP multiple accounts on one of the same machines that I'm seeing chksrvd gripe about - and I haven't noticed an inability to POP.

    But because of the recent events discussed in the above thread, its hitting up against the maximum POP3 connects of 40. The server really doesn't seem to be burdened by it all.

    Mike
     
Loading...

Share This Page