Web statistics does not get updated

Created:

2016-11-16 12:51:34 UTC

Modified:

2017-08-16 16:09:49 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Web statistics does not get updated

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 11.x for Linux

Symptoms

Webstat data stopped being updated on a daily basis.

Simply recalculating statistics using the following command did not fix the issue as command has hanged:

# /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=example.com

There are hanged statistics_collector tasks in processes:

# ps auxf |grep stat    
root 22754 0.0 0.0 88416 2092 ? S Jun30 0:00 /usr/local/psa/admin/bin/statistics_collector
root 29694 0.0 0.0 88416 2092 ? S Jun30 0:00 /usr/local/psa/admin/bin/statistics_collector
root 4302 0.0 0.0 88416 2092 ? S Jun30 0:00 /usr/local/psa/admin/bin/statistics_collector

Cause

statistics_collector task hanged

Resolution

  1. Kill all hanged tasks:

    # kill -9 22754 29694 4302
  2. Recalculate statistics:

    # /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=example.com

or

    # /usr/local/psa/admin/sbin/statistics --calculate-all
Have more questions? Submit a request
Please sign in to leave a comment.