We have apache2 web server installed with php in fastcgi
Action application/x-httpd-php "/cgi-wrapper/fastcgi-wrapper"
<Location /cgi-wrapper/fastcgi-wrapper>
Options +ExecCGI
SetHandler fcgid-script
</Location>
<Location /cgi-wrapper/php-ssi-wrapper>
Options +ExecCGI
SetOutputFilter Includes
</Location>
SuexecUserGroup u4686 u4686
ScriptAlias /cgi-wrapper/ /var/www/xxx/
and a cgi wrapper script
#!/bin/bash
. /usr/bin/php-cgi
and some kind of script is eating our memory and mysql cpu at 100%.
php-cgi does not have logging of executable name scripts. How can i directly find the name of bad .php script ?