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.

loading webmail interfaces really slow

Discussion in 'E-mail Discussions' started by stefanbc, Jun 2, 2015.

  1. stefanbc

    stefanbc Well-Known Member

    Joined:
    Apr 13, 2015
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    toronto
    cPanel Access Level:
    Root Administrator
    Hi,

    Some accounts have webmail enabled and can be accessed using
    https://webmail.my-test-site.com but after login(which is fast) it takes a long time to load horde or roundcube.

    Can I speed up the loading time of those interfaces? Maybe buy more ram or CPUs on the VPS? The websites are pretty fast

    Here are some times:
    accessing the login: https://webmail.my-test-site.ca/ is instant
    login successful takes 6-10 seconds
    loading hoarde is 12-15 seconds

    Note: the secure certificate is not valid, maybe buying a valid one will make it faster


    Thank you
     
    #1 stefanbc, Jun 2, 2015
    Last edited: Jun 2, 2015
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    A signed SSL certificate is not likely to improve the load time. You mentioned this is a VPS. Is your provider able to temporarily increase the CPU/Memory available to your VPS so you can verify if it's why Horde and Roundcube are loading slower than you expect?

    Thank you.
     
  3. stefanbc

    stefanbc Well-Known Member

    Joined:
    Apr 13, 2015
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    toronto
    cPanel Access Level:
    Root Administrator
    Looks like we need more RAM

    top – 10:45:06 up 19:56, 1 user, load average: 0.05, 0.02, 0.00

    Tasks: 164 total, 1 running, 163 sleeping, 0 stopped, 0 zombie

    Cpu0 : 0.0%us, 0.0%sy, 0.0%ni, 98.0%id, 0.0%wa, 0.0%hi, 0.0%si, 2.0%st

    Cpu1 : 0.0%us, 0.0%sy, 0.0%ni, 97.5%id, 0.0%wa, 0.0%hi, 0.0%si, 2.5%st

    Mem: 2045172k total, 1990016k used, 55156k free, 43000k buffers

    Swap: 1048572k total, 232000k used, 816572k free, 1115744k cached
     
  4. stefanbc

    stefanbc Well-Known Member

    Joined:
    Apr 13, 2015
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    toronto
    cPanel Access Level:
    Root Administrator
    So we doubled the RAM but it still takes 12 seconds from when I click Horde or RoundeCube until the interface is loaded. Logout takes 6 seconds.

    While I did the test I ran top and the CPUs are mostly 95% idle and RAM is
    Mem: 4043496k total, 1759904k used, 2283592k free, 25996k buffers

    While it feels faster I don't think RAM or CPU are the problem

    Any other ideas?
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    What version of cPanel is installed on your system? Have you considered switching Roundcube to SQLite to see if you notice an improvement with performance?

    Code:
    /usr/local/cpanel/scripts/convert_roundcube_mysql2sqlite
    Thank you.
     
  6. stefanbc

    stefanbc Well-Known Member

    Joined:
    Apr 13, 2015
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    toronto
    cPanel Access Level:
    Root Administrator
    WHM 11.48.4 (build 4)
    I haven't considered switching(not sure I will), currently running on MariaDb 10
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You might see an improvement with load times by switching Roundcube to SQLite, as reported in previous threads.

    Thank you.
     
  8. stefanbc

    stefanbc Well-Known Member

    Joined:
    Apr 13, 2015
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    toronto
    cPanel Access Level:
    Root Administrator
    Not sure it will help.
    I have both RoundCube and Horde running and they are both slow. RoundCube seems faster by 2 3 seconds. I think it's something else.

    Would changing RoundCube to sqllite break Horde?
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    No, it has no effect on Horde. However, note that Horde uses SQLite in cPanel version 11.50.

    Thank you.
     
  10. stefanbc

    stefanbc Well-Known Member

    Joined:
    Apr 13, 2015
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    toronto
    cPanel Access Level:
    Root Administrator
    Does this have something to do with the amount of filtering done using whitelist/blacklist lists?
    Maybe there is a setting I can reduce the list. Or can I disable something to see if it makes a difference?

    Thank you
     
  11. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Filter rules should not decrease the load time for your webmail applications. Typically, it's either a very large inbox, lack of CPU/Memory, or MySQL performance issues that result in webmail applications loading slowly.

    Thank you.
     
  12. stefanbc

    stefanbc Well-Known Member

    Joined:
    Apr 13, 2015
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    toronto
    cPanel Access Level:
    Root Administrator
    Hi,

    The email account I test with has one email in it so I am not sure what it could be. Maybe MySQL because only half of the RAM is used and CPUs are 95% idle most of the time.

    I will try to see if MySQL is the problem, any ideas where to start?
     
  13. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    There's really no downside to converting Roundcube to SQLite, however you may want to run a MySQL tuner and see if there are any performance suggestions.

    Thank you.
     
Loading...

Share This Page