On October 19, 2021, we have enabled single-sign-on for our Plesk Support Center to provide a seamless login/account experience. This implies that you’ll be able to use a single account across any of our web-facing properties.
If you had already registered your account at Plesk 360 (formerly known as My Plesk) please use one for login. Otherwise please re-register it using the same email address as your existing Zendesk login (support account). It’s essential that you use the same email address on our support center to ensure that your tickets stay attached to the same account.

How to recalculate statistics for a particular domain in Plesk?

Follow

Comments

7 comments

  • Avatar
    Gilberto Greppi

    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 Benson

    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
  • Avatar
    Johannes Fuchs

    if i had email notification enabled for abo quota exceeds, will that be triggered too with that command?

    0
    Comment actions Permalink
  • Hi Johannes Fuchs,

    It shoudn't as in my opinion the notification is sent by the daily task, not by the utility that calculates the statistics.

    0
    Comment actions Permalink
  • Avatar
    Kelvin Oliveira

    How many times a day does plesk recalculate the statistics and at what time does this routine run?

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request