Zmc crashed signal 10

Forum for questions and support relating to the 1.29.x releases only.
Locked
plop22
Posts: 2
Joined: Mon Apr 10, 2017 11:50 pm

Zmc crashed signal 10

Post by plop22 »

Cant get zoneminder working on my raspberry pi no matter what i try, been doing this for way too long. Looking at my logs i see this
\'zmc -m 2' starting at 17/04/10 23:52:05, pid = 1598
'zmc -m 2' crashed, signal 10

So its obviously trying to start but keep crashing but i have no clue why, just trying to use one monitor with my ip camera in remote mode over http.

Another error
Memory map file '/dev/shm/zm.mmap.2' does not exist. zmc might not be running.

Guessing thats just because zmc failed to start so it didnt create the file. Anyway source shows red in zoneminder and trying to view it shows nothing. I can confirm the stream url is good. Also these are already set before someone tells me to set them.
echo 134217728 >/proc/sys/kernel/shmall
echo 134217728 >/proc/sys/kernel/shmmax
User avatar
iconnor
Posts: 3272
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Zmc crashed signal 10

Post by iconnor »

Not enough memory. /dev/shm uses ram because it's a ram disk.

You will need to reduce resolution, reduce buffers, reduce something. Is this a local cam or remote? for local cam you will need to allocate enough ram to the gpu.
plop22
Posts: 2
Joined: Mon Apr 10, 2017 11:50 pm

Re: Zmc crashed signal 10

Post by plop22 »

Im using a raspberry pi with 512mb of ram, cant remember what version it is but its the one with the 700mhz cpu. Im trying to use a remote ip camera, is this not enough ram to do that?
User avatar
iconnor
Posts: 3272
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Zmc crashed signal 10

Post by iconnor »

Depends! That is not a lot of ran and if your resolution or buffers are too large you will consume all Ram.
Locked