Site Cpu i 100% , php-fpm pool error

March 6, 2018 1.2k views
Nginx WordPress MySQL CentOS

for some reason my php-fpm is fully used
I got 32 GB of ram but site keeps triggrtin 100 %

2377 mysql 20 0 5342m 892m 7284 S 57.7 2.8 349:07.40 mysqld
20385 admin 20 0 699m 174m 56m S 52.4 0.5 3:29.78 php-fpm
20579 admin 20 0 677m 149m 53m R 48.7 0.5 2:15.05 php-fpm
20583 admin 20 0 684m 156m 53m R 38.8 0.5 2:14.54 php-fpm
20389 admin 20 0 686m 159m 55m R 36.8 0.5 3:39.05 php-fpm
20391 admin 20 0 687m 159m 54m S 36.8 0.5 3:33.46 php-fpm
20390 admin 20 0 677m 154m 58m R 35.5 0.5 3:29.32 php-fpm
20396 admin 20 0 626m 99m 54m S 32.8 0.3 3:29.63 php-fpm
20580 admin 20 0 689m 163m 55m R 27.8 0.5 1:57.40 php-fpm
20586 admin 20 0 681m 153m 53m R 27.8 0.5 2:05.46 php-fpm
20387 admin 20 0 685m 159m 55m S 25.9 0.5 3:28.90 php-fpm
20388 admin 20 0 691m 164m 54m S 24.5 0.5 3:13.69 php-fpm
20863 admin 20 0 671m 141m 52m R 18.6 0.4 1:44.76 php-fpm
20590 admin 20 0 674m 145m 52m R 17.6 0.5 2:12.64 php-fpm
20862 admin 20 0 685m 159m 55m R 12.6 0.5 1:48.39 php-fpm
20581 admin 20 0 623m 96m 54m S 11.3 0.3 2:15.36 php-fpm
20584 admin 20 0 626m 101m 56m R 11.3 0.3 2:12.28 php-fpm
20392 admin 20 0 621m 98m 58m R 10.9 0.3 3:30.12 php-fpm
20585 admin 20 0 627m 100m 54m S 8.6 0.3 2:13.30 php-fpm
20386 admin 20 0 621m 93m 53m R 5.0 0.3 3:41.09 php-fpm
2522 nginx 20 0 189m 10m 1924 S 1.0 0.0 5:16.25 nginx
2523 nginx 20 0 190m 10m 1916 S 1.0 0.0 8:03.12 nginx
2519 nginx 20 0 188m 9212 1888 S 0.7 0.0 1:55.98 nginx
2518 nginx 20 0 188m 8888 2012 S 0.3 0.0 1:29.80 nginx
2521 nginx 20 0 188m 8872 1892 S 0.3 0.0 3:40.63 nginx
21286 root 20 0 15152 1488 1008 R 0.3 0.0 0:00.05 top

need assistant- using clouudflare and memcahced but still super weird

1 Answer

when i look restart php-fpm i get the error
tarting php-fpm: PHP: syntax error, unexpected '(' in /etc/php.ini on line 1842
[06-Mar-2018 08:49:59] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/apc.so' - /usr/lib64/php/modules/apc.so: cannot open shared object file: No such file or directory in Unknown on lin e 0
[ OK ]

and then it starts

any solution?

Have another answer? Share your knowledge.