Portal Home > Knowledgebase > Articles Database > Strange periodic 500 error


Strange periodic 500 error




Posted by Skeptical, 01-26-2011, 12:43 PM
I am running Nginx on CentOS 5.5. I have PHP running in fastcgi mode. Installed Magento and it seems to run fine. However I noticed that periodically it would error out with this: Anyone know what this might be?

Posted by Rapid2214, 01-26-2011, 01:49 PM
version_compare() is being called on index.php, for some reason it can't be run... This is most likely due to an broken include file. Is this on every request or just some? Marty

Posted by Skeptical, 01-26-2011, 10:09 PM
Just sometimes.

Posted by Rapid2214, 01-27-2011, 03:10 AM
Are you experiencing high disk IO?

Posted by Rapid2214, 01-27-2011, 03:27 AM
Also is "cgi.fix_pathinfo = 1" In your active php.ini file?

Posted by bear, 01-27-2011, 10:45 AM
It states the problem. In the index.php file, it's asked to use a function (version_compare) that it doesn't know about. You need to find out why it can't find that function. First step would be to locate that in the php files for the site, to see if it exists. If it does, you need to find out why it isn't available in the page that's asking for it.

Posted by Skeptical, 01-27-2011, 12:21 PM
Found the cause. There were too many open file handles. Changing that and restarting the server fixed it.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Slow MySQL JOINS (Views: 583)
EuroVPS Down ?? (Views: 777)

Language: