zoneminder killing my system every 1 year!

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
zmaximz
Posts: 34
Joined: Mon Sep 03, 2018 12:27 pm

zoneminder killing my system every 1 year!

Post by zmaximz »

Hello. This is really annoying because i tired of restoring system every time.
I'm using external triggers and passthrough, so there are no decoding and any frames, but zoneminder writes to database info of EVERY SINGLE NON EXISTING FRAME, until database become bigger and bigger (frames.idb) 30gb... 70gb... and there are no space for system, and it's totally crushes, after that i should spent days and to do reinstall.
Why does zonemider writes this trash to database and how to disable it?
zmaximz
Posts: 34
Joined: Mon Sep 03, 2018 12:27 pm

Re: zoneminder killing my system every 1 year!

Post by zmaximz »

okay, made BULK_FRAME_INTERVAL 10000, hope it will help
User avatar
Andyrh
Posts: 290
Joined: Sat Oct 28, 2017 3:55 am

Re: zoneminder killing my system every 1 year!

Post by Andyrh »

What other settings do you change from the default? I have been running for years without the DB bloating. I typically have ~300k events.
Andy
o||||o

Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
SkippyDo
Posts: 228
Joined: Mon Nov 20, 2017 6:49 pm

Re: zoneminder killing my system every 1 year!

Post by SkippyDo »

What about stats logging? I had problems with this hammering my system: viewtopic.php?t=33194
zmaximz
Posts: 34
Joined: Mon Sep 03, 2018 12:27 pm

Re: zoneminder killing my system every 1 year!

Post by zmaximz »

Andyrh wrote: Tue Nov 19, 2024 7:41 pm What other settings do you change from the default? I have been running for years without the DB bloating. I typically have ~300k events.
Hello, almost everything is default, but i disabled zmaudit that time (now i enabled it with period of 1 week)

well... i have about 10к events in 2 days, so in a year i have a lot more. All of them are triggered by external triggers through telnet and there are no any decoding or analysis, to decrease cpu load. I thought that 128gb ssd for system and 4tb for archive would be enough, and it worked fine for about 1 year

And... after 2 days after clean reinstall... i have 10k events and 6.5 millions records for frames db, not sure BULK_FRAME_INTERVAL 10000 helped any way
Screenshot 2024-11-22 123418.png
Screenshot 2024-11-22 123418.png (739.9 KiB) Viewed 667 times
I don't understand why I even need this info... for me would be enough just records of short videos, but looks like there are no such option, and I should look for bigger ssd. Also i'm concerned about ssd lifespan with such intense db usage
User avatar
Andyrh
Posts: 290
Joined: Sat Oct 28, 2017 3:55 am

Re: zoneminder killing my system every 1 year!

Post by Andyrh »

For your cameras under Storage, do you have Save JPEGs disabled?
Andy
o||||o

Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
zmaximz
Posts: 34
Joined: Mon Sep 03, 2018 12:27 pm

Re: zoneminder killing my system every 1 year!

Post by zmaximz »

Andyrh wrote: Fri Nov 22, 2024 1:39 pm For your cameras under Storage, do you have Save JPEGs disabled?
Of course, and i don't have any of frames saved to hdd, only short videos.

I think database "frames" pointing to time in video by "delta" field and extract frames from video.
But well, it's not the problem, i guess i don't need frames info in database at all?
I have about 4000 events per day, every one is about 3-4minutes, so there are no wrong info about frames, it's just a lot of records in db
Post Reply