Plesk access_log.webstat has huge volume

Refers to:

  • Plesk 12.5 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux


2016-11-16 13:13:41 UTC


2017-01-25 23:19:58 UTC


Was this article helpful?

Have more questions?

Submit a request

Plesk access_log.webstat has huge volume


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 #213373009 error_log occupies too much space and not being rotated

KB #213945865 Missing log rotation configuration file

Have more questions? Submit a request
Please sign in to leave a comment.