Article ID: 118896, created on Nov 28, 2013, last review on Jun 17, 2016

  • Applies to:
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux


Huge volume of aggregated web statistics file 'access_log.webstat'.


Web-statistics recalculation utility selects 'access.log' file, then copies it to the special storage 'access_log.webstat'. Then, 'access_log.webstat' is analyzed by statistics processor. After analyze is finished file should be cut to zero.

When web statistics engine is set to 'None' in the domain settings, the file 'access_log.webstat' is not being processed and therefore its size constantly increases.

This was considered as a software issue #PPPM-1115, fixed in Plesk 11.5.30 MU#27.


Install Plesk microupdates in order to fix the issue.

As a workaround, use the script below. It selects domains with web-statistics utility set to 'None' and cuts 'access_log.webstat' files to zero for them:

# MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -uadmin psa -Ne"select from domains d join hosting h on where h.webstat='none'"|while read d; do > /var/www/vhosts/system/$d/logs/access_log.webstat;done

Put it to an executable file and configure a cron job to launch it every day.

Related articles

Please also refer to the following articles that might be helpful:

KB #118799 error_log occupies too much space and not being rotated

KB #116474 Missing log rotation configuration file

Search Words

huge log file



disable awstats

web-statistics utility

Plesk access_log.webstat has huge volume

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 01bc4c8cf5b7f01f815a7ada004154a2 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f aea4cd7bfd353ad7a1341a257ad4724a

Email subscription for changes to this article
Save as PDF