![]() |
php-cgi and high cpu
Hi,
When I'm execute any web with php in my server, I have very php-cgi proceses and my cpu is a 90-95%. I try reinstall php and apache but it is not a solution in my problem. Anybody help me with this? :mad: My php version is: PHP 5.2.14 Thanks... |
Did you enable PHP-CGI or PHP-FastCGI? FastCGI should use less resources than CGI.
|
I enabled Fastcgi, my fastcgi.conf is :
Code:
AddHandler fcgid-script .fcgiCode:
AddHandler fcgid-script .fcgiBut can't resolve the problem, my cpu is a 95-100% |
Are there any errors related to this in your logs (especially the Apache error log)?
|
Yes in my apache error.log:
Code:
[Thu Nov 11 23:07:48 2010] [notice] mod_fcgid: call /var/www/web2.com/web/index.php with wrapper /var/www/php-fcgi-scripts/web10/.php-fcgi-starter |
Can nobody help me?:(
|
What's the output of
Code:
ls -la /var/www/web1.info/web/index.php |
Output of ls -la /var/www/web1.info/web/index.php:
Code:
# ls -la /var/www/web1.info/web/index.phpCode:
# ls -la /var/www/web2.com/web/index.phpThe index.php are a few simple recently installed wordpress. |
| All times are GMT +2. The time now is 12:15. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.