Zoneminder 0 Bytes Until Event is Played back

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
tmart1129
Posts: 12
Joined: Wed Apr 05, 2023 1:31 pm

Zoneminder 0 Bytes Until Event is Played back

Post by tmart1129 »

Hi all, I currently have a zoneminder installation in a virtual machine with about 45 cameras that I have recording to a NAS via NFS share. The install has been working great for some time now, but we had a bit of a hiccup where our separate ZM database VM had crashed along with our NAS, the installs got a bit funky until everything was rebooted.

However now everything is back up and running besides for the storage is showing 0 bytes for all events being recorded, unless I play one back then it updates with the appropriate storage for it but only for that event. I also believe now our storage isnt seeing that it is as full as it should be so it is starting to not delete the events as it should, unless its just a coincidence and the filter to clear storage hasn't run yet, but it seems to have gone much further past the threshold for deleting before it gets full. It should be deleting at 80% but is up to 83% now, not a huge concern yet, but it will be eventually if it continues.
Screenshot_1.jpg
Screenshot_1.jpg (43.84 KiB) Viewed 601 times
dougmccrary
Posts: 1215
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Zoneminder 0 Bytes Until Event is Played back

Post by dougmccrary »

zmrecover.pl will do its best to...
tmart1129
Posts: 12
Joined: Wed Apr 05, 2023 1:31 pm

Re: Zoneminder 0 Bytes Until Event is Played back

Post by tmart1129 »

It appears I'm just a dummy. I removed the update diskspace filter because i toggled update diskspace on all the other filters for clearing when too much space or too much time passed, but that didn't update them and I just completely forgot that I did that and it was the cause of it. So I just recreated the filter, not sure why I have to have a dedicated filter for it when there's a toggle on the other ones, but that fixed the issue.
dougmccrary
Posts: 1215
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Zoneminder 0 Bytes Until Event is Played back

Post by dougmccrary »

not sure why I have to have a dedicated filter for it
by iconnor » Fri Oct 02, 2020 1:13 pm
The Update Disk Space filter updates the db entry....

It is too resource intensive to constantly query the fs for this, so we do it once in the background.
User avatar
iconnor
Posts: 2904
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Zoneminder 0 Bytes Until Event is Played back

Post by iconnor »

Sometime soon in 1.37, it won't be needed anymore but yeah, it's about scaling. Not all storage is super fast nvme. Sometimes it is remote mounted nfs or amazon s3 or something even worse.
Post Reply