Page 1 of 1

Memory / floating image file problem.

Posted: Fri Mar 03, 2006 8:54 pm
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

Posted: Fri Mar 03, 2006 10:36 pm
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

Posted: Wed Mar 08, 2006 4:11 am
by Davio
Found it, thanks!

Honestly, I do try to RTFM before posting.

Dave