Hi,
I added a new storage area according to the video https://www.youtube.com/watch?v=ElXdmx9FsKQ
When I open the filter and click on "List Matches" no results are found, but in the background zoneminder has reduced disk space.
What can it be?
purgewhenfull does not list matches but works in the background
Re: purgewhenfull does not list matches but works in the background
The filter runs in the background successfully every 10(?) minutes. When you run it, is there anything to match?
Try setting the threshold lower to force matches.
Try setting the threshold lower to force matches.
Andy
o||||o
Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
o||||o
Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
Re: purgewhenfull does not list matches but works in the background
I don't know how often, but the filter runs in the background as I see disk space decreasing. However, if I put matches to list in the filter, nothing appears. There are no errors in the logs either.
Re: purgewhenfull does not list matches but works in the background
Search your log for zmfiler_# Where the number is the filter number. This will show you what the filter has done.
When my PurgeWhenOld filter is run to list matches it shows nothing. If I change the age from -60 to -50 it lists many matches. Have you done something similar?
When my PurgeWhenOld filter is run to list matches it shows nothing. If I change the age from -60 to -50 it lists many matches. Have you done something similar?
Andy
o||||o
Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
o||||o
Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
Re: purgewhenfull does not list matches but works in the background
Yes, see the attachment.
- Attachments
-
- Capturar.JPG (122.28 KiB) Viewed 308 times
Re: purgewhenfull does not list matches but works in the background
Well, when the filter runs in the background it deletes the first 100 matches. The question is how far below 20% does this take your storage? If you run the filter manually and the disk is not over 20% you will get no matches.
I find purge when full to not be a good way to manage storage. It is better used as a backup to keep the system operating if other purge filters fail. O purge events based on days not disk percent. I also set the purge when full to 85% as I've had bad experiences with it set at 95%.
I find purge when full to not be a good way to manage storage. It is better used as a backup to keep the system operating if other purge filters fail. O purge events based on days not disk percent. I also set the purge when full to 85% as I've had bad experiences with it set at 95%.
-
- Posts: 1215
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: purgewhenfull does not list matches but works in the background
Yes. That's due to the default 5% reserve when formatting. So 95% + 5% = 100%. So out of space between filter runs is easily possible.I also set the purge when full to 85% as I've had bad experiences with it set at 95%.
93 or 94 should be OK, at least most of the time.
Re: purgewhenfull does not list matches but works in the background
From you screen shot I am not sure why it would not have matches. Disco1 is at 45% and the filter is set to 20%. I would expect matches from what I am seeing.
Andy
o||||o
Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
o||||o
Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
-
- Posts: 1215
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: purgewhenfull does not list matches but works in the background
ISTR the diff is the test uses php and the actual filter uses real sql. or something like that.From you screen shot I am not sure why it would not have matches. Disco1 is at 45% and the filter is set to 20%. I would expect matches from what I am seeing.
Anyway, I've seen this since forever, and just test it/them IRL, monitoring closely.