Howdy all!
Today I had been doing some server maintenance, and noticed that my storage drive was at about 72%. Nothing out of the ordinary.
I ran some updates for Ubuntu and let things go. If you look back on my post history, you can see that i've been trying to find the right balance of framerate to record to buffer... So i've been watching the server very closely.
At some point today, between 0800 this morning and now (1840), my storage drive went from 72% to 24% and I have no idea why it could have happened. The only filters that I have are the default "purge when full" and "purge greater than 365 days".
The only thing I did today was run ubuntu updates (I'm running Ubuntu 16.04.1) and reboot the server... I thought it was running fine.
Looking for any help that would point me to why this happened.
Massive amount of events were just deleted...
-
- Posts: 116
- Joined: Wed Mar 11, 2009 8:32 pm
-
- Posts: 494
- Joined: Sun Jun 29, 2014 1:12 pm
- Location: Melbourne, AU
Re: Massive amount of events were just deleted...
Purge when full can do this when Fast Delete option is on, we have just defaulted it to off in master to prevent it. Basically it means the Purge filter deletes the DB entries, and waits for zmaudit to clean up the files. Problem being filters run more often than audit, so it get's busy deleting db entries each time it runs until eventually zmaudit runs and actually clears the disk space.
The other one that can occur is some connection issue to the storage device, but that normally cleans up everything for you.
The other one that can occur is some connection issue to the storage device, but that normally cleans up everything for you.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
Random Selection of Cameras (Dahua and Hikvision)
-
- Posts: 116
- Joined: Wed Mar 11, 2009 8:32 pm
Re: Massive amount of events were just deleted...
Ok then... I guess I will disable that feature.
-
- Posts: 76
- Joined: Wed Feb 03, 2016 7:51 am
Re: Massive amount of events were just deleted...
Glad to hear this filter is finally getting retired.
Is there a filter that can delete the oldest entries until a threshold has been met? Much like how backup software / Time Machine works?
Barring that, perhaps a script that utilizes the API?
Is there a filter that can delete the oldest entries until a threshold has been met? Much like how backup software / Time Machine works?
Barring that, perhaps a script that utilizes the API?
3 ReoLink RLC-410
2 Annke NC800
Kubernetes 1.22.6 statefulset of 5 Ubuntu 20.04 pods using iconnor's repository
ZoneMinder Version 1.36.12
2 Annke NC800
Kubernetes 1.22.6 statefulset of 5 Ubuntu 20.04 pods using iconnor's repository
ZoneMinder Version 1.36.12
-
- Posts: 494
- Joined: Sun Jun 29, 2014 1:12 pm
- Location: Melbourne, AU
Re: Massive amount of events were just deleted...
Filter not going away just the option fast delete as a default on, filter is fine as long as Option fast delete is not on. and even then conservative filters with decent storage capacity dint notice it as much.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
Random Selection of Cameras (Dahua and Hikvision)