[solved] Filter -> PurgeWhenFull

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
factor200x
Posts: 18
Joined: Fri Apr 06, 2018 6:35 am

[solved] Filter -> PurgeWhenFull

Post by factor200x »

Good morning, everyone,

I have the problem that the filter "PurgeWhenFull" does not work. I have set the default filter "PurgeWhenFull" to "Disk percent" = 70 for my test and the current filter is already occupying 80% of the HDD space.

On the server I see two active tasks "zmfilter.pl" with the IDs 1 and 2. Errors in the logs are not found.

Attached I have the configuration of the filter, the storage, the status of the running tasks.
ZM_Tasks.png
ZM_Tasks.png (9.98 KiB) Viewed 3583 times
ZM_Storage.png
ZM_Storage.png (7.12 KiB) Viewed 3583 times
ZM_Filter.png
ZM_Filter.png (29.5 KiB) Viewed 3583 times
I would be super grateful if someone could give me a hint what I am doing wrong.

Thanks
Olaf
Last edited by factor200x on Wed Apr 01, 2020 6:16 am, edited 1 time in total.
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Filter -> PurgeWhenFull

Post by bbunge »

You changed the default storage which shouldn't matter but does. On the several servers I have set up since 1.34 was released with second storage drives I set a second purge when full filter for the second storage. Also use a 30 day purge.
You can try to set the default storage back to /var/cache/zoneminder/events and create a new storage with /mnt/vol1/events but remember to change the monitor storage.
You do have an events directory on vol1 with www-data ownership?
factor200x
Posts: 18
Joined: Fri Apr 06, 2018 6:35 am

Re: Filter -> PurgeWhenFull

Post by factor200x »

I thank you! Now it's on...
Post Reply