Answer the question
In order to leave comments, you need to log in
The server 4 times a day is completely clogged by 100% for CPU and 100% for RAM. Cause?
Hi all. We use nginx + php-fpm + mysql + laravel framework. In other words, LEMP.
I noticed that 4 times a day the server is 100% full. For about 5 minutes everything completely falls down and the server does not respond. It takes 5 minutes - everything is fine.
How to identify the cause? With using what?
What could be the reasons? If the reason is in the code, then how to trace the weak spot in the code?
Answer the question
In order to leave comments, you need to log in
Set up monitoring. For example zabbix.
For mysql and nginx, you can enable logging of slow queries.
Learn server administration (top, iostat, ps, show processlist, logs, etc.) or contact a good admin.
If the problem occurs regularly at the same time, check cron first.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question