psytanium

Well-Known Member
Jun 6, 2014
297
16
68
Lebanon
cPanel Access Level
Root Administrator
Hello,

I was checking the Disk Usage of 1 of my accounts on cPanel, I found 2 weird things
  1. the mysql size is 185.68 MB while it should be around 24 MB
  2. What is Files in hidden sub directories ?
Image attached. Thanks :)
 

Attachments

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,219
463
Hello,

What is Files in hidden sub directories ?
Hidden subdirectories are directories within your account's home directory and below with a leading period in the name (e.g. /home/$username/public_html/.12345).

the mysql size is 185.68 MB while it should be around 24 MB
Could you let us know what steps you are using to verify the MySQL disk space usage? You can check the MySQL disk space usage via a command such as:

Code:
du -sh /var/lib/mysql/database_name
Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,219
463
Hello,

Does that size correspond with the output from the "du -sh /var/lib/mysql/database_name" command?

Thanks.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,219
463
Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,219
463
Hello,

I'm happy to see the issue is now resolved. Note that MySQL disk space usage is updated via the following root cron job:

Code:
30 */4 * * * /usr/bin/test -x /usr/local/cpanel/scripts/update_db_cache && /usr/local/cpanel/scripts/update_db_cache
It's likely you were viewing cached MySQL disk space usage and it was updated after this cron job ran.

Thanks!