• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Accurate disk usage

LuisN

New Pleskian
On the Domains page, I have a newly created domain that lists disk usage as 2.93MB. I set up an IMAP mail account under this domain and sent that user an e-mail with a 10MB attachment. However, disk usage is still at 2.93MB. If I do a "Full Report" on the domain, I can see the 10MB in the mail account, but the domain total is still listed as 2.93MB.

Am I doing something wrong or is this expected? Or is it possible that the overall disk usage number is only calculated every X hours or every day while the other numbers are updated on the fly?

Alternatively, is there a better way to see disk usage by domain? Since most of my customers have small sites but use IMAP, the majority of my disk usage will be in the form of data stored in IMAP mailboxes.
 
Hello,

Parallels Plesk Panel has a special script for updating such stats - DailyMaintainance script.

"DailyMaintainance/script.php" -

- start "statistics" to count traffic, disc space, create Web stats pages and put result to psa.DomainsTraffic
- results processing: calculation of client traffic, comparison with Resource limits in Plesk, send notifications, suspending

The utilities are executed from root cron job:

~# cat /etc/cron.daily/50plesk-daily
...
# install_statistics
/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php >/dev/null 2>&1
...
~#

Time when daily cron job is executed:

/etc/crontab
--->8---
# run-parts
57 * * * * root run-parts /etc/cron.hourly
4 0 * * * root run-parts /etc/cron.daily
28 2 * * 0 root run-parts /etc/cron.weekly
58 1 11 * * root run-parts /etc/cron.monthly
---8<---

Changes do not have effect immediately but after statistics utility was executed.
 
Back
Top