• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Plesk PHP Nginx Performance

PandoraT

New Pleskian
I have a site with too many hits instantly. About 1,000 people.

And I see my site sometimes can't respond.

Respond problem: Is this Plesk's Nginx from existing settings?

How can I fix my site's non-response problem? My server's load-avagare status is normal.

I found this:
How to improve nginx performance?

But I couldn't decide how my Nginx settings should be.
 
by default nginx is configured to use 1 thread in /etc/nginx/nginx.conf set this to auto and reload.

having said that.. there is no magic bullet. Depending on your application and how much resources you want. you need to have enough hardware to handle the load. 1000 consecutive this for a static html page is negligible.. for wordpress that is quite a hit.. for magento that is a LOT of activity.
 
i've checked my Servers and see one server was really not set to "auto" /etc/init.d/nginx reload
thank you :)

you should update your nginx-server setting under plesk:

max.children 52
min spare 8
max spare 24

there is a gui for that, choose "dynamic"
 
Back
Top