Search found 68 matches

by fontiano
Fri Jul 28, 2023 2:31 pm
Forum: ZoneMinder 1.36.x
Topic: memory leak in mocord
Replies: 26
Views: 28952

Re: memory leak in mocord

1.34 used a fixed length array to hold images. If it ran out it would log lots of errors but not consume ram. 1.36+ uses a non-fixed length queue. It is limited by MaxImageBuffers. It includes the encoded 264 data as well as decoded images so can use more ram than in 1.34. Again though, if you hit ...
by fontiano
Fri Jul 28, 2023 1:55 pm
Forum: ZoneMinder 1.36.x
Topic: memory leak in mocord
Replies: 26
Views: 28952

I have identified the problem

I need the recording to be divided into 30 second sections because I have to post-analyze the videos that have alarmed frames. With this setting the memory filling problem occurs. not-working.png With the default parameters instead it seems that the system is stable but it is not suitable for my nee...
by fontiano
Mon Jul 17, 2023 2:44 pm
Forum: ZoneMinder 1.36.x
Topic: memory leak in mocord
Replies: 26
Views: 28952

Re: memory leak in mocord

lowered frame analysis to 5 and slowly, after 1 hour, memory leak happened again
by fontiano
Sun Jul 16, 2023 12:00 pm
Forum: ZoneMinder 1.36.x
Topic: memory leak in mocord
Replies: 26
Views: 28952

Re: memory leak in mocord

Mocord/dect on a 2.5k pixel stream? I would only do modect or mocord on the low res stream. Try linked monitors or run two monitors (low / hi res stream w/only record on the hi res stream). You could also try changing analysis fps to 2 or 3. Ok, I will try this afternoon On 1.34 I'm using same sett...
by fontiano
Sun Jul 16, 2023 11:58 am
Forum: ZoneMinder 1.36.x
Topic: memory leak in mocord
Replies: 26
Views: 28952

Re: memory leak in mocord

dougmccrary wrote: Sat Jul 15, 2023 8:20 pm Are you recording sound?
no sound recording
by fontiano
Sat Jul 15, 2023 5:54 pm
Forum: ZoneMinder 1.36.x
Topic: memory leak in mocord
Replies: 26
Views: 28952

Re: memory leak in mocord

Same settings, 3 cameras but modect after 1 hour:
mem.png
mem.png (40.59 KiB) Viewed 17216 times
I think that's a problem with continuous recording not related to video analysis
by fontiano
Sat Jul 15, 2023 4:12 pm
Forum: ZoneMinder 1.36.x
Topic: memory leak in mocord
Replies: 26
Views: 28952

Re: memory leak in mocord

I unchecked "Analysis Enabled" but I've got the same problem. I also tried to add a third camera and this is the result:
memory.png
memory.png (49.28 KiB) Viewed 17220 times
by fontiano
Sat Jul 15, 2023 2:17 pm
Forum: ZoneMinder 1.36.x
Topic: memory leak in mocord
Replies: 26
Views: 28952

Re: memory leak in mocord

I moved HD to new HW: Xeon1230 V5 - 16 Gb ram but I've got same problem memory.png sometimes this appears in the logs (zmc_m4 and zmc_m3) 2023-07-15T16:13:17.760514+02:00 zoneminder136 zmc_m4[1702]: WAR [zmc_m4] [You have set the max video packets in the queue to 100. The queue is full. Either Analy...
by fontiano
Mon Jul 10, 2023 6:26 pm
Forum: ZoneMinder 1.36.x
Topic: memory leak in mocord
Replies: 26
Views: 28952

Re: memory leak in mocord

Update: I didnt have any footage I cared to save so I went ahead and deleted and recreated the monitors, kind of inconvenient but now everything appears to be normal again, knock on wood, and has been for a little bit, i'm barely at 1.5 GB of RAM usage now. One thing I discovered that blew my mind ...
by fontiano
Mon Jul 10, 2023 6:25 pm
Forum: ZoneMinder 1.36.x
Topic: memory leak in mocord
Replies: 26
Views: 28952

Re: memory leak in mocord

The only thing out of the ordinary there is the 15 alarm frame count setting...Can't imagine why that would cause a mem leak, but I can try it out here as well. Cameras record at 15 fps and I set the alarm frame count to 15 to avoid flapping alarms. I tried to leave everything at default but the si...
by fontiano
Mon Jul 10, 2023 5:55 pm
Forum: ZoneMinder 1.36.x
Topic: memory leak in mocord
Replies: 26
Views: 28952

Re: memory leak in mocord

My settings:
settings.png
settings.png (195.83 KiB) Viewed 17297 times
Memory usage @ zoneminder start and after 20 minutes:
memory.png
memory.png (400.29 KiB) Viewed 17297 times
by fontiano
Wed Jul 05, 2023 4:46 pm
Forum: ZoneMinder 1.36.x
Topic: memory leak in mocord
Replies: 26
Views: 28952

memory leak in mocord

I have been trying for a few days to fix a problem with 2 Dahua IPCAMs (which work perfectly in the 1.34 production system) on my test environment with Zoneminder 1.36.33 (Debian 12 - Ryzen 2600x - 16 Gb Ram - SSD). If I configure them in "Modect" mode everything works fine. If, on the oth...
by fontiano
Sat Aug 06, 2022 10:15 am
Forum: Mobile Apps and Event Server
Topic: Why is ZMES skipping Events !Solved!
Replies: 18
Views: 43119

Re: Why is ZMES skipping Events !Solved!

Same problem here: https://forums.zoneminder.com/viewtopic.php?t=31794 Maybe the problem is the "Alarm Frame Count" parameter that is "1" by default and if an alarm is "flapping" (alarm on, alarm off, alarm on, alarm off etc.) eventserver is not triggered. My fix was to...
by fontiano
Sat Aug 06, 2022 10:12 am
Forum: Mobile Apps and Event Server
Topic: Big problem with zmes 6.1.28 and zm 1.36.16
Replies: 1
Views: 1365

Re: Big problem with zmes 6.1.28 and zm 1.36.16

Maybe the problem is the alarm counter on "1". On logs I have a lot of alarm flaps.
by fontiano
Sun May 29, 2022 10:11 am
Forum: Mobile Apps and Event Server
Topic: Big problem with zmes 6.1.28 and zm 1.36.16
Replies: 1
Views: 1365

Big problem with zmes 6.1.28 and zm 1.36.16

On my test environment (debian 11) I upgraded zonemidner to latest stable 1.36.16 and zmes to 6.1.28. I deleted old zm db and re-configured 3 cams from scratch. I noticed that Zmes doesn't detect the majority of events: tail -f /var/log/zm/zmeventnotification.log 29/05/2022 11:48:22.939083 zmeventno...