Hi
I'm running ZM v1.37.13
It is not possible to Purge my (nearly) full disk (96 %).
Storage Area matches default
Disk Percent greater than or equal to 90
End Date/Time is not NULL
When I test by using "list matches" the page display not a single event
When I use the "Debug"-button I get this Information:
SQL SELECT E.*,M.Name AS MonitorName,M.DefaultScale
FROM Monitors AS M INNER JOIN Events AS E ON (M.Id = E.MonitorId)
WHERE
E.StorageId regexp '2' and TRUE /*DiskPercent*/ and E.EndDateTime IS NOT NULL ORDER BY Id ASC LIMIT 10
As you see the SQL-satement does not use the "90" for/*DiskPercent*/.....
Is there a solution ?
Thanx
Manfred
Problem with Disk Percent on v1.37.13
Re: Problem with Disk Percent on v1.37.13
Be sure the storage area is listed in the filter. Otherwise it only looks at the original storage area.
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: Problem with Disk Percent on v1.37.13
Thanks for responding.
Yes, it is a variable. And disk usage is shown in the control panel STORAGE --> DEFAULT: 96 %
The storage area is also listed in the filter (dropdown --> DEFAULT).
If I delete the line "Disk Percent" and "LIST MATCHES" shows events.
Yes, it is a variable. And disk usage is shown in the control panel STORAGE --> DEFAULT: 96 %
The storage area is also listed in the filter (dropdown --> DEFAULT).
If I delete the line "Disk Percent" and "LIST MATCHES" shows events.
-
- Posts: 1373
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Problem with Disk Percent on v1.37.13
The default limit is 100.
Suggest you try that or even 1000.
Suggest you try that or even 1000.
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Problem with Disk Percent on v1.37.13
moved to the1.37 forum
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/
All of these can be found at https://zoneminder.blogspot.com/
Re: Problem with Disk Percent on v1.37.13
The Debug button uses different code than the actual filter. What we need \to do here is turn on debugging, restart the filter and check the filter logs to see what the actual SQL is.