Page 1 of 1
PurgeWhenFull not auto purging?
Posted: Thu Sep 24, 2015 8:17 pm
by Southcross
I came to find out that my ZM server was full, had been for like a week, and stopped recording all together.
I have a slightly modified PurgeWhenFull (sp?)... it omits a camera (it is a camera that only takes a single photo ever 10 mins, i.e. timelapse) and limits matches to 50 instead of the default of 5(?). Is there something I am supposed to do to turn it on? I was under the impression because it is built in it would run automagically? If I open the filter window and execute the filter manually it returns results, and I can purge them manually as well.
Re: PurgeWhenFull not auto purging?
Posted: Fri Sep 25, 2015 12:28 am
by bbunge
Did you check run in background?
Re: PurgeWhenFull not auto purging?
Posted: Fri Sep 25, 2015 1:37 pm
by Southcross
I don't see that as an option anywhere??
Re: PurgeWhenFull not auto purging?
Posted: Fri Sep 25, 2015 4:16 pm
by bbunge
Check box when you save the filter.
Re: PurgeWhenFull not auto purging?
Posted: Fri Sep 25, 2015 11:53 pm
by Southcross
uhm?? I don't have any option like that in the Filter Window
Re: PurgeWhenFull not auto purging?
Posted: Fri Sep 25, 2015 11:58 pm
by bbunge
Create your filter click save
Check the box Run filter in background click save
Re: PurgeWhenFull not auto purging?
Posted: Sat Sep 26, 2015 12:34 am
by Southcross
AHHHHHH!!!!!! Thank you!!!
Re: PurgeWhenFull not auto purging?
Posted: Sat Sep 26, 2015 1:43 pm
by knight-of-ni
The default for the purgewhenfull filter is now 100. We changed that a few versions back.
The purgewhenfull filter must be tweaked for every system. You have to monitor your system and verify that the purge filter not only runs, but deletes more events than the system creates over time.
Once the system goes past the storage limit you set for the filter to run, watch it over the next few days to verify the disk percentage goes back down. If it slowly goes up or even stays the same, then you will want to bump up the number of matches the filter will delete at one time.
If your filter does not delete events over time, faster than the system creates events, then it does not matter how much storage space you give it. Eventually your disk will fill up completely and ZoneMinder will stop.