Dear Team
I have aws with nginx server for my magento store

but last 4 dys i found some times my cpu utilization going very high more than 90% but my website visit very less

that time i check with Top commend i found too much nginx process are running

can u help me for fixing this issue ?

please check this image

http://prnt.sc/u0dfos

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi there @shiraski,

It looks like there are a lot of PHP-FPM processes that are causing the high CPU usage on your server.

What I could suggest is using this script here which will summarize your Nginx access logs. That way you will be able to tell if the traffic that you are getting is legitimate or not.

If the traffic is legitimate, I would recommend doing some optimization for your Magento server so that it does not need so much CPU resources. For example as a start you could do:

  • Enable caching
  • Enable flat catalogue
  • Add a CDN in front of your web server
  • Enable PHP OpCache

Let me know how it goes.
Regards,
Bobby

Submit an Answer