Skip to main content

New Review using NGINX on cPanel version 100

Comments

6 comments

  • cPanelAnthony
    @sahostking This information is EXTREMELY useful, thank you for sharing! Questions regarding site speed and optimization are ubiquitous, so we really appreciate you taking the time to help the other users of this forum.
    0
  • bejbi
    We did the same test: manually added: - http/2: works - gzip: works (only problem with this is, when it is set - that all content has gzip by default, but in Apache it could be set in .htaccess to use gzip or not - in Nginix gzip is set or not for whole server - this is of course Nginix issue not cPanel) but we noticed higher memory usage when http/2 is enabled (from about 6GB using http1.1 to 20-30GB using http/2) - but we not made many tests about this - did you noticed the same with memory ? or not? We have many accounts on testing server (~600 cPanel accounts) on 40core dual Xeon, 192 GB DDR4 RAM, ssd :wq
    0
  • sahostking
    Hi I don't see a major jump in memory usage. Are you possibly using PHP FPM? I am aware that uses a lot of memory.
    0
  • devil2580
    Hi Hope you are well Please check the following link: NGINX with Reverse Proxy | cPanel & WHM Documentation . To get an idea about this issue. Feel free to contact us for more support.
    0
  • bejbi
    Hi I don't see a major jump in memory usage. Are you possibly using PHP FPM? I am aware that uses a lot of memory.

    We are using the same configuration as You: lsapi + MPM event :wq
    0
  • sahostking
    We did notice a massive spike in comparison to Litespeed. Litespeed uses 60% of our memory whereas with nginx it gets to 90% and we did at one point have to restart Nginx But other than that it seemed ok. Will do more testing sometime. I am aware though even with Engintron we had high memory usage. So it is possible. Its just I don't think 20 to 30GB sounds reasonable when changing to http2. Maybe monitor the /var/log/nginx/access.log file or /var/log/nginx/error.log file and see if u can spot anything strange there
    0

Please sign in to leave a comment.