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.

Webmail Slow..

Discussion in 'E-mail Discussions' started by e1ven, Jul 21, 2004.

  1. e1ven

    e1ven Registered

    Joined:
    Dec 3, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I've noticed a delay of 5-8 seconds loading each page in webmail (via Squirrelmail, neomail, or Horde).. All other pages on the server open quickly, even cpu-intensive pages such as PHP forums, or Chat-pages..

    IMAP access, and POP access are fine..

    Does anyone have an idea why this might be happening, or what I should check? I could tear down the IMAP server and rebuild it (I presume that's what these are reading from), but that seems to be in the wrong direction..

    I would certainly appreciate any thoughts, as it is current cPanel configured..

    Colin
     
  2. supportbytes

    supportbytes Member

    Joined:
    Jul 11, 2004
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    service cpanel restart
     
  3. jklassen

    jklassen Registered

    Joined:
    Aug 5, 2003
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I have found the same behavior, although in my case Neomail is fine. We really cannot work with SquirrelMail or Horde right now.

    I have attempted restarting IMAP, POP, and the entire system, with no effect.

    I am running:
    WHM 9.4.0 cPanel 9.4.1-R64
    RedHat 7.3 - WHM X v3.1.0
     
  4. jasmin

    jasmin Member

    Joined:
    Oct 18, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Any solution to this yet?

    We've got one server running mail like a speed demon. The other has a faster processor, SCSI drive, no real load yet, runs scripts like osc and vbulletin so fast (super low parse times reported), yet the mail programs are as slow as a snail. Unusable. Using programs like Eudora to grab mail via imap is fast, or so it seems. So what could the issue be?
     
    #4 jasmin, Feb 21, 2005
    Last edited: Feb 21, 2005
  5. jasmin

    jasmin Member

    Joined:
    Oct 18, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Sllooowwww webmail

    I've been monitoring what happens in squirrel via top.

    Even when hitting COMPOSE, which should be a very simple, instantaneous task, it ties up the processor for 5-15 seconds, at 90-99.9% of the CPU. Horde is slow, too.

    No applications on normal websites show this kind of behaviour. Big tanks like vbulletin and oscommerce just glide on ice, like they were 'hello world' pages.

    I have two ideas.

    Does cpanel use a different configuration of apache/php than it uses for public pages? I think it might, since I once had apache go down and all the cpanel stuff was still working. Maybe it's a buggy version of php or bad php settings.

    Also, are there memory limits or something that I can loosen up for php?
     
  6. Secret Agent

    Secret Agent Guest

    Duplicated issue myself with Horde. Server load is less than .50 and memory less than 40% but webmail is slow on a dual xeon / 2GB memory server. Took about 5-7 seconds to login after clicking login button, nearly 10 seconds to open an email.
     
  7. adwolf33

    adwolf33 Registered

    Joined:
    Jul 13, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    same issue here. squirrel is so slow that users are getting pissed off. Rest of the server runs fine, including CPU-pigs like vbulletin2 and oscommerce.
    any insights?
     
  8. Secret Agent

    Secret Agent Guest

    Anyone have suggestions?
     
  9. handreach

    handreach Member

    Joined:
    Jul 11, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Same problem here, especially for large email folders. I believe it was caused by the fact that Cpanel uses plain text files to hold all emails. Database or indexed emails should work much faster, but when will Cpanel provide that kind of configuration? or is there any other control panel that has a better solution?
     
  10. sgriffin

    sgriffin Member

    Joined:
    Nov 15, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
  11. neutro

    neutro Well-Known Member

    Joined:
    Apr 11, 2004
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    sgriffin yr link is broken :D
     
  12. sgriffin

    sgriffin Member

    Joined:
    Nov 15, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
  13. cPDan

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    711
    Likes Received:
    3
    Trophy Points:
    18
    One thing to not e is that Neomail is Perl and uses mbox (I think mbox offhand anyway ;)) and Horde and Squirrelmail are PHP and use imap.

    So the problem is most likely either imap or PHP.

    Try doing an imap session via CLI
    telnet 1.2.3.4 143
    ...
    a) it shoudl look something like this:
    * OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=LOGIN] localhost IMAP4rev1 2003.339-cpanel at Thu, 21 Jul 2005 13:04:05 +0000 (GMT)

    specifically the cpanel part (IE its is cpanel's imap and not some other one that isn;t integrated right)

    b) do a regular session and see how long it takes

    That should tell you if its imap or not.

    Then make sure PHP is ok:

    a) if /var/cpanel/usecpphp exists:
    /script/makecpphp
    restart everything
    - if that does not help:
    rm -r /var/cpanerl/usecpphp
    and restart everything

    b) if /var/cpanel/usecpphp does not exist:

    touch /var/cpanel/usecpphp
    /scripts/makecpphp
     
Loading...

Share This Page