PurgeWhenFull not auto purging?

Forum for questions and support relating to the 1.28.x releases only.
Locked
Southcross
Posts: 43
Joined: Tue Feb 10, 2015 9:17 pm

PurgeWhenFull not auto purging?

Post by Southcross »

I came to find out that my ZM server was full, had been for like a week, and stopped recording all together. :oops:

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.
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: PurgeWhenFull not auto purging?

Post by bbunge »

Did you check run in background?
Southcross
Posts: 43
Joined: Tue Feb 10, 2015 9:17 pm

Re: PurgeWhenFull not auto purging?

Post by Southcross »

I don't see that as an option anywhere??
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: PurgeWhenFull not auto purging?

Post by bbunge »

Check box when you save the filter.
Southcross
Posts: 43
Joined: Tue Feb 10, 2015 9:17 pm

Re: PurgeWhenFull not auto purging?

Post by Southcross »

uhm?? I don't have any option like that in the Filter Window
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: PurgeWhenFull not auto purging?

Post by bbunge »

Create your filter click save
Check the box Run filter in background click save
Southcross
Posts: 43
Joined: Tue Feb 10, 2015 9:17 pm

Re: PurgeWhenFull not auto purging?

Post by Southcross »

AHHHHHH!!!!!! Thank you!!!
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: PurgeWhenFull not auto purging?

Post 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.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Locked