After upgrading to v1.36.31 I noticed that filter PurgeWhenFull no longer works for my 6 Tb disk that is dedicated to ZM events.The disk is mounted as a "/media/zm_events" and is owned by www-data and has appropriate rights.
Actually, what happens is that the "/media/zm_events" disk fills up to 100% and then then ZM starts to fill default storage "/var/cache/zoneminder/events". As that disk reaches 95%, PurgeWhenFull removes older events so that the default storage does not get full. So, filter works ok for default strorage but not for the "/media/zm_events" disk.
I tested the PurgeWhenFull filter's "list maches" and filter finds matches in the "/media/zm_events" but for some reason does not delete them. Also filter is running:
Code: Select all
'zmfilter.pl --filter_id=1 --daemon' running since 22/11/16 07:31:52, pid = 82690, valid
'zmfilter.pl --filter_id=2 --daemon' running since 22/11/16 00:00:23, pid = 59101, valid
Edit: zmfilter_1.log
Code: Select all
16.11.2022 00:00:24.645006 zmfilter_1[59113].INF [main:182] [Scanning for events using filter id '1']
16.11.2022 07:31:50.767234 zmfilter_1[59113].INF [main:113] [Received TERM, exiting]
16.11.2022 07:31:53.122893 zmfilter_1[82690].INF [main:182] [Scanning for events using filter id '1']
11/16/22 09:11:25.800145 zmfilter_1[97803].INF [main:182] [Scanning for events using filter id '1']
11/16/22 09:20:39.951021 zmfilter_1[97911].INF [main:182] [Scanning for events using filter id '1']