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.

sites are slow in cpanel

Discussion in 'Workarounds and Optimization' started by guptaji, Sep 16, 2014.

  1. guptaji

    guptaji Active Member

    Joined:
    Sep 8, 2014
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    hello friends,

    i have a 32GB ram server, iam using cpanel in that;
    some sites are taking about 20-30 secs to openning.
    what to do ??

    how to boost cpanel performence and site speed ?

    [sorry for my bad english :D]
     
  2. server9host

    server9host Well-Known Member

    Joined:
    Sep 18, 2013
    Messages:
    160
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Re: sites are slow in cpanel;

    Hello,

    You need to check you site why cause this. Because some time website plugin, detabase, themes take time to load the website. Please check with your site developer to optimize your site plugin,themes and database
     
  3. guptaji

    guptaji Active Member

    Joined:
    Sep 8, 2014
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Re: sites are slow in cpanel;

    what about nginx ??

    its better to use nginx as front or as backend in apache ?
     
  4. server9host

    server9host Well-Known Member

    Joined:
    Sep 18, 2013
    Messages:
    160
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Re: sites are slow in cpanel;

    You can use it nginx. It's make effect on you site opening speed but also refer my given point also.

    Or you can optimize you apache configuration.
     
  5. guptaji

    guptaji Active Member

    Joined:
    Sep 8, 2014
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Re: sites are slow in cpanel;

    my sites are using flatfile scripts, no database,plugins,themes at all; still don't know why taking time :(

    - - - Updated - - -

    and how to optimize apache configuration ?
     
  6. server9host

    server9host Well-Known Member

    Joined:
    Sep 18, 2013
    Messages:
    160
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Re: sites are slow in cpanel;

    Please give me below things from your apache config file :

    Timeout
    KeepAlive
    MaxKeepAliveRequests
    KeepAliveTimeout
    MinSpareServers
    MaxSpareServers
    StartServers
    MaxClients
    MaxRequestsPerChild


    Also let me know did you install Xcache module on your server. If not so please install it using easy apache. Xcache will increase the rate of page generation time by up to 5 times as it also optimizes many other aspects of php scripts and reduces serverload.

    You also install mod_cache apache module to generate fast page request.
     
    #6 server9host, Sep 17, 2014
    Last edited: Sep 17, 2014
  7. guptaji

    guptaji Active Member

    Joined:
    Sep 8, 2014
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Re: sites are slow in cpanel;

    Xcache installed,

    Timeout - 300 (default)
    KeepAlive - off
    MaxKeepAliveRequests - 100 (default)
    KeepAliveTimeout - 5 (default)
    MinSpareServers - 5 (default)
    MaxSpareServers - 10 (default)
    StartServers - 5 (default)
    MaxClients - 150 (default)
    MaxRequestsPerChild - 10000 (default)

    and how to install mod_cache ??
     
  8. mageshm

    mageshm Well-Known Member

    Joined:
    Apr 17, 2014
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Chennai, INDIA
    cPanel Access Level:
    DataCenter Provider
    Re: sites are slow in cpanel;

    @ guptaji,

    What about home page size. Make sure if your home page contains more then 1MB of size, surely it will take this much of time.

    Try to reduce your home page size, like (image's).
     
  9. guptaji

    guptaji Active Member

    Joined:
    Sep 8, 2014
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Re: sites are slow in cpanel;

    Load time : 18.83s

    Page size : 15.2kB

    wait time: 17.78s
     
  10. server9host

    server9host Well-Known Member

    Joined:
    Sep 18, 2013
    Messages:
    160
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Re: sites are slow in cpanel;

    Please set KeepAlive as on and ServerLimit value set as 150 same as MaxClients value.

    mod_cache you can install using esayapache.
     
  11. guptaji

    guptaji Active Member

    Joined:
    Sep 8, 2014
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    i can't find mod_cache in easy apache, does it have any other name there ?
     
  12. server9host

    server9host Well-Known Member

    Joined:
    Sep 18, 2013
    Messages:
    160
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    Please search as MemCache in easyapache.
     
  13. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,724
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  14. guptaji

    guptaji Active Member

    Joined:
    Sep 8, 2014
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    I wanna know these things also:-

    1- if i install nginxcp or nginx (from source) in my server..?? What benifits i will get..??

    2- nginx is better to use as back or in front in apache..??
     
Loading...

Share This Page