Page 1 of 1

Filling disc - but only at 6%?

Posted: Mon Apr 05, 2010 8:36 pm
by buzz_host
My ZM 1.23.3 has been a very good servant to me. For over a year it's been as solid as a rock. Just recently it's started to do something a little weird. Despite having a 'purge when full' filter running set to 60%, it's now filling a disc on a weekly basis - almost as if the purge is clearing the the database, but not removing the files from: /var/cache/zoneminder/events/

Being my own worst enemy I deleted the purge when full filter and recreated it (clutching at straws) after three weeks of clearing the contents of /var/cache/zoneminder/events/

I'm wondering if I've screwed something, or something is broke but I'm not totally familiar with how it should work. My guess is if I run the purge when full by hand, it should see the disc usage on /var/cache/zoneminder/events/ drop as items are cleared?

I have an incline that disk usage statistic may be sticking at 6% but I'd appreciate some pointers on troubleshooting this. For me Zoneminder is a victim of it's stability insofar as I'm not entirely sure where to start.

noob with a possible fix

Posted: Tue Apr 06, 2010 2:21 am
by JBL
hiya

i had same problem
im kinda a noob to this zm and linux
but this worked for me

goto zm console clik options , system tab down to ZM_OPT__FAST_DELETE
7 DOWN THE LIST Uncheck ticbox
hit save in lower rh of window
restart zm

that fixed me up
it started cleaning up the drive right after boot
no problem since
ps
you may allso have a "arkive" of "saved events" if you have ben arkiving events the 'purge when full' filter will not clear arkived events on the drive that is if you are arkiving any events

Posted: Tue Apr 06, 2010 5:54 am
by buzz_host
Thanks. I've unchecked the fast delete option as it has to be worth a try. I'm not archiving anything so I don't understand the sudden change in ZM not deleting the events.

I need to be sure what is actually happening on the box, so I'll keep a closer eye on it this week.

Posted: Tue Apr 06, 2010 11:19 pm
by kingofkya
have you checked you db might need to be repaired. Had mine do the same thing when it was powered down wrong.

also fast delete is only relevant if you also turned off zmaudit

Posted: Wed Apr 07, 2010 5:25 am
by mastertheknife
kingofkya you might want to look in my thread here:
http://www.zoneminder.com/forums/viewtopic.php?t=15473

zm database corrupt powered down wrong

Posted: Thu Apr 08, 2010 3:48 pm
by JBL
THAT LINK ABOVE SOUNDS CORRECT

even tho i got my system running again i have noticed now it holds far less
events than it did before the problem

i am a noob to both zm and linux i know a little :oops:

if i could get a more detailed discrption of how to do this fix
with the path to where thees files and folders are :?
what files or folders i create or delete :?
and a clear path to where i create or delete said files or folders :?

i have killed my ZM 3 times before trying to tweek a few things
had to format and reinstall not fun i loose all my little tweeks i got to fly
each time the process gets a little longer :oops:

thankyou for your help greatly appreciated

jeff :wink: