Home > Help Center > General > What does the term 'processor minutes' mean?

What does the term 'processor minutes' mean?

In this article we will provide you with more information about the term processor minutes and will answer the questions that arise around it.

What does the term 'processor minutes' mean?

Processor Minutes is a parameter that indicates the allowed processor limit for each hosting plan. Each hosting plan has a time limit on which the processor handles user account scripts in that plan, and this limit is calculated for every 24 hours.

Calculation of the processing minutes is done by multiplying the number of processed php, perl, bash scripts for 24 hours by the average execution time of all executed scripts for that period. The average script execution time is calculated in seconds.

The formula for calculating the processing minutes is as follows:

scripts * time = CPU minutes,

where:

  • script is the number of scripts processed,
  • time is the average time to process a script in minutes,
  • CPU minutes shows the used processor minutes for 24 hours.

How can we check how many CPUs we've spent so far?

The processor minutes can be seen in cPanel (control panel) by going to the bottom of the CPU Manager located in the Tools section and there to look at the detailed CPU statistics our account generated.

The page shows graphs in which you can clearly see the resource you are using for a certain period.

Also, the system allows you to do queries on a selected day on which you see individual time periods.

Here we check for the day the account exceeded its CPU resource:

  • Account: icntest
  • Date: 2015-07-13
  • Number of processed PHP skip: 6480
  • Average processing time for PHP script: 0.01683 min

You have full access to the logs of the resources your hosting account uses. You can access them via FTP or through the file manager in your cPanel.

The logs are located in the /home/tmp/resources/.collector-ng folder.

There are several subdirectories in this directory:

  • cmd-stats - the log files here contain information about all processes that run as perl, bash and php scripts. It generates two files per day - one for the total 24-hour period and the other for periods of 3 hours;
  • cpu - the log files are generated for the consumed CPU minutes. It generates two files per day - one for the total 24-hour period and the other for periods of 3 hours;
  • mysql - the log files are generated for the consumed MySQL minutes as the logs are divided into hours.

Calculation/Example of Excessive Resource:

6480 * 0.01683 = 109.0584 processor minutes for 24 hours

* Checked out for date 2015-07-13 from 00:00 to 24:00

We recheck for a day the account was fully compliant with the limits without exceeding its CPU:

  • Account: icntest
  • Date: 2015-07-12
  • Number of processed PHP skippers: 2160
  • Average processing time for PHP script: 0.01666 secs
  • Calculation of processor minutes:

2160 * 0.01666 = 35.9856 processor minutes for 24 hours.

  • The check is for date 2015-07-12 from 00:00 to 24:00.
  • The processing time values ​​are completely correct.
  • They can not be wrong or manipulated/changed manually as they are calculated automatically by the system.

In this case, CPU minutes are exceeded due to the increased number of PHP scripts processed.

Still not finding what you're looking for?

Contact our support team with any additional questions or concerns.

Contact support