/var/webmin - excessive disk usage

OS: CentOS 7
Webmin: 1.984
Usermin: 1.834
Virtualmin: 6.17 GPL
Authentic Theme: 19.84.7

Is it typical for the /var/webmin folder to grow in the GBs?

This morning the /var/webmin/diffs folder grew to over 30GB in size causing our tiny droplet to die due to a lack of space.

Typically we keep our primary partition pretty small considering we mount key folders to their own disk space so the core software generally doesn’t run out of space like this.

I felt it was quite odd for something specific to Webmin to be utilizing this amount of space.

30GB seems pathological. /var/webmin/diffs is what provides detailed action logging, so it’s literally diffs of changes made in Webmin to config files, generally any individual file should be very small, and even a very active server probably wouldn’t reasonably grow to 30GB, I would think.

Are you seeing anything unusual in that directory? It normally looks like this:

# find /var/webmin/diffs
/var/webmin/diffs
/var/webmin/diffs/16390
/var/webmin/diffs/16390/1639033751.873344.0
/var/webmin/diffs/16390/1639033751.873344.0/0
/var/webmin/diffs/16313
/var/webmin/diffs/16313/1631385970.2842087.0
/var/webmin/diffs/16313/1631385970.2842087.0/0
/var/webmin/diffs/16313/1631388496.2852053.0
/var/webmin/diffs/16313/1631388496.2852053.0/35
/var/webmin/diffs/16313/1631388496.2852053.0/5
/var/webmin/diffs/16313/1631388496.2852053.0/20
/var/webmin/diffs/16313/1631388496.2852053.0/15
/var/webmin/diffs/16313/1631388496.2852053.0/9
/var/webmin/diffs/16313/1631388496.2852053.0/32
/var/webmin/diffs/16313/1631388496.2852053.0/18
/var/webmin/diffs/16313/1631388496.2852053.0/6
/var/webmin/diffs/16313/1631388496.2852053.0/34
/var/webmin/diffs/16313/1631388496.2852053.0/40
/var/webmin/diffs/16313/1631388496.2852053.0/45
/var/webmin/diffs/16313/1631388496.2852053.0/13
/var/webmin/diffs/16313/1631388496.2852053.0/4
/var/webmin/diffs/16313/1631388496.2852053.0/39
/var/webmin/diffs/16313/1631388496.2852053.0/33

For comparison, on my little server the folder looks like Joe’s. I have just over 6 pages of folders in there and the total space is just over 3 MB according to File Manager Properties on the Diffs folder.

Another comparison, this from a server where /var/webmin/diffs dates back to 8 years ago, would support Joe’s response:

[root@host ~]# du -sh /var/webmin/diffs
125M /var/webmin/diffs
[root@host ~]# find /var/webmin/diffs | wc -l
27924

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.