How to recalculate statistics for a particular domain in Plesk?




  • Avatar

    Hi, if I recalculate the statistics, my customer are suspend after a night. Is there a job scheduled? Which job? Can I test it and, in test phase, suspend immediately a test-customer?


  • Avatar
    Alisa Kasyanova

    Statistics are calculated during Daily Tasks' "ExecuteStatistics" part. You may run it separately like this (if you use Windows) or this (if you use Linux).
    Customer gets suspended most likely because of exceeded limits (please check this article).

  • Avatar
    Bob B

    Would running "/usr/local/psa/admin/sbin/statistics --calculate-one" also rotate the logs, for that domain, if the logs were above the size threshold specified in the log rotation settings for the domain?  Can I add a scheduled task for command to run for a domain whose logs grow very large before the daily log rotation occurs?

  • Avatar
    Alisa Kasyanova

    @Bob B
    Yes, this command also runs the log rotation, as well as the statistics recalculation.

Please sign in to leave a comment.

Have more questions? Submit a request