Applicable to:
- Plesk 12.5 for Linux
- Plesk Onyx for Linux
Note: This article has the reference to the issue with the fix available:
- #PPPM-5114 "Support issue #PPPM-5114"
Fixed in:- Plesk Onyx 17.0 Release 15 November 2016
- Plesk Onyx Update 6 14 November 2016 (Linux)
Please consider updating your server:
Symptoms
The usage of mailbox space differs between Plesk and mailbox directory on a server.
In Plesk > Subscriptions > example.com > Mail tab mail Usage shows 100MB.
But on the server the mailbox directory size is:
# du -schl /var/qmail/mailnames/example.com
350M /var/qmail/mailnames/example.com
350M total
Refreshing mail usage by clicking Refresh Usage Stats at Plesk > Subscriptions > example.com > "Mail" tab does not solve the issue.
Cause
This is Plesk bug with ID #PPPM-5114 that was fixed in Plesk Onyx 17.0 Update #6.
Resolution
Upgrade to the latest version using Plesk Autoinstaller.
Comments
2 comments
Mailbox size can be higher than the available disk size if a mail file is hard linked numerous times.
To find if you have hard links in your MailDir use:
find . -typef -links +1 -exec ls -lai {} \;
This will show the inode of the hard links in the first column and the number of copies (hard linked) to the file.. you can then use find . -type f -inum NNNNN to find all the copies. Delete all bar 1 and your space calculation will return to normal.
@Sid
Hello!
Thank you for this useful notice. Other Pleskians may find it helpful.
Please sign in to leave a comment.