Page 1 of 1

zmfilter

Posted: Wed Sep 20, 2006 10:21 am
by jameswilson
i have had a couple of issues where the disk has filled even though purge when full is set to 95%. What happens is that zm gets ahead of zmfilter sometimes and when the disk fills then zm stops. When zm stops so does zmfilter. COuld these be seperate dor have an option to run zmfilter if zm stops. Then zmfilter could catch up and zm could restart say every 15 mins? if stopped

Posted: Wed Sep 20, 2006 12:45 pm
by zoneminder
I suspect it stops because it can no longer write to the log file or the db is borked. If that is not the case then there is no reason why zmfilter should not continue.

Could you just try increasing the frequencey of zmfilter checks or the number of events it removes?

Posted: Wed Sep 20, 2006 8:29 pm
by jameswilson
yeah i could do, but doesnt that have a knockon effect?

Posted: Thu Sep 21, 2006 3:08 am
by Eklectick
How about increasing the number of deleted events everytime the purgewhenfull filter runs?

Perhaps (not saying this is the way it is) your system is generating 20 events on a 15 minute period while it is deleting just 5?

Lowering the percentage to 90%?

That is where I usually have it I have been there when the disk fills up its not pretty :-)

Regards!

Posted: Thu Sep 21, 2006 9:15 pm
by jameswilson
this particular system has a wierdnes sin that sometimes it starts to create new events evny say 10 seconds (i use mocord) thus even having 1000 events removed eveny 15 mins wouldnt see it catch up in this instance

Posted: Fri Sep 22, 2006 9:12 am
by zoneminder
Hmm, I see what you are saying there. I will have to have a think about this :?

Posted: Fri Sep 22, 2006 1:56 pm
by Eklectick
jameswilson

You have hit the nail on the head about that problem, I just couldnt find the words to explain it.

I am having a problem too with a setup in livecd 1.21.4 where some cameras in record mode, one frame every 10 seconds which should produce in a day 144 events each 10 minutes long sometime shows 500 or 1000s of events. Is this what it is happening to you too? That for no apparent reason such camera goes crazy capturing events?

Unfortunately restarting zm did not get rid of the problem, a full restart of the system had to be done to get rid of it.

I know my final fix was not elegant (cron job to reset the server once a day at 2AM) but this of course got rid of such a problem in case I didnt mind the server for several days.

Regards!

Posted: Fri Sep 22, 2006 3:03 pm
by jameswilson
well great minds think alike thats what i have done for the moment too!!!

BTW how many cams do you have on it, and it isnt an asus a8v board is it?

Posted: Sat Sep 23, 2006 9:32 pm
by Eklectick
The setup has 28 Axis 2100s pulling 1 jpg every 10 seconds running on a Dell GX1 Pentium III 500Mhz with 200GB drive. Dont think this is a hardware issue though.

The setup is a livecd with zm version 1.21.4.

What version are un running?

Regards

Posted: Sat Sep 23, 2006 9:36 pm
by jameswilson
1.22.2 mate