I have recently noticed whilst looking at process manager that index.php is often running at 95% CPU. I’m guessing this is not normal. Are there any suggestions to try and establish why this may be the case. Thank you
Regards
What do you have running on your index.php page?
Graphics intensive, highly animated banners could be causing it.
Sometimes dodgy Flash or Javascript can have infinite loops that eat up your processor.
Post a link and I'll check it out.
Amit, index.php is part of every customer operation on your site. It would not be unusual for the PHP process that is running index.php as it's source file to run at 95% CPU usage for a very brief period. But it shouldn't stay there.
What “process manager” are you using? Do you know it to be accurate and reliable? Suggest you confirm with 'ps'.
[quote name='tbirnseth' timestamp='1319070195' post='124094']
Amit, index.php is part of every customer operation on your site. It would not be unusual for the PHP process that is running index.php as it's source file to run at 95% CPU usage for a very brief period. But it shouldn't stay there.
What “process manager” are you using? Do you know it to be accurate and reliable? Suggest you confirm with 'ps'.
[/quote]
More than likely a shitty VPS setup, if it's using suPHP with hardly any processing power, you will get that quite often as part of the environment setup.