phpHostingDeals

CALL NOW!(ID:85470)
+1-855-211-0932
HomeCPU StatsWhy am I seeing only php in my Load Stats?

Why am I seeing only php in my Load Stats?

As we run PHP in CGI mode, most of your applications will be executed through this module. Therefore, if you have a lot of PHP based applications on your website, it is normal to see the php as a main CPU consumer. How do I reduce the amount of resources being used by my website(s)? The best work-around for this is to examine your entire daily stats and look for the PHP scripts with the most requests. You can try the following:
  1. Figure out what PHP script is causing the maximum CPU/memory load. You may use the WebAlyzer statistics (Traffic Stats section of the Control Panel) and check which particular file has the most requests. For example, it can be http://www.my-best-domain/phpbb/index.php, which has reveived the most hits. It is most likely that this script may need to be optimized or is being used out of control.
  2. Once you have found the script with the largest load, you can now focus on the particular application. Your options depend on whether this script is a part of a larger program, something you have created, or is something that was due to a hacker compromising another script. For example, if you have a blog and a forum running, turn one off, wait a day, then turn it back on. See what sort of impact that has on your Load Stats. Check if there are any new versions or security updates for this particular application. Usually, the new versions are more optimized than the old ones in terms of resource usage.