Mod_fcgid: Can't Apply Process Slot For Error?Mar 9, 2011
update: Just looked at the cache update times of long queries and they did not collide with server crash time. update2: Found the cause of the problem. Ad server is down and the server hangs even though it seemswe set socket timeouts properly. Is there any way to test timeout behaviour?We have a very busy server. ~3K concurrent connectionshe server has 32GB ram 2xCPUs. We have service unavailable error issues.The server does not respond with 500 error and the error log shows hundreds/thousands of lines:
[warn] mod_fcgid: can't apply process slot for /var/www/fcgi-bin.d/php5-default/php-fcgi-wrapper
We think it can be a configuration error or a database connection/query errorA php process updates a cache which is a very very complex query result. 3 separate queries run each twice a day. I have enabled the slow query log. I suspect if the query exceeds the php run time limit 20 secs in our case (set in the following files).