Page 1 of 1

Massive zmtrigger error logs on disconnect

Posted: Sat Jan 04, 2025 12:24 pm
by DerGraf
Hi all,

i use zmtrigger to trigger an alert on various cameras.
On camera disconnect, i.e. temporary use or wifi loss, i got 6-8 log entries per second.

Code: Select all

1/4/25, 12:32:51 PM GMT+1	zmtrigger		374	ERR	Memory map file '/dev/shm/zm.mmap.9' does not exist in zmMemAttach. zmc might not be running.	zmtrigger.pl	-
1/4/25, 12:32:50 PM GMT+1	zmtrigger		374	ERR	Memory map file '/dev/shm/zm.mmap.9' does not exist in zmMemAttach. zmc might not be running.	zmtrigger.pl	-
1/4/25, 12:32:50 PM GMT+1	zmtrigger		374	ERR	Memory map file '/dev/shm/zm.mmap.9' does not exist in zmMemAttach. zmc might not be running.	zmtrigger.pl	-
1/4/25, 12:32:50 PM GMT+1	zmtrigger		374	ERR	Memory map file '/dev/shm/zm.mmap.9' does not exist in zmMemAttach. zmc might not be running.	zmtrigger.pl	-
1/4/25, 12:32:50 PM GMT+1	zmtrigger		374	ERR	Memory map file '/dev/shm/zm.mmap.9' does not exist in zmMemAttach. zmc might not be running.	zmtrigger.pl	-
1/4/25, 12:32:50 PM GMT+1	zmtrigger		374	ERR	Memory map file '/dev/shm/zm.mmap.9' does not exist in zmMemAttach. zmc might not be running.	zmtrigger.pl	-
1/4/25, 12:32:50 PM GMT+1	zmtrigger		374	ERR	Memory map file '/dev/shm/zm.mmap.9' does not exist in zmMemAttach. zmc might not be running.	zmtrigger.pl	-
1/4/25, 12:32:50 PM GMT+1	zmtrigger		374	ERR	Memory map file '/dev/shm/zm.mmap.9' does not exist in zmMemAttach. zmc might not be running.	zmtrigger.pl	-
1/4/25, 12:32:50 PM GMT+1	zmtrigger		374	ERR	Memory map file '/dev/shm/zm.mmap.9' does not exist in zmMemAttach. zmc might not be running.	zmtrigger.pl	-
1/4/25, 12:32:49 PM GMT+1	zmtrigger		374	ERR	Memory map file '/dev/shm/zm.mmap.9' does not exist in zmMemAttach. zmc might not be running.	zmtrigger.pl	-
Set camera function to "None" doesn´t help. It will still logging. After restarting Zoneminder by console, logging stops.

I have a camera in living room which is only powered on when i not at home. I dislike running cameras indoor.
Is there a other way for using temporary cameras?

I use latest Ubuntu release 1.36.35
Thanks for help.

Greets DerGraf.

Re: Massive zmtrigger error logs on disconnect

Posted: Sat Jan 04, 2025 5:20 pm
by iconnor
I'll see if I can improve this in 1.36. I think I already improved it in 1.37. You might consider just removing that log line and let it carry on silently.

Re: Massive zmtrigger error logs on disconnect

Posted: Sun Jan 05, 2025 3:48 am
by DerGraf
Thanks for answer.

i had just noticed because of zoneminder stops working.
Logging DB was so large that VM ran out of disk space and kill zoneminder.

Now i has disable all file loggings. Only LOG_LEVEL_DATABASE was set to "warning" and LOG_DATABASE_LIMIT was set to "1 hour".
I thinks thats work to me.

Greets DerGraf.