IMAP access is horribly slow...

brianteeter

Well-Known Member
Jan 6, 2002
72
0
306
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
 

JustinK

Well-Known Member
Sep 4, 2001
251
0
316
Is it just that server or is it just that user having the problems? Are they behind a firewall?
 

brianteeter

Well-Known Member
Jan 6, 2002
72
0
306
Pretty sure its the server. I'm not behind any firewalls at my office. (Gasp!) And I get the same poor performance.

Thanks - Brian
 

Annette

Well-Known Member
PartnerNOC
Aug 12, 2001
445
0
316
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.
 

brianteeter

Well-Known Member
Jan 6, 2002
72
0
306
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
 

Annette

Well-Known Member
PartnerNOC
Aug 12, 2001
445
0
316
I'd suggest checking your /etc/resolv.conf to make sure it's up to par for that one.