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.

IMAP access is horribly slow...

Discussion in 'General Discussion' started by brianteeter, Sep 20, 2002.

  1. brianteeter

    brianteeter Well-Known Member

    Joined:
    Jan 6, 2002
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    One of our servers is having a real tough time with IMAP. One of our users has been just testing the IMAP feature, and it is taking up to 45 seconds or more to login and retrieve a simple test email. (He is using Outlook Express, as are we in testing.)

    Most of the time seems to be spend authenticating.

    We are running the most recent CPanel/WHM build on RH 7.2. (We just ran /scripts/upcp)

    We see imapd processes running. Any thoughts?

    Thanks - Brian
     
  2. JustinK

    JustinK Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    251
    Likes Received:
    0
    Trophy Points:
    16
    Is it just that server or is it just that user having the problems? Are they behind a firewall?
     
  3. brianteeter

    brianteeter Well-Known Member

    Joined:
    Jan 6, 2002
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    Pretty sure its the server. I'm not behind any firewalls at my office. (Gasp!) And I get the same poor performance.

    Thanks - Brian
     
  4. Annette

    Annette Well-Known Member
    PartnerNOC

    Joined:
    Aug 12, 2001
    Messages:
    445
    Likes Received:
    0
    Trophy Points:
    16
    In /etc/xinetd.d/cpimap, comment out the following lines:

    log_on_success += USERID
    log_on_failure += USERID

    Restart imap, and that should speed things up.
     
  5. brianteeter

    brianteeter Well-Known Member

    Joined:
    Jan 6, 2002
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    Thanks for the tips. That helped quite a bit. Now we're down from about 30-45 seconds to 10-15 for imap login.

    Now, I'm thinking the problem is more system wide. Even ssh logins take a few seconds - with loads under 0.1. Is there some system wide settings that could be causing logins to be slow?

    Thanks - Brian
     
  6. Annette

    Annette Well-Known Member
    PartnerNOC

    Joined:
    Aug 12, 2001
    Messages:
    445
    Likes Received:
    0
    Trophy Points:
    16
    I'd suggest checking your /etc/resolv.conf to make sure it's up to par for that one.
     
Loading...

Share This Page