Negative disk used (e.g. -1.43 M) for pop accounts in cpanel

spaceman

Well-Known Member
Mar 25, 2002
514
7
318
G'day.

I've seeing a high incidence of negative sized POP accounts, i.e. when I click 'Show disk space used' I'm seeing lots of negative sizes, e.g. -0.19 M.

I've seen this advice as a fix:

This is actually pretty common. You simply need to run:
/scripts/generate_maildirsize

Another quick fix is to cd /home/username/mail/domainname/username
and delete the maildir file. It'll auto generate the next time cpanel needs the value. (an example being 'show disk space used' in their mail page)
That's all well and good - one or both appears to fix the problem, But it seems to be happening again and again where previously (in 7 years of using cPanel) I've never seen this happening before.

Anyone any ideas why this might have started? Bug in a new cPanel release?

WHM 10.8.0 cPanel 10.9.0-R10737
CentOS 4.5 i686 - WHM X v3.1.0

Thanks.