Search found 18 matches

by migo
Mon Feb 10, 2025 9:58 am
Forum: ZoneMinder 1.36.x
Topic: Zoneminder not releasing open files when encoding with VAAPI
Replies: 11
Views: 9627

Re: Zoneminder not releasing open files when encoding with VAAPI

I can confirm 1.37 release is working smooth for 10 days now without issues described in this thread. Many new features, my favorite one is monitor decoding only on demand! Thank you.
by migo
Sat Feb 01, 2025 7:00 am
Forum: ZoneMinder 1.36.x
Topic: Zoneminder not releasing open files when encoding with VAAPI
Replies: 11
Views: 9627

Re: Zoneminder not releasing open files when encoding with VAAPI

Like this one: [Tue Jan 28 15:25:55 2025] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=init.scope,mems_allowed=0,global_oom,task_memcg=/system.slice/zoneminder.service,task=zmc,pid=357287,uid=33 [Tue Jan 28 15:25:55 2025] Out of memory: Killed process 357287 (zmc) total-vm:30176312kB ...
by migo
Tue Jan 28, 2025 5:32 pm
Forum: ZoneMinder 1.36.x
Topic: Zoneminder not releasing open files when encoding with VAAPI
Replies: 11
Views: 9627

Re: Zoneminder not releasing open files when encoding with VAAPI

Another problem is that zmc of this monitor (-m 6) consumes a LOT of memory and causes OOM kill situations...
by migo
Sat Jan 04, 2025 6:25 pm
Forum: ZoneMinder 1.36.x
Topic: Zoneminder not releasing open files when encoding with VAAPI
Replies: 11
Views: 9627

Re: Zoneminder not releasing open files when encoding with VAAPI

Without this parameter was video quality very poor. :(
by migo
Sat Jan 04, 2025 10:39 am
Forum: ZoneMinder 1.36.x
Topic: Zoneminder not releasing open files when encoding with VAAPI
Replies: 11
Views: 9627

Re: Zoneminder not releasing open files when encoding with VAAPI

Can you post parameters you had used for encoder please? I'll try those if changes anything. Thank you!
by migo
Wed Jan 01, 2025 6:30 pm
Forum: ZoneMinder 1.36.x
Topic: Zoneminder not releasing open files when encoding with VAAPI
Replies: 11
Views: 9627

Re: Zoneminder not releasing open files when encoding with VAAPI

Hi, thank you for looking into it. Happy new year! :) Distro is Ubuntu LTS: root@cam:/home/migo# cat /etc/issue Ubuntu 24.04.1 LTS \n \l root@cam:/home/migo# ffmpeg -version ffmpeg version 6.1.1-3ubuntu5 Copyright (c) 2000-2023 the FFmpeg developers built with gcc 13 (Ubuntu 13.2.0-23ubuntu3 ...
by migo
Sat Dec 28, 2024 11:20 am
Forum: ZoneMinder 1.36.x
Topic: Zoneminder not releasing open files when encoding with VAAPI
Replies: 11
Views: 9627

Re: Zoneminder not releasing open files when encoding with VAAPI

Thank you very much! I can help testing when needed off course.

Kind regards,

Milan
by migo
Tue Dec 24, 2024 8:13 pm
Forum: ZoneMinder 1.36.x
Topic: Zoneminder not releasing open files when encoding with VAAPI
Replies: 11
Views: 9627

Zoneminder not releasing open files when encoding with VAAPI

Hi, I'm trying VAAPI accelerated video encoding to h264 on Intel Ivy Bridge iGPU. I was able to bring it to work properly with good results, but after a while ZM stopped to save h264 videos from this monitor and saved mjpeg videos instead. Was wondering what happened, after some investigation I ...
by migo
Tue Sep 17, 2024 11:27 am
Forum: ZoneMinder 1.36.x
Topic: High CPU load after upgrade 1.34 -> 1.36
Replies: 12
Views: 3876

Re: High CPU load after upgrade 1.34 -> 1.36

In addition, here is network usage graph, incoming traffic from cameras is 200Mbit/s and is +- constant, outgoing traffic is to the 5 PCs used by surveillance personnel and varies upon stuck live video in browser windows on those computers. The CPU load is not dependent on count of connected clients ...
by migo
Tue Sep 17, 2024 8:27 am
Forum: ZoneMinder 1.36.x
Topic: High CPU load after upgrade 1.34 -> 1.36
Replies: 12
Views: 3876

Re: High CPU load after upgrade 1.34 -> 1.36

Thank you. The biggest change to me was merge of zma and zmc processes according to change log, but developers should have better insight. Maybe it is something with encoding/sending data to web browser. Here are more details about our system: We have 5 computers running 5-6 cameras onscreen non ...
by migo
Tue Sep 10, 2024 6:40 am
Forum: ZoneMinder 1.36.x
Topic: High CPU load after upgrade 1.34 -> 1.36
Replies: 12
Views: 3876

Re: High CPU load after upgrade 1.34 -> 1.36

Here is CPU usage graph:
Screenshot from 2024-09-10 08-28-12.png
Screenshot from 2024-09-10 08-28-12.png (59.14 KiB) Viewed 3690 times
and VM stat graph:
Screenshot from 2024-09-10 08-28-31.png
Screenshot from 2024-09-10 08-28-31.png (71.9 KiB) Viewed 3690 times
by migo
Tue Sep 10, 2024 6:38 am
Forum: ZoneMinder 1.36.x
Topic: High CPU load after upgrade 1.34 -> 1.36
Replies: 12
Views: 3876

Re: High CPU load after upgrade 1.34 -> 1.36

I was able to downgrade Zoneminder to 1.34 using Deb11 package and I also needed to install and use php7.4 for it. I've dropped 1.36 database and imported backup from 1.34. Everything else is the same like was with 1.36. I've let it settle a bit to not make false conclosions. Now is Zonemnider ...
by migo
Mon Sep 09, 2024 1:35 pm
Forum: ZoneMinder 1.36.x
Topic: High CPU load after upgrade 1.34 -> 1.36
Replies: 12
Views: 3876

Re: High CPU load after upgrade 1.34 -> 1.36

No. In 1.34 ImageBuffers had to be large... Now it can be something more like 3. During the upgrade the value should have been copied to MaxImageBuffers and set to 3, but I've seen lots where that didn't happen, and so, both are large and the system is unnecessarily using double the ram. Thank you ...
by migo
Mon Sep 09, 2024 1:32 pm
Forum: ZoneMinder 1.36.x
Topic: High CPU load after upgrade 1.34 -> 1.36
Replies: 12
Views: 3876

Re: High CPU load after upgrade 1.34 -> 1.36

Weekend looked promising, system load was around 16, but today when there was lot of movement under cameras, system load peaked at over 60. :( Screenshot from 2024-09-09 15-29-04.png There is lot of free usable ram: Screenshot from 2024-09-09 15-30-46.png I'm trying to do zoneminder downgrade now to ...
by migo
Mon Sep 09, 2024 1:04 pm
Forum: ZoneMinder 1.36.x
Topic: High CPU load after upgrade 1.34 -> 1.36
Replies: 12
Views: 3876

Re: High CPU load after upgrade 1.34 -> 1.36

iconnor wrote: Mon Sep 09, 2024 12:52 pm Please read the release notes.

You are likely using double the ram due to ImageBuffers not being updated.
Hi, thank you for your reply. Do you mean this:

When editing buffer settings, ensure that MaxImageBuffers > PreEventCount.

Thank you!