Skip to main content

Account over quota issue

Comments

10 comments

  • cPWilliamL
    Perhaps this account has large mailing lists? Do you see the user in `/var/cpanel/datastore/mailman-disk-usage' with large usage?
    0
  • boing
    Perhaps this account has large mailing lists? Do you see the user in `/var/cpanel/datastore/mailman-disk-usage' with large usage?

    Thank you for the reply and thought. I don't think so. In fact, this doesn't even narrow it down to a user and is really small: root@--- [/var/cpanel]# du -sm /var/cpanel/datastore 1 /var/cpanel/datastore
    0
  • boing
    Any other ideas? I've got several accounts that are suddenly reporting at/near quota that I cannot account for when I inspect the directories mentioned above. I happen to be picking on the one mentioned above, but several are in that boat. (Some accounts I've had to artificially inflate, so to speak.)
    0
  • cPanelMichael
    Hello, It's possible files owned by this user exist outside it's home directory. You can obtain a list of files owned by the user with commands such as:
    id username find / -uid $UIDNUMBER > /root/username.output
    Thank you.
    0
  • boing
    Hello, Still no luck. (Thanks for the tip though!) Even after that, and not even narrowing down some of these directories to just that user, I've only got:
    root@--- [~]# du -sm /tmp/ /var/spool/mail/ /etc/vfilters/ /etc/vdomainaliases/ /etc/valiases/ /home/username/ 1 /tmp/ 1 /var/spool/mail/ 1 /etc/vfilters/ 1 /etc/vdomainaliases/ 1 /etc/valiases/ 5766 /home/username/ root@--- [~]#
    (I did exclude things like /home/virtfs/*, which is correct to do, ya?) Yet cpanel is reporting 12522.11 MB used.
    0
  • boing
    By the way, that was after doing:
    root@--- [~]# id username uid=514(username) gid=524(username) groups=524(username)
    followed by:
    root@--- [~]# find / -uid 514 > /root/username.filelist
    And then examining that /root/username.filelist file. Running against the group id number yielded nothing.
    0
  • akust0m
    Hey, not sure if it will help. But just in case the usage is incorrectly reported, you could try clearing and building the disk usage cache for this user to make sure? cpapi2 --user=username DiskUsage clearcache cpapi2 --user=username DiskUsage buildcache
    0
  • cPanelMichael
    Hello, Feel free to open a support ticket using the link in my signature so we can take a closer look. Thank you.
    0
  • boing
    Hello akust0m, Hrm... all sorts of errors with that. Thoughts?
    root@--- [~]# cpapi2 --user=MyUserName DiskUsage clearcache [2017-10-27 09:34:17 -0700] warn [cpanel] Failed to write "/home/MyUserName/.cpanel/caches/filesys/~" Cpanel::Filesys::__ANON__(Cpanel::Exception::IO::WriteError=HASH(0x40ef000)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Try/Tiny.pm line 119 Try::Tiny::try(CODE(0x40ee958), Try::Tiny::Catch=REF(0x1a01cd8)) called at /usr/local/cpanel/Cpanel/Filesys.pm line 121 Cpanel::Filesys::disk_space_check("/", 1) called at cpanel.pl line 772 cpanel::cpanel::script("cpanel::cpanel", "--json-fast-connect", "--stdin") called at cpanel.pl line 272 [2017-10-27 09:34:17 -0700] warn [cpanel] Failed to write "/home/MyUserName/.cpanel/caches/filesys/~home~MyUserName" Cpanel::Filesys::__ANON__(Cpanel::Exception::IO::WriteError=HASH(0x40eedd8)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Try/Tiny.pm line 119 Try::Tiny::try(CODE(0x40ef048), Try::Tiny::Catch=REF(0x40ee838)) called at /usr/local/cpanel/Cpanel/Filesys.pm line 121 Cpanel::Filesys::disk_space_check("/home/MyUserName", 1) called at cpanel.pl line 773 cpanel::cpanel::script("cpanel::cpanel", "--json-fast-connect", "--stdin") called at cpanel.pl line 272 --- cpanelresult: apiversion: 2 data: - status: 1 statusmsg: cache cleared event: result: 1 func: clearcache module: DiskUsage root@--- [~]#
    The buildcache produced similar errors and cpanel results. I ran both commands, then ran both again in case something was corrupt the first time through. (and of course replaced MyUserName with the actual username in the snippet above) After doing so, cpanel still reports this user as using ~2.5x more data than it appears to be using. I then ran: /scripts/fixquotas And still the same, cpanel still reports this user as using ~2.5x more data than it appears to be using.
    0
  • boing
    Hello, Feel free to open a support ticket using the link in my signature so we can take a closer look. Thank you.

    Hello, Thanks. I think I'll have to at this point. Thanks, -Jeremy
    0

Please sign in to leave a comment.