I have a client who hosts with NetLogistics in Australia. A couple weeks ago, we started to get random 500 internal errors consistently on the site. Consistently being that we are getting the 500 errors but never the same script/url consistently. Its completely random. Everything worked just fine up until a couple weeks ago. Nothing was changed by any of us unless cPanel automatically did something.
I've scoured the logs and the only thing recorded for these errors are similar to:
[Fri Feb 25 15:48:55 2011] [error] [client 58.11.6.200] SystemException in API_Linux.cpp:172: setuid() failed: Resource temporarily unavailable, referer: http://mywebsite.com/myscript.php
[Fri Feb 25 15:48:55 2011] [error] [client 58.11.6.200] Premature end of script headers: myscript.php, referer: http://mywebsite.com/myscript.php
I use suPHP with PHP5 on a CentOS 5.2 server. I have checked, rechecked, and triple checked that ownership and permissions are correct (755 for directories, 644 for files; all owned by user and user's group). I don't think this is a permission issue because of the error's randomness.
I have tried increasing PHP's memory_limit, max_execution_time, etc to no avail. I've tried increasing the number of Apache SpareServers, MaxClients, etc to no avail. I've turned all loglevel's to info but am given nothing.
As far as I know, I have nothing installed that would limit the number of PHP processes unless cPanel has something native. But from what I have read, cPanel does not unless I install a custom suPHP module to limit processes and I have not done so.
Any ideas? I'm pretty much at my wits end ;-)
Thanks,
Alan



LinkBack URL
About LinkBacks
Reply With Quote





