The /usr/local/cpanel/logs/stats_log file contains the statistics logs for your server. If your server experiences problems when it processes statistics, the log file may provide additional information to troubleshoot the issue.

Statistics Status Summary

This section of the interface allows you to view important information about your server's statistics software.

Show which users are behind

Note:

This option only appears if cPanel accounts exist that process statistics behind the server's statistics process schedule. If a cPanel account processes statistics behind the server's schedule, a message about the problem also appears.

To display a list of these cPanel users, click Show which users are behind. A table will appear that displays cPanel users and the number of minutes behind schedule that their accounts process statistics.

Click Change to return to the main Statistics Software Configuration interface.

Use theUser Permissions section of the interface to modify that user's permissions.

Whether the root user grants the user permission to change any generator's status from the default.

Click Change to log in to cPanel as the user that you selelcted and navigate to cPanel's Metrics Editorinterface (Home >> Metrics >> Metrics Editor).

Process Statistics for User

This section of the interface allows you to process individual cPanel accounts' statistics. The process runs in the background and stores the results while you continue to work in WHM. When the process finishes, you can view these statistics from the user's cPanel interface.

To process a user's statistics, select the user from the User to Process menu and click Go.

Generators Configuration

This section of the interface allows you to select your cPanel users' statistical analysis software.

To ensure that backups and log analysis do not occur simultaneously, select the Prevent cpanellogd (Log Processing) and cpbackup (Backups) from running at the same time checkbox.

Click Save.

Notes:

If your server is very busy, your system may require more than one hour to fully analyze log files. Make certain that you leave an adequate number of hours unselected to allow sufficient time for log analysis.

The times that you select only affect the Analog, AWStats, and Webalizer statistics programs. This schedule does not control how the cpanellogd daemon processes bandwidth statistics internally, which is necessary for bandwidth reports in cPanel & WHM. The cpanellogd daemon may still process statistics in blackout hours, and uses minimal resources. The Bandwidth Processing Frequency setting still controls the frequency with which the cpanellogd daemon processes data.

The Extra CPUs for server load setting in the Stats and Logssection of WHM's Tweak Settingsinterface (Home >> Server Configuration >> Tweak Settings) also affects how to server processes statistics. If the system does not process statistics in the allotted time, we recommend that you increase this value.

cPanel, WebHost Manager, and WHM are registered trademarks of cPanel, Inc. for providing its computer software that facilitates the management and configuration of Internet web servers. ®2018 All rights reserved.