How to recalculate statistics for a particular domain in Plesk

Follow

Comments

4 comments

  • Avatar
    Gilberto

    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?

     

    0
    Comment actions Permalink
  • Avatar
    Alisa Kasyanova

    @Gilberto
    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).

    0
    Comment actions Permalink
  • Avatar
    Bob B

    Would running "/usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=example.com" 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?

    0
    Comment actions Permalink
  • Avatar
    Alisa Kasyanova

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

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request