Memory / floating image file problem.

Support and queries relating to all previous versions of ZoneMinder
Locked
Davio
Posts: 7
Joined: Wed Mar 01, 2006 5:41 am

Memory / floating image file problem.

Post by Davio »

I'm testing Zoneminder for a school project, and using a box I had lying around as a test platform.

Now, I only have a 10 GB drive (which I know is pretty dinky for this), but I noticed something interesting.

I was deleting events, as I'm mostly just checking the different zone settings and the like. I got down to 0 events at one point. However, I noticed that the disk was still up to 71% full, and the Cam_1 directory was filled with JPEG images.

Now, does Zoneminder have a "garbage collection" function? I could probably write a little PHP blurb (or maybe shell script) to take out these files, but I can't imagine that I'm the first one to think of such things.

Thanks,
Dave
Any plan in which you lose your hat is a bad plan.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

zmaudit will tidy things up, it usually runs every 900 seconds. You can make zm delete both the db and the jpegs if you unselect 'use fast delete' in options
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Davio
Posts: 7
Joined: Wed Mar 01, 2006 5:41 am

Post by Davio »

Found it, thanks!

Honestly, I do try to RTFM before posting.

Dave
Any plan in which you lose your hat is a bad plan.
Locked