Massive zmtrigger error logs on disconnect

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
DerGraf
Posts: 37
Joined: Fri Aug 17, 2018 7:33 pm

Massive zmtrigger error logs on disconnect

Post 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.
User avatar
iconnor
Posts: 3328
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Massive zmtrigger error logs on disconnect

Post 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.
DerGraf
Posts: 37
Joined: Fri Aug 17, 2018 7:33 pm

Re: Massive zmtrigger error logs on disconnect

Post 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.
Post Reply