I have had another spike in disk usage on our Gallery 2 server. Twice now it has been run down to less than 100MB of available storage. I am looking for a tool/technique to find out where all of the space is being used (something similar to JDiskReport would be great).
Is there a tool in Gallery to show a breakdown of disk use by user, album, etc...?
Thank you.
Posts: 16504
Nothing within Gallery. What is the operating system the server where Gallery is installed at?
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 62
It is Fedora (linux). Pretty standard install (with XAMP added).
Any suggestions to help automate disk usage by album/user would be great.
Posts: 8339
http://codex.gallery2.org/Gallery2:Modules:sizelimit
http://codex.gallery2.org/Gallery2:Modules:quotas
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 16504
as well as http://en.wikipedia.org/wiki/Du_(Unix)
du -k | sort -n
If you're logged into an SSH session, and sitting in your g2data/albums directory that'll display the disk usage of each directory in kilobytes (3,336,500 KB = 3.2GB) and sort it from smallest to largest
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 62
Thank you both very much.
The du command worked out well enough for me to look at some directory sizes. I think there was a cache that had become "stuck" in that special /gallery2/lib/support/ area. I cleaned those out and it appears to be running normal again. I am keeping a close eye on it to make sure it does not unexpectedly grow so large again.