• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

statistics_collector takes 12-15 hrs to complete

gennolo

Basic Pleskian
I am running Plesk 12.5.30 on several Centos 6.7 VMs.
From some days some VMs takes hours to complete the nightly "statistics_collector" thing (up to 12/15 hours) and increases load average of the VMs themselves.

Usually the process had always took 3-4 hours to complete and I am puzzled in troubleshooting this.

"ps auxf" on the involved boxes show this situation for the most part of the process:

Code:
root      60556  0.0  0.0  19052   604 ?        Ss   03:01   0:00 /usr/sbin/anacron -s
root      61928  0.0  0.0 106060   756 ?        SN   03:26   0:00  \_ /bin/bash /usr/bin/run-parts /etc/cron.daily
root      61952  0.0  0.0 106060   744 ?        SN   03:26   0:00      \_ /bin/sh /etc/cron.daily/50plesk-daily
root      61954  0.0  0.2 355788  4208 ?        SN   03:26   0:00      |   \_ /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini /usr/local/psa/admin/plib/DailyMaintainance/script.php
root      63590  0.0  0.2 354504  4208 ?        SN   03:27   0:00      |       \_ /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini /usr/local/psa/admin/plib/DailyMaintainance/task-script.php ExecuteStatistics --period=daily
root      63595  0.0  0.2 359640  4208 ?        SN   03:27   0:00      |           \_ /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini /usr/local/psa/admin/sbin/statistics --no-webstat
root      63600  0.7  3.7 153452 71452 ?        DN   03:27   2:34      |               \_ /usr/local/psa/admin/bin/statistics_collector
root      61953  0.0  0.0 105948   608 ?        SN   03:26   0:00      \_ awk -v progname=/etc/cron.daily/50plesk-daily progname {?????   print progname ":\n"?????   progname="";????       }????       { print; }

So it appears statistics_collector staying in "uninterruptible sleep" status.

BTW - What is this process doing ?
Code:
awk -v progname=/etc/cron.daily/50plesk-daily progname {?????   print progname ":\n"?????   progname="";????       }????       { print; }

I had problems with statistics_collector in the past resulting my VMs to have high I/O (I upgraded disks to more performant hybrid-NFS storage and the problem seemed partially resolved until today).

Any idea to better troubleshoot what's happening or what part on statistics take so long to complete?
Note that I have already disabled web-statistics on all domains.

Thanks for the help.
 
Hi Igor,
My mistake - I had the previous topic bookmarked to the "old" Odin forum (http://forum.odin.com/) and I didn't realized it was migrated here too so I started a new discussion.
Feel free to close / delete old thread or to move this update in the old discussion.
 
Back
Top