Search found 69 matches

by fontiano
Sat Feb 10, 2024 11:48 am
Forum: ZoneMinder 1.37.x Development Branch
Topic: Zoneminder 1.37.x on Debian 12 Bookworm
Replies: 3
Views: 94554

Re: Zoneminder 1.37.x on Debian 12 Bookworm

I've added an install procedure with a script to the WIKI. https://wiki.zoneminder.com/Debian_12_Bookworm_with_Zoneminder_1.36.33#Debian_12_with_Zoneminder_1.37.x I've done this on my home ZM system and it is working very well! I'm trying to get 1.37.50 to work on nginx on Debian 12 but I can't. Yo...
by fontiano
Sat Jan 20, 2024 3:42 pm
Forum: ZoneMinder 1.37.x Development Branch
Topic: The memory fills progressively
Replies: 31
Views: 20705

Re: The memory fills progressively

Ok, I don't know if it can be called a bug but I have identified the problem. I had replicated the configurations identically and the zmc processes remain hanging when the command entered on "Event End Command" fails. A simple "echo $1" generates the anomaly. To this day I still ...
by fontiano
Wed Jan 17, 2024 6:26 pm
Forum: ZoneMinder 1.37.x Development Branch
Topic: The memory fills progressively
Replies: 31
Views: 20705

Re: The memory fills progressively

If I launch "systemctl stop zoneminder" the command does not finish and remains hanging waiting

To make it terminate I have to kill the zmc processes with "killall -9 zmc"

I have the same problem with the same settings (with 1 cam only) in a separate test virtual machine.
by fontiano
Tue Jan 16, 2024 5:22 pm
Forum: ZoneMinder 1.37.x Development Branch
Topic: The memory fills progressively
Replies: 31
Views: 20705

Re: The memory fills progressively

How many cameras do you actually have? The count of tasks in those screen shots seems to be climbing too, is it possible you have more capture processes than you have cameras (e.g. something is causing them to stall, so ZM launches a new capture process, and again, and again, for every camera) ? Th...
by fontiano
Mon Jan 15, 2024 10:42 pm
Forum: ZoneMinder 1.37.x Development Branch
Topic: The memory fills progressively
Replies: 31
Views: 20705

Re: The memory fills progressively

I reproduced the problem with a single camera in a VMWare machine:

Settings I'm using:
buffers.png
buffers.png (12.63 KiB) Viewed 15688 times
misc.png
misc.png (17.08 KiB) Viewed 15688 times
recording.png
recording.png (14.5 KiB) Viewed 15688 times
by fontiano
Mon Jan 15, 2024 10:35 pm
Forum: ZoneMinder 1.37.x Development Branch
Topic: The memory fills progressively
Replies: 31
Views: 20705

Re: The memory fills progressively

No, that's the htop view.

Look @ top view:
Start:
after-some-minutes.png
after-some-minutes.png (69.35 KiB) Viewed 15696 times
After some minutes:
start.png
start.png (81.65 KiB) Viewed 15696 times
In one hour no more memory available.

EDIT:

You are right, I forgot to order by mem usage:
proces.png
proces.png (118.86 KiB) Viewed 15676 times
by fontiano
Mon Jan 15, 2024 11:48 am
Forum: ZoneMinder 1.37.x Development Branch
Topic: The memory fills progressively
Replies: 31
Views: 20705

The memory fills progressively

Debian 12 - Cpu: Ryzen 5 PRO 3400G - Ram: 32 Gb - SSD for SO and DB - HDD for events recording After starting Zoneminder the memory occupied is approximately 3 Gb After 6 minutes 8.44 Gb: after-6-minutes.png After 21 minutes 17.1 Gb: after-21-minutes.png After 57 minutes 32 Gb of ram and all the swa...
by fontiano
Wed Jan 10, 2024 9:11 pm
Forum: ZoneMinder 1.37.x Development Branch
Topic: What is the best way to get the ID of newly closed events in real time?
Replies: 3
Views: 108348

Re: What is the best way to get the ID of newly closed events in real time?

trying with integrated option: root@zoneminder137:~# cat /etc/sudoers | grep www-data www-data ALL=NOPASSWD: /bin/bash /scripts/zoneminder2/estrai_frames.sh * root@zoneminder137:~# sudo -u www-data bash www-data@zoneminder137:/root$ whoami www-data www-data@zoneminder137:/root$ sudo /bin/bash /scri...
by fontiano
Wed Jan 10, 2024 8:38 pm
Forum: ZoneMinder 1.37.x Development Branch
Topic: What is the best way to get the ID of newly closed events in real time?
Replies: 3
Views: 108348

Re: What is the best way to get the ID of newly closed events in real time?

the logs are not the same I added this line on /etc/rsyslog.conf if $syslogfacility-text == 'local1' and $msg contains 'Closing event' then -/var/log/eventizoneminder.log and this is the result on 1.34 (mocord) if I do cat /var/log/eventizoneminder.log (the same in 1.36.33) Jan 10 21:24:03 videosorv...
by fontiano
Tue Jan 09, 2024 9:24 pm
Forum: ZoneMinder 1.37.x Development Branch
Topic: What is the best way to get the ID of newly closed events in real time?
Replies: 3
Views: 108348

What is the best way to get the ID of newly closed events in real time?

In version 1.34 I use this script to monitor the end of new events in real time and subsequently launch a script for image analysis. It works in 1.36 too. ########################################################################################################## #!/bin/bash PARSER=`pgrep -f zm_parser...
by fontiano
Mon Jan 08, 2024 7:03 pm
Forum: ZoneMinder 1.37.x Development Branch
Topic: Skin problems after upgrade from 1.36 to 1.37.48
Replies: 2
Views: 102995

Re: Skin problems after upgrade from 1.36 to 1.37.48

I was in a hurry and uninstalled everything and reinstalled from scratch, now it works. Thanks of course for the support
by fontiano
Sun Jan 07, 2024 5:46 pm
Forum: ZoneMinder 1.37.x Development Branch
Topic: Skin problems after upgrade from 1.36 to 1.37.48
Replies: 2
Views: 102995

Skin problems after upgrade from 1.36 to 1.37.48

Debian 12 This is the login page: problem.png this is the page after login: problem2.png This is the apache access log: 10.0.1.2 - - [07/Jan/2024:18:41:31 +0100] "POST /zm/?view=login HTTP/1.1" 200 5271 "http://10.0.1.174/zm/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) Apple...
by fontiano
Fri Sep 29, 2023 4:33 pm
Forum: ZoneMinder 1.36.x
Topic: high ram usage
Replies: 12
Views: 6143

Re: high ram usage

I had a similar problem when I used a single SSD disk for the database and recordings

I solved the problem by adding a mechanical disk dedicated to event recording and using the SSD disk for the DB

Don't ask me why but the problem is reproducible
by fontiano
Sun Aug 06, 2023 6:23 pm
Forum: ZoneMinder 1.36.x
Topic: memory leak in mocord
Replies: 26
Views: 25404

fixed

The hard drive dedicated to video storage solved the problem although I don't understand why
by fontiano
Sat Aug 05, 2023 12:06 pm
Forum: ZoneMinder 1.36.x
Topic: memory leak in mocord
Replies: 26
Views: 25404

maybe I fixed it

I think my problem was not related to bad network or bad rstp stream. On my test environment I had only 1 SSD disk (SO, database, video storage etc.) and I thought it was enough for 2 cameras The behavior changed after I added a dedicated disk (mechanical) for video storage. Now the memory consumpti...