1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Should I leave cpanel? General server optimization

Discussion in 'Server Configuration and Hosting' started by Tim Jay, Apr 2, 2016.

  1. Tim Jay

    Tim Jay Active Member

    I have been using cpanel/whm on centos for years now and I would like to make a change.
    I'm a little tired of the apache /mysql combo as it seems to become sluggish as time goes on.

    Cpanel has always been nice and provides some decent tools here and there but I think it hogs too much of the server. The site migration tool came in handy many times before.

    I have a great server with a great host & over 120G ram + SoftRaid 2x160GB SSD.
    I use memcached, maxcdn, a little bit of cloudflare for my xenforo setup.

    Even so I seem to experience sluggishness on my forum quite often and random lockups right when I'm moderating or browsing my own site. It's fast 9 times out of 10.
    I have read through many guides on optimizing xenforo, my.cnf, & things like that and feel that the site should never go slow.

    In the last couple days I've woken up to an inaccessible site thanks to apache. The first time a hostname was hogging connections while trying to scrape so I blocked that and restarted. Today I saw a whole bunch of requests that were stuck in ..reading..

    I'm starting to run out of ideas now and I'm seriously considering dropping cpanel and starting on a fresh server. I thought it might be issues caused by outdated addons but I rarely have anything in my server error logs.

    Anyone here have any suggestions on what to try next?

    This is my Online Now:
    Total: 1,490 (members: 344, guests: 1,074, robots: 72)
    it's more like online in the last hour though.
  2. RoldanLT

    RoldanLT Well-Known Member

    You may want to try serverpilot or centminmod :).
    eva2000 and Tim Jay like this.
  3. Tim Jay

    Tim Jay Active Member

    When using pingdom speed test I have 73/100.

    My lowest grades are:
    Leverage browser caching (The following cacheable resources have a short freshness lifetime.)
    Remove query strings from static resources (Resources with a "?" in the URL are not cached by some servers)

    Does anyone know how to disable these query strings? These are .jpg links that end in ?1458598567 for some reason.

    Thanks Roldan, I will look into those :)

    I feel like I don't necessarily have to drop cpanel with the resources on this server, but something has to change.
  4. Brogan

    Brogan XenForo Moderator Staff Member

    They are cache busters and required to ensure the updated images are served.
    Tim Jay likes this.
  5. Tim Jay

    Tim Jay Active Member

    I have a custom icon addon for subforums on the front page and I don't plan on changing those icons any time soon but they are loading those cache buster strings.
  6. Brogan

    Brogan XenForo Moderator Staff Member

    You would need to contact the developer of the add-on for support with that.
  7. Alfa1

    Alfa1 Well-Known Member

    drastic, WSWD and Tim Jay like this.
  8. WSWD

    WSWD Well-Known Member

    I will second Alfa1.

    With a server that large, I promise you cPanel isn't what's slowing things down. If Apache is not cutting it, getting rid of cPanel to fix that problem is a little ridiculous, to be perfectly honest.

    You should notice a pretty big difference with Litespeed, and won't experience the bottlenecks of Apache. We have never seen a site that Litespeed can't handle.
    Tim Jay likes this.
  9. Tim Jay

    Tim Jay Active Member

    Thanks, I will definitely look into that.

    How much are you guys spending on litespeed?
  10. Ernest L. Defoe

    Ernest L. Defoe Well-Known Member

    You could also try NGINX which is very comparable to Litespeed as far as results go and best of all it's free. They also have a cPanel plugin http://www.nginxcp.com
  11. Tracy Perry

    Tracy Perry Well-Known Member

    But if I'm not mistaken, you then have Apache AND NGINX running.. with NGINX as a front end reverse proxy and not a standalone NGINX configuration.
  12. Ernest L. Defoe

    Ernest L. Defoe Well-Known Member

    I don't think so. I could be wrong. I only used it for a little while.
  13. MattW

    MattW Well-Known Member

    Tracy is correct. It sits in front of apache, and passes any dynamic content requests back to apache to handle.
    Ernest L. Defoe and Tracy Perry like this.
  14. Ernest L. Defoe

    Ernest L. Defoe Well-Known Member

    I did say I could be wrong.
    Tracy Perry likes this.
  15. drastic

    drastic Well-Known Member

    and in other news, I'm hella jealous of your amount of users online!!!

    I can only get that many when I buy ads!
  16. WSWD

    WSWD Well-Known Member

    drastic likes this.
  17. EQnoble

    EQnoble Well-Known Member

    This feels gimmicky to me.

  18. MattW

    MattW Well-Known Member

    Why? It means they don't limit the amount of ram you can have on the server. Their licencing limits the VPS licence to 8GB of RAM, so if your VPS has more than that, you need the 1CPU licence, rather than the Ultra VPS version.
  19. Slavik

    Slavik XenForo Moderator Staff Member

    In what way? Their pricing has always been very clear and upfront.
  20. EQnoble

    EQnoble Well-Known Member

    1 core, Unlimited RAM...so this is not for hosting, this is for the software only?

    and the Unlimited RAM applies to how much the software is limiting you to?

    So like the cheaper package for this software would limit me to 8 gigs of RAM?

    I don't get it, probably why i never tried litespeed...

    from the linked page I would think I was leasing a server with this software included....jussayin

Share This Page