Page tree
Skip to end of metadata
Go to start of metadata

This document is for a previous release of cPanel & WHM. To view our latest documentation, visit our Home page.

For cPanel & WHM 11.40

( Home >> Server Configuration >> Tweak Settings )

 

Allow users to update Awstats from cPanel

This option lets you specify whether the server should allow your cPanel users to update the AWStats web statistics program.

Click the button that corresponds to the value you wish to select. This item defaults to Off.

 

Delete each domain's access logs after stats run

This item allows you to specify whether the server should delete each domain’s access log after statistics are processed. Enable this option to help conserve disk space.

Click the button that corresponds to the value you wish to use. This item defaults to On.

 

Archive logs in the user's home directory at the end of each stats run unless configured by the user

This option archives logs in the user's home directory at the end of each statistics run.

  • If this option is set to off, the logs will not be archived.
  • The user may override this behavior in their configuration.
  • The default value is on.

 

Remove the previous month's archived logs from the user's home directory at the end of each month unless configured by the user

This option removes the archived log files from the user's home directory at the end of each month.

  • If this option is set to off, the archived logs will be retained.
  • The user may override this behavior in their configuration.
  • The default value is on.

 

Extra CPUs for server load

This item allows you to specify a value to add to the number of physical CPUs in your server. The sum of these two numbers will become the value at which cpuwatchcpanellogdbackups, and CPU stats will consider the system to be in a critical load state.

Click the button next to the text box and enter the value you wish to use. This value defaults to  0.

 

Include password in the raw log download link in cPanel (via FTP)

This item allows you to specify whether the server should include the password in the raw log download link on the cPanel FTP Accounts interface.

Click the button that corresponds to the value you wish to select. This item defaults to On.

 

Keep master FTP log file

Enable this option to ensure that the system does not delete the /usr/local/apache/domlogs/ftpxferlog file whenever FTP logs are parsed by domain.

Click the button that corresponds to the option you wish to select. This item defaults to Off.

 

Keep log files at the end of the month

This option allows you to keep log files at the end of each month. If this option is disabled, they are deleted.

Click the button that corresponds to the option you wish to select. This item defaults to Off.

Note:

We do not recommend this option. Log files can quickly use up your server's disk space.

 

Keep stats logs

Enable this option to retain the stats log (/usr/local/cpanel/logs/stats_log) between cPanel restarts.

Click the button that corresponds to the option you wish to select. This item defaults to Off.

Note:

If you have used WHM's cPanel Log Rotation Configuration option to configure the log to be archived monthly, the log may be deleted after it is archived.

 

Apache log file chmod value

This item allows you to set the Apache log file’s  chmod value. The chmod value sets permissions for who can read, write to, and execute a file.

Click the button next to the text box and enter the chmod value you wish to use. This item defaults to 0640.

For more information on chmod, use the following command from the command line interface: man chmod

For more information about file permissions, visit the Wikipedia article.

 

Show bandwidth usage in megabytes by default in WHM

This item allows you to specify whether WHM should display bandwidth usage in megabytes.

Click the button that corresponds to the value you wish to select. This item defaults to Off.

 

Stats log level

This item allows you to specify how much information the server should include in /usr/local/cpanel/logs/stats_log.

This item can accept integers between 1 and 10. Higher numbers indicate greater detail. This item’s default value is 1.

Click the button next to the text box and enter the integer that you wish to use.

 

Log rotation size threshold

This item allows you to specify a threshold, above which cpanellogd will rotate log files.

Click the button next to the text box and enter the value you wish to use. This item defaults to 300 megabytes.

 

Use RRDtool binary instead of native Perl RRDtool implementation

RRDtool is a utility that cPanel & WHM uses to store bandwidth data. cPanel & WHM now includes native Perl bindings to the RRD system. Perl bindings to the RRD system are enabled by default, as they are faster and impose less load on your server.

If the Perl bindings are not functioning correctly, you can select On to force cPanel & WHM to use the RRDtool binary. This value defaults to Off.

 

The interval, in days, to retain Exim stats in the database

This option allows you to specify the number of days you wish to keep Exim stats.

To specify a new value, click the button next to the available text box and enter a new value. This item's default value is 90.

 

Use delayed sql inserts in the eximstats process to reduce the number of disk writes.

This option queues SQL inserts into memory until they can be written as a single block. In general, this action is much faster than when multiple separate inserts are performed. However, this action uses additional memory while the rows are queued.

Click the button which corresponds to the value that you wish to select. The default value is On.