I have installed /zoneminder.machine.learning:latest on my QNAP container station and I’m able to run a single Reolink camera proper. But as soon as I’m adding a second camera from Reolink - same configuration but different IP the camera is not working.
If I deactivate the first running camera, the second works well but the first not and consequently I’m not able to get a third or fourth camera running. I have attached my log but not sure if this is an issue with the container because I tried same with zoneminderhq latest with the same behavior. Any idea what the problem could be?
Only one camera is working
-
- Posts: 3
- Joined: Thu Oct 31, 2024 7:08 pm
Only one camera is working
- Attachments
-
- IMG_0562.jpeg (437.74 KiB) Viewed 2257 times
Re: Only one camera is working
You likely don't have enough ram to run two cameras.
-
- Posts: 3
- Joined: Thu Oct 31, 2024 7:08 pm
Re: Only one camera is working
Thanks for the feedback but RAM was one of the first I checked.
The resource usage of the container is unlimited and I have sufficient RAM on my NAS.
Already I have a zoneminder configuration with 5 camera’s running on Ubuntu Linux Station on the same NAS without problems. This configuration I try to move to a docker that I can release Ubuntu Linux Station and I have deactivated the Linux station while testing with docker to avoid a resource conflict.
Is there maybe another hidden resource limitation which is not visible?
The resource usage of the container is unlimited and I have sufficient RAM on my NAS.
Already I have a zoneminder configuration with 5 camera’s running on Ubuntu Linux Station on the same NAS without problems. This configuration I try to move to a docker that I can release Ubuntu Linux Station and I have deactivated the Linux station while testing with docker to avoid a resource conflict.
Is there maybe another hidden resource limitation which is not visible?
Re: Only one camera is working
I think in docker you have to tell it how big the tmpfs in /dev/shm is. If it isn't big enough, we crash.
In my docker-compose.yml for demo.zoneminder.com we have
volumes:
- type: tmpfs
target: /dev/shm
tmpfs:
size: 1000000000
In my docker-compose.yml for demo.zoneminder.com we have
volumes:
- type: tmpfs
target: /dev/shm
tmpfs:
size: 1000000000
-
- Posts: 3
- Joined: Thu Oct 31, 2024 7:08 pm
Re: Only one camera is working
It looks that /dev/shm size is the correct hint it is currently configured as 64MB size.
Maybe you can guide me how to change. Currently I get permission denied as root (please see attached screenshot)
Maybe you can guide me how to change. Currently I get permission denied as root (please see attached screenshot)
- Attachments
-
- IMG_0565.jpeg (260.37 KiB) Viewed 1955 times