How to prevent /dev/shm from filling up when a camera is unreachable?

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
fontiano
Posts: 68
Joined: Wed Dec 25, 2019 10:29 am

How to prevent /dev/shm from filling up when a camera is unreachable?

Post by fontiano »

This is the current situation:

tmpfs 14G 9,0G 5,1G 64% /dev/shm

If one of the 13 IP cameras becomes unreachable for any reason, zoneminder fills /dev/shm for no apparent reason.

When the /dev/shm reaches 100% zoneminder starts to fail to access other ip cameras and the system becomes unstable.

If I manually deactivate the off / dead camera, the system becomes stable again. In this case the space occupied on /dev/shm settles on higher percentages than normal.

To get everything back to normal, zoneminder must be restarted.

Can this behavior be defined as an unsolved bug?
Production: zm 1.34.26 - Debian 11 | Test: zm 1.36.33 - Debian 12
User avatar
iconnor
Posts: 3364
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: How to prevent /dev/shm from filling up when a camera is unreachable?

Post by iconnor »

yes I think so.
Post Reply