Continued High CPU Usage (PHP-FPM)

in blog •  2 years ago 

Earlier, it was observed that the CPU usage spiked for a longer period of time than expected. I took a deep dive and found no usual activity. However, it was mainly caused by PHP-FPM process.

image.png

The logs are fine - and not much traffic from bots. so I guess it is due to configurations/settings.

The php-fpm is set to "ondemand" mode with a pm.max_children set to 64. It is running on a 4 Core - 6 GB VPS as shown above.

I have in the meantime set a rate-limiting rule to the / e.g. what-ever traffic comes in for about 1 visit per second.

I will closely monitor this.


Steem to the Moon!

  1. You can swap the STEEM/SBD to USDT (TRC-20) via Steem2USDT
  2. Register a free STEEM account at here

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE BLURT!