Filling disc - but only at 6%?

Support and queries relating to all previous versions of ZoneMinder
Locked
buzz_host
Posts: 20
Joined: Sat Jan 03, 2009 1:45 pm

Filling disc - but only at 6%?

Post 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.
JBL
Posts: 28
Joined: Mon Feb 08, 2010 4:25 am

noob with a possible fix

Post 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
buzz_host
Posts: 20
Joined: Sat Jan 03, 2009 1:45 pm

Post 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.
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post 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
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Post by mastertheknife »

kingofkya you might want to look in my thread here:
http://www.zoneminder.com/forums/viewtopic.php?t=15473
JBL
Posts: 28
Joined: Mon Feb 08, 2010 4:25 am

zm database corrupt powered down wrong

Post 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:
Locked