Wrong disk space usage

Today i notice that Vmin/Wmin show wrong amount of how much disk is used. I try to change the theme back to orig. one, restart Wmin, restart VPS but nothing changed.

Disk usage is 2.36 GB based on SolusVM but Vmin/Wmin show 32.94 GB. I try with "du -hsx * | sort -rh | head -10" and this is what i got:

1.6G    usr
579M    var
102M    home
60M     boot
42M     etc
8.2M    run
356K    root
320K    tmp
4.0K    srv
4.0K    opt

So its clear that for some reason Vmin/Wmin doesnt show real values.

Status: 
Active

Comments

Which page in Virtualmin are you seeing this on?

Diabolico's picture
Submitted by Diabolico on Sat, 08/22/2015 - 04:15

Main page e.g. System Information page. Tested with Authentic and original theme as i was thinking something is wrong with new theme but its same for both.

Could you post the output from the command df -h on your system? That is what Virtualmin uses to find free space..

Diabolico's picture
Submitted by Diabolico on Sat, 08/22/2015 - 16:01

/dev/simfs      100G  2.4G   70G   4% /
devtmpfs        1.0G     0  1.0G   0% /dev
tmpfs           1.0G     0  1.0G   0% /dev/shm
tmpfs           1.0G  8.2M 1016M   1% /run
tmpfs           1.0G     0  1.0G   0% /sys/fs/cgroup
Diabolico's picture
Submitted by Diabolico on Sat, 08/22/2015 - 16:29

This is from "du -xhs /"

2.4G    /

Just to mention on this server i have basic WP installation (frequently updated) and this bug pop out between last two updates made over Vmin but i'm not sure exactly when.

Diabolico's picture
Submitted by Diabolico on Sat, 08/22/2015 - 16:54

And if helps this is output from "lsof | grep deleted"

dovecot    386              root  116u      REG               0,35        0  703032033  (deleted)/run/dovecot/login-master-notify2403fba94d0f6a7a
dovecot    386              root  133u      REG               0,35        0  703032042  (deleted)/run/dovecot/login-master-notifyd389fbae7409b1b1
dovecot    386              root  136u      REG               0,35        0  703032044  (deleted)/run/dovecot/login-master-notify3724ccf211d5a909
httpd      612              root  mem       REG               0,32           703037274 (deleted)/dev/zero (stat: No such file or directory)
httpd      612              root  mem       REG               0,32               32769 (deleted)/VE2206-SYSV01237736 (stat: No such file or directory)
httpd      612              root  mem       REG               0,32           703035189 (deleted)/dev/zero (stat: No such file or directory)
httpd      612              root  mem       REG               0,32                   0 (deleted)/VE2206-SYSV01237732 (stat: No such file or directory)
sshd       939              root  mem       REG               0,32           703034999 (deleted)/dev/zero (stat: No such file or directory)
sshd       939              root  mem       REG               0,32           703033682 (deleted)/dev/zero (stat: No such file or directory)
mysqld    1122             mysql    4u      REG               0,27        0    9002489  (deleted)/var/tmp/ibO8RiBz
mysqld    1122             mysql    5u      REG               0,27        0    9003030  (deleted)/var/tmp/ibRdDVWs
mysqld    1122             mysql    6u      REG               0,27        0    9003031  (deleted)/var/tmp/ibrVOyim
mysqld    1122             mysql    7u      REG               0,27        0    9003032  (deleted)/var/tmp/ibcgUwr9
mysqld    1122             mysql   11u      REG               0,27        0    9003033  (deleted)/var/tmp/ibmB1Fr5
mysqld    1122 1132        mysql    4u      REG               0,27        0    9002489  (deleted)/var/tmp/ibO8RiBz
mysqld    1122 1132        mysql    5u      REG               0,27        0    9003030  (deleted)/var/tmp/ibRdDVWs
mysqld    1122 1132        mysql    6u      REG               0,27        0    9003031  (deleted)/var/tmp/ibrVOyim
mysqld    1122 1132        mysql    7u      REG               0,27        0    9003032  (deleted)/var/tmp/ibcgUwr9
mysqld    1122 1132        mysql   11u      REG               0,27        0    9003033  (deleted)/var/tmp/ibmB1Fr5
mysqld    1122 1133        mysql    4u      REG               0,27        0    9002489  (deleted)/var/tmp/ibO8RiBz
mysqld    1122 1133        mysql    5u      REG               0,27        0    9003030  (deleted)/var/tmp/ibRdDVWs
mysqld    1122 1133        mysql    6u      REG               0,27        0    9003031  (deleted)/var/tmp/ibrVOyim
mysqld    1122 1133        mysql    7u      REG               0,27        0    9003032  (deleted)/var/tmp/ibcgUwr9
mysqld    1122 1133        mysql   11u      REG               0,27        0    9003033  (deleted)/var/tmp/ibmB1Fr5
mysqld    1122 1134        mysql    4u      REG               0,27        0    9002489  (deleted)/var/tmp/ibO8RiBz
mysqld    1122 1134        mysql    5u      REG               0,27        0    9003030  (deleted)/var/tmp/ibRdDVWs
mysqld    1122 1134        mysql    6u      REG               0,27        0    9003031  (deleted)/var/tmp/ibrVOyim
mysqld    1122 1134        mysql    7u      REG               0,27        0    9003032  (deleted)/var/tmp/ibcgUwr9
mysqld    1122 1134        mysql   11u      REG               0,27        0    9003033  (deleted)/var/tmp/ibmB1Fr5
mysqld    1122 1135        mysql    4u      REG               0,27        0    9002489  (deleted)/var/tmp/ibO8RiBz
mysqld    1122 1135        mysql    5u      REG               0,27        0    9003030  (deleted)/var/tmp/ibRdDVWs
mysqld    1122 1135        mysql    6u      REG               0,27        0    9003031  (deleted)/var/tmp/ibrVOyim
mysqld    1122 1135        mysql    7u      REG               0,27        0    9003032  (deleted)/var/tmp/ibcgUwr9
mysqld    1122 1135        mysql   11u      REG               0,27        0    9003033  (deleted)/var/tmp/ibmB1Fr5
mysqld    1122 1136        mysql    4u      REG               0,27        0    9002489  (deleted)/var/tmp/ibO8RiBz
mysqld    1122 1136        mysql    5u      REG               0,27        0    9003030  (deleted)/var/tmp/ibRdDVWs
mysqld    1122 1136        mysql    6u      REG               0,27        0    9003031  (deleted)/var/tmp/ibrVOyim
mysqld    1122 1136        mysql    7u      REG               0,27        0    9003032  (deleted)/var/tmp/ibcgUwr9
mysqld    1122 1136        mysql   11u      REG               0,27        0    9003033  (deleted)/var/tmp/ibmB1Fr5
mysqld    1122 1137        mysql    4u      REG               0,27        0    9002489  (deleted)/var/tmp/ibO8RiBz
mysqld    1122 1137        mysql    5u      REG               0,27        0    9003030  (deleted)/var/tmp/ibRdDVWs
mysqld    1122 1137        mysql    6u      REG               0,27        0    9003031  (deleted)/var/tmp/ibrVOyim
mysqld    1122 1137        mysql    7u      REG               0,27        0    9003032  (deleted)/var/tmp/ibcgUwr9
mysqld    1122 1137        mysql   11u      REG               0,27        0    9003033  (deleted)/var/tmp/ibmB1Fr5
mysqld    1122 1138        mysql    4u      REG               0,27        0    9002489  (deleted)/var/tmp/ibO8RiBz
mysqld    1122 1138        mysql    5u      REG               0,27        0    9003030  (deleted)/var/tmp/ibRdDVWs
mysqld    1122 1138        mysql    6u      REG               0,27        0    9003031  (deleted)/var/tmp/ibrVOyim
mysqld    1122 1138        mysql    7u      REG               0,27        0    9003032  (deleted)/var/tmp/ibcgUwr9
mysqld    1122 1138        mysql   11u      REG               0,27        0    9003033  (deleted)/var/tmp/ibmB1Fr5
mysqld    1122 1139        mysql    4u      REG               0,27        0    9002489  (deleted)/var/tmp/ibO8RiBz
mysqld    1122 1139        mysql    5u      REG               0,27        0    9003030  (deleted)/var/tmp/ibRdDVWs
mysqld    1122 1139        mysql    6u      REG               0,27        0    9003031  (deleted)/var/tmp/ibrVOyim
mysqld    1122 1139        mysql    7u      REG               0,27        0    9003032  (deleted)/var/tmp/ibcgUwr9
mysqld    1122 1139        mysql   11u      REG               0,27        0    9003033  (deleted)/var/tmp/ibmB1Fr5
mysqld    1122 1140        mysql    4u      REG               0,27        0    9002489  (deleted)/var/tmp/ibO8RiBz
mysqld    1122 1140        mysql    5u      REG               0,27        0    9003030  (deleted)/var/tmp/ibRdDVWs
mysqld    1122 1140        mysql    6u      REG               0,27        0    9003031  (deleted)/var/tmp/ibrVOyim
mysqld    1122 1140        mysql    7u      REG               0,27        0    9003032  (deleted)/var/tmp/ibcgUwr9
mysqld    1122 1140        mysql   11u      REG               0,27        0    9003033  (deleted)/var/tmp/ibmB1Fr5
mysqld    1122 1141        mysql    4u      REG               0,27        0    9002489  (deleted)/var/tmp/ibO8RiBz
mysqld    1122 1141        mysql    5u      REG               0,27        0    9003030  (deleted)/var/tmp/ibRdDVWs
mysqld    1122 1141        mysql    6u      REG               0,27        0    9003031  (deleted)/var/tmp/ibrVOyim
mysqld    1122 1141        mysql    7u      REG               0,27        0    9003032  (deleted)/var/tmp/ibcgUwr9
mysqld    1122 1141        mysql   11u      REG               0,27        0    9003033  (deleted)/var/tmp/ibmB1Fr5
mysqld    1122 1259        mysql    4u      REG               0,27        0    9002489  (deleted)/var/tmp/ibO8RiBz
mysqld    1122 1259        mysql    5u      REG               0,27        0    9003030  (deleted)/var/tmp/ibRdDVWs
mysqld    1122 1259        mysql    6u      REG               0,27        0    9003031  (deleted)/var/tmp/ibrVOyim
mysqld    1122 1259        mysql    7u      REG               0,27        0    9003032  (deleted)/var/tmp/ibcgUwr9
mysqld    1122 1259        mysql   11u      REG               0,27        0    9003033  (deleted)/var/tmp/ibmB1Fr5
mysqld    1122 1260        mysql    4u      REG               0,27        0    9002489  (deleted)/var/tmp/ibO8RiBz
mysqld    1122 1260        mysql    5u      REG               0,27        0    9003030  (deleted)/var/tmp/ibRdDVWs
mysqld    1122 1260        mysql    6u      REG               0,27        0    9003031  (deleted)/var/tmp/ibrVOyim
mysqld    1122 1260        mysql    7u      REG               0,27        0    9003032  (deleted)/var/tmp/ibcgUwr9
mysqld    1122 1260        mysql   11u      REG               0,27        0    9003033  (deleted)/var/tmp/ibmB1Fr5
mysqld    1122 1261        mysql    4u      REG               0,27        0    9002489  (deleted)/var/tmp/ibO8RiBz
mysqld    1122 1261        mysql    5u      REG               0,27        0    9003030  (deleted)/var/tmp/ibRdDVWs
mysqld    1122 1261        mysql    6u      REG               0,27        0    9003031  (deleted)/var/tmp/ibrVOyim
mysqld    1122 1261        mysql    7u      REG               0,27        0    9003032  (deleted)/var/tmp/ibcgUwr9
mysqld    1122 1261        mysql   11u      REG               0,27        0    9003033  (deleted)/var/tmp/ibmB1Fr5
mysqld    1122 1262        mysql    4u      REG               0,27        0    9002489  (deleted)/var/tmp/ibO8RiBz
mysqld    1122 1262        mysql    5u      REG               0,27        0    9003030  (deleted)/var/tmp/ibRdDVWs
mysqld    1122 1262        mysql    6u      REG               0,27        0    9003031  (deleted)/var/tmp/ibrVOyim
mysqld    1122 1262        mysql    7u      REG               0,27        0    9003032  (deleted)/var/tmp/ibcgUwr9
mysqld    1122 1262        mysql   11u      REG               0,27        0    9003033  (deleted)/var/tmp/ibmB1Fr5
mysqld    1122 1263        mysql    4u      REG               0,27        0    9002489  (deleted)/var/tmp/ibO8RiBz
mysqld    1122 1263        mysql    5u      REG               0,27        0    9003030  (deleted)/var/tmp/ibRdDVWs
mysqld    1122 1263        mysql    6u      REG               0,27        0    9003031  (deleted)/var/tmp/ibrVOyim
mysqld    1122 1263        mysql    7u      REG               0,27        0    9003032  (deleted)/var/tmp/ibcgUwr9
mysqld    1122 1263        mysql   11u      REG               0,27        0    9003033  (deleted)/var/tmp/ibmB1Fr5
mysqld    1122 1264        mysql    4u      REG               0,27        0    9002489  (deleted)/var/tmp/ibO8RiBz
mysqld    1122 1264        mysql    5u      REG               0,27        0    9003030  (deleted)/var/tmp/ibRdDVWs
mysqld    1122 1264        mysql    6u      REG               0,27        0    9003031  (deleted)/var/tmp/ibrVOyim
mysqld    1122 1264        mysql    7u      REG               0,27        0    9003032  (deleted)/var/tmp/ibcgUwr9
mysqld    1122 1264        mysql   11u      REG               0,27        0    9003033  (deleted)/var/tmp/ibmB1Fr5
mysqld    1122 1285        mysql    4u      REG               0,27        0    9002489  (deleted)/var/tmp/ibO8RiBz
mysqld    1122 1285        mysql    5u      REG               0,27        0    9003030  (deleted)/var/tmp/ibRdDVWs
mysqld    1122 1285        mysql    6u      REG               0,27        0    9003031  (deleted)/var/tmp/ibrVOyim
mysqld    1122 1285        mysql    7u      REG               0,27        0    9003032  (deleted)/var/tmp/ibcgUwr9
mysqld    1122 1285        mysql   11u      REG               0,27        0    9003033  (deleted)/var/tmp/ibmB1Fr5
mysqld    1122 1286        mysql    4u      REG               0,27        0    9002489  (deleted)/var/tmp/ibO8RiBz
mysqld    1122 1286        mysql    5u      REG               0,27        0    9003030  (deleted)/var/tmp/ibRdDVWs
mysqld    1122 1286        mysql    6u      REG               0,27        0    9003031  (deleted)/var/tmp/ibrVOyim
mysqld    1122 1286        mysql    7u      REG               0,27        0    9003032  (deleted)/var/tmp/ibcgUwr9
mysqld    1122 1286        mysql   11u      REG               0,27        0    9003033  (deleted)/var/tmp/ibmB1Fr5
mysqld    1122 1293        mysql    4u      REG               0,27        0    9002489  (deleted)/var/tmp/ibO8RiBz
mysqld    1122 1293        mysql    5u      REG               0,27        0    9003030  (deleted)/var/tmp/ibRdDVWs
mysqld    1122 1293        mysql    6u      REG               0,27        0    9003031  (deleted)/var/tmp/ibrVOyim
mysqld    1122 1293        mysql    7u      REG               0,27        0    9003032  (deleted)/var/tmp/ibcgUwr9
mysqld    1122 1293        mysql   11u      REG               0,27        0    9003033  (deleted)/var/tmp/ibmB1Fr5
mysqld    1122 1607        mysql    4u      REG               0,27        0    9002489  (deleted)/var/tmp/ibO8RiBz
mysqld    1122 1607        mysql    5u      REG               0,27        0    9003030  (deleted)/var/tmp/ibRdDVWs
mysqld    1122 1607        mysql    6u      REG               0,27        0    9003031  (deleted)/var/tmp/ibrVOyim
mysqld    1122 1607        mysql    7u      REG               0,27        0    9003032  (deleted)/var/tmp/ibcgUwr9
mysqld    1122 1607        mysql   11u      REG               0,27        0    9003033  (deleted)/var/tmp/ibmB1Fr5
httpd     1147            apache  mem       REG               0,32               32769 (deleted)/VE2206-SYSV01237736 (stat: No such file or directory)
httpd     1147            apache  mem       REG               0,32           703035189 (deleted)/dev/zero (stat: No such file or directory)
httpd     1147            apache  mem       REG               0,32                   0 (deleted)/VE2206-SYSV01237732 (stat: No such file or directory)
httpd     1217            apache  mem       REG               0,32           703037274 (deleted)/dev/zero (stat: No such file or directory)
httpd     1217            apache  mem       REG               0,32               32769 (deleted)/VE2206-SYSV01237736 (stat: No such file or directory)
httpd     1217            apache  mem       REG               0,32           703035189 (deleted)/dev/zero (stat: No such file or directory)
httpd     1217            apache  mem       REG               0,32                   0 (deleted)/VE2206-SYSV01237732 (stat: No such file or directory)
httpd     1218            apache  mem       REG               0,32           703037274 (deleted)/dev/zero (stat: No such file or directory)
httpd     1218            apache  mem       REG               0,32               32769 (deleted)/VE2206-SYSV01237736 (stat: No such file or directory)
httpd     1218            apache  mem       REG               0,32           703035189 (deleted)/dev/zero (stat: No such file or directory)
httpd     1218            apache  mem       REG               0,32                   0 (deleted)/VE2206-SYSV01237732 (stat: No such file or directory)
httpd     1219            apache  mem       REG               0,32           703037274 (deleted)/dev/zero (stat: No such file or directory)
httpd     1219            apache  mem       REG               0,32               32769 (deleted)/VE2206-SYSV01237736 (stat: No such file or directory)
httpd     1219            apache  mem       REG               0,32           703035189 (deleted)/dev/zero (stat: No such file or directory)
httpd     1219            apache  mem       REG               0,32                   0 (deleted)/VE2206-SYSV01237732 (stat: No such file or directory)
httpd     1220            apache  mem       REG               0,32           703037274 (deleted)/dev/zero (stat: No such file or directory)
httpd     1220            apache  mem       REG               0,32               32769 (deleted)/VE2206-SYSV01237736 (stat: No such file or directory)
httpd     1220            apache  mem       REG               0,32           703035189 (deleted)/dev/zero (stat: No such file or directory)
httpd     1220            apache  mem       REG               0,32                   0 (deleted)/VE2206-SYSV01237732 (stat: No such file or directory)
httpd     1221            apache  mem       REG               0,32           703037274 (deleted)/dev/zero (stat: No such file or directory)
httpd     1221            apache  mem       REG               0,32               32769 (deleted)/VE2206-SYSV01237736 (stat: No such file or directory)
httpd     1221            apache  mem       REG               0,32           703035189 (deleted)/dev/zero (stat: No such file or directory)
httpd     1221            apache  mem       REG               0,32                   0 (deleted)/VE2206-SYSV01237732 (stat: No such file or directory)
httpd     1222            apache  mem       REG               0,32           703037274 (deleted)/dev/zero (stat: No such file or directory)
httpd     1222            apache  mem       REG               0,32               32769 (deleted)/VE2206-SYSV01237736 (stat: No such file or directory)
httpd     1222            apache  mem       REG               0,32           703035189 (deleted)/dev/zero (stat: No such file or directory)
httpd     1222            apache  mem       REG               0,32                   0 (deleted)/VE2206-SYSV01237732 (stat: No such file or directory)
httpd     1223            apache  mem       REG               0,32           703037274 (deleted)/dev/zero (stat: No such file or directory)
httpd     1223            apache  mem       REG               0,32               32769 (deleted)/VE2206-SYSV01237736 (stat: No such file or directory)
httpd     1223            apache  mem       REG               0,32           703035189 (deleted)/dev/zero (stat: No such file or directory)
httpd     1223            apache  mem       REG               0,32                   0 (deleted)/VE2206-SYSV01237732 (stat: No such file or directory)
httpd     1224            apache  mem       REG               0,32           703037274 (deleted)/dev/zero (stat: No such file or directory)
httpd     1224            apache  mem       REG               0,32               32769 (deleted)/VE2206-SYSV01237736 (stat: No such file or directory)
httpd     1224            apache  mem       REG               0,32           703035189 (deleted)/dev/zero (stat: No such file or directory)
httpd     1224            apache  mem       REG               0,32                   0 (deleted)/VE2206-SYSV01237732 (stat: No such file or directory)
sshd      1287              root  mem       REG               0,32           703039392 (deleted)/dev/zero (stat: No such file or directory)
sshd      1287              root  mem       REG               0,32           703038923 (deleted)/dev/zero (stat: No such file or directory)
sshd      1579              root  mem       REG               0,32           703281932 (deleted)/dev/zero (stat: No such file or directory)
sshd      1579              root  mem       REG               0,32           703281289 (deleted)/dev/zero (stat: No such file or directory)
Diabolico's picture
Submitted by Diabolico on Sat, 08/22/2015 - 17:38

I think i found the culprit (from yum log):

Aug 22 02:11:50 Updated: 1:net-snmp-libs-5.7.2-20.el7_1.1.x86_64
Aug 22 02:11:51 Updated: 1:net-snmp-agent-libs-5.7.2-20.el7_1.1.x86_64
Aug 22 02:11:52 Updated: 1:net-snmp-5.7.2-20.el7_1.1.x86_64
Aug 22 02:11:53 Updated: 1:net-snmp-utils-5.7.2-20.el7_1.1.x86_64

I think net-snmp-*** is the culprit but i need confirmation for this as right now i'm stretching my knowledge. It would be great if you guys can take a look.

Virtualmin isn't using SNMP to determine the disk usage, it just runs "du -h".

There may be something else awry though.

Jamie will get back to you shortly about possible causes of the issue you're seeing.

Diabolico's picture
Submitted by Diabolico on Sun, 08/23/2015 - 08:06

After i slept over i managed to find the cause, looks like hosting company oversold the node. The difference in disk usage come out from the amount what was dedicated to my VPS and the real amount of how much of disk is left free.

I open the ticket with them and now waiting to see what they have to say. I will make an update as soon as i have more info.

Ok, that would explain it..

Diabolico's picture
Submitted by Diabolico on Mon, 08/24/2015 - 00:59

I can confirm it was the oversold node the cause for this problem. I heard for this before but never actually saw happening. Good i lost few hours trying to figure out what is going on. Anyway you can mark this ticket as complete/closed.