What is Load Stats?
The load statistics represent the server load per a specific time
period. These stats are quite useful when you check what is the average
load that your website(s) generates. For instance, if you have trouble
accessing your website, you can refer to these statistics to see if
this is a server related issue or a network connection problem.
Why do I need these statistics?
You should be aware of the amount of server resources that your
website(s) uses in order to abide by our Terms of Service. There you
may find more information about the allowed CPU usage. We recommend
that you often check what is the current CPU load of your website(s) so
you can prevent any possible interruption in the service.
You can preview the detailed statistics for each day, month or for an entire calendar year.
CPU Time: It stands for the length of time during which the server's CPU processes your scripts.
Execution Time: It represents the entire duration of your scripts'
execution, including all other neighbor operations related to the
processes.
CPU Usage: It stands for the average server load generated by your
scripts during a specific time period - an hour, an entire day or a
whole month, and is estimated by comparing your CPU time to the total
CPU time (100%), which is assumed to be 34560 seconds. You should often
check this value in order to comply with the maximum allowed CPU usage
for your particular account type.
Average Memory: It represents the amount of RAM that was used for the execution of your scripts.
Processes: The shown value stands for the number of processes, which
have been run during the specified time period. There is no limit for
the running processes themselves.
Tip: When you choose to review the daily statistics, simply move
your mouse over a time period to check the exact names of all completed
processes, their CPU timings and memory usage.
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.