The strange reason why php-fpm occupies CPU 100% recently, I used the online lnmp one-click installation and configuration of the environment below the net centos6.2 of Lotto. after a few days, I found that php-fpm occupies CPU 100%, run the uptime Command to view the system load, which is about 20, and the first column of vmstat is about 20. the machine basically cannot run php-fpm to occupy CPU 100%.
Recently, I used the online lnmp one-click installation and configuration of the environment in the centos6.2 environment of Lotto Tao. after a few days, I found that php-fpm occupies CPU,
You can run the uptime Command to view the system load, which is about 20, and the first column of vmstat is about 20. the machine basically cannot run.
But it was good a few days ago. I don't know why it suddenly became like this.
I have read many articles on the Internet and adjusted the system kernel parameters and the configuration parameters for php and nginx. the problem persists and I don't know what to do!
The backend is tested by the data center. this is not a code problem. it is because the data disk is infected with viruses, resulting in high bandwidth usage and high system load.
Later, we reinstalled the system and formatted the data disk. so far, no new problems have been found. we need to continue to observe.
As to why the virus is infected, I guess I may have found a novel thief program on the Internet and used it to test the server after installation. The result is also infected. Is it because of this novel thief program, I cannot guarantee it now, but I cannot remember other post-infection channels.
So you should be cautious in the future. the code downloaded from the internet cannot be published on the server at will!
-
First floor tongming13310411 hours ago
-
Dsad