Apache process uses more than 100% cpu

arazit

Verified User
Joined
Aug 20, 2008
Messages
171
Hello,
I update centos to CentOS Linux release 7.3.1611 (Core).
When I update OS and update server software I have a problem with cpu usage.
This problem solved when I deleted this files in /tmp folder:
apache-default_SESSION.dir apache-global.dir apache-ip.dir and apache-default_SESSION.pag apache-global.pag apache-ip.pag
But after one or 2 days cpu usage go to more than 100%.
What to do?
I build server software with custombuild 2:
./build all d
./build rewrite_confs

What to do for solve this?
Thank you
 
I used php1 in suphp mode.
I don't want switch from apache to nginx_apache.
why this happened?
 
are you using php-fpm?
I saw this recently and switching to single php mode and NOT using php-fpm worked.
eventually went to nginx as I have sites that require different php versions though
 
are you using php-fpm?
I saw this recently and switching to single php mode and NOT using php-fpm worked.
eventually went to nginx as I have sites that require different php versions though
I used php1 5.6 in suphp mode and php2 7.0 in php-fpm mode
 
Hello,
I removed php 7.0 and change it to single php mode.
But this issue not solved yet.
 
Back
Top