Symptoms
-
The web-statistics calculation does not work: The values at Tools & Settings > Traffic Usage by Domains (under Statistics) are not updated.
-
When manually recalculating the statistics for a domain, the operation fails with the following error message:
# /usr/local/psa/admin/sbin/statistics –calculate-one –domain-name=example.com
WARNING during statistics_collector execution: : statistics_collector: Unable to parse pending domains traffic line: ?:: 2014-10-2 smtp 0
System error 11: Resource temporarily unavailable
Cause
The statistics_collector
processes are not responding.
Resolution
-
Connect to the Plesk server via SSH.
-
Kill all existing
statistics_collector
processes using their PIDs:# ps auxww | grep stat*
root 7935 0.0 0.0 86568 3676 ? S 09:43 0:00 /usr/local/psa/admin/bin/statistics_collector
root 7964 0.0 0.0 86568 3140 ? S Dec18 0:00 /usr/local/psa/admin/bin/statistics_collector
root 11027 0.0 0.0 86568 3676 ? S 09:49 0:00 /usr/local/psa/admin/bin/statistics_collector
root 11515 0.0 0.0 86716 3668 ? S Dec10 0:01 /usr/local/psa/admin/bin/statistics_collector# kill -15 7935 7964 11027 11515
-
Recalculate statistics for all domains with the command:
# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -f ExecuteWebStatistics