Frames.ibd, Logs.ibd, Stats.ibd too big

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
BigChris
Posts: 7
Joined: Tue Jul 24, 2012 6:42 pm

Frames.ibd, Logs.ibd, Stats.ibd too big

Post by BigChris »

I have Zoneminder 1.34.26 running in a Docker container on my unraid server.
Unfortunately, Zoneminder is taking up more and more space on my image.
I have swapped out the directory /var/cache/zoneminder. Also the /config

I noticed that the files
Frames.ibd, Logs.ibd, Stats.ibd
are very large.
I don't understand that Frames.ibd doesn't get smaller when I delete recordings, Also I don't understand how to delete the logs.

What can I do to free up space?
User avatar
burger
Posts: 390
Joined: Mon May 11, 2020 4:32 pm

Re: Frames.ibd, Logs.ibd, Stats.ibd too big

Post by burger »

DB log settings are in console - options. You can and probably should stop DB logging if you aren't using it. I think stats is also there somewhere.

In Debian based ZM I haven't noticed .ibd files becoming too large. The ibdata file used to get too large (in 1.28) but that was resolved with newer MySQL / ZM. Can't speak for unraid.
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl

If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
Post Reply