once week ago i set up this system for use it with zm in my home.
I used an old pc that was without a work...
AMD Athlon64 3200+
1,5 gb of ram, DDR, set up with 1gb slot, 2*256mb
Motherboard asus
PCI dvr card with 8 input BNC, 240 fps total
SO: Ubuntu 9.04
ZM 1.24.2
I install zm with the guide in the wiki, checking all pass
Then i set the permission for the video device using 777
I configure the first cam with these settings
device V4L2 /dev/video8
res 640x480
PAL
GREY (tried also RGB24)
the second is the same, change the path /dev/video5
The problem is that after one hour or two one camera stop working
In var/log/message i see this error:
Code: Select all
Dec 7 16:35:33 server-amd zms[16332]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results]
Dec 7 16:35:33 server-amd zms[16333]: INF [Got signal 15 (Terminated), exiting]
Dec 7 16:35:35 server-amd zms[16331]: INF [Got signal 15 (Terminated), exiting]
Dec 7 16:35:36 server-amd zms[16334]: INF [Debug Level = 0, Debug Log = <none>]
Dec 7 16:35:36 server-amd zms[16334]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results]
Dec 7 16:35:36 server-amd zms[16334]: INF [Got signal 15 (Terminated), exiting]
Dec 7 16:36:05 server-amd zms[16345]: INF [Debug Level = 0, Debug Log = <none>]
Dec 7 16:36:05 server-amd zms[16345]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results]
Dec 7 16:36:05 server-amd zms[16345]: INF [Got signal 15 (Terminated), exiting]
Dec 7 16:36:05 server-amd zms[16345]: WAR [Unable to store frame as shared memory invalid]
Dec 7 16:36:05 server-amd zms[16346]: INF [Debug Level = 0, Debug Log = <none>]
Dec 7 16:36:05 server-amd zms[16346]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results]
Dec 7 16:36:05 server-amd zms[16346]: WAR [Unable to store frame as shared memory invalid]
i change the sysctl.conf setting after zm install to:
kernel.shmmax=222184000
kernel.shmall=310000
But i have always shared memory problem.
In webmin running process panel i see that on 1,4gb of ram 1.2gb are free.
if i launch top from terminal it tell me differnt values: 1,2gb of ram used, 222mb free.
I dont know how i can figured out... i tried to change sysctl values, adding more and more ram, but nothing
IPCS -l tell me
Code: Select all
fede@server-amd:~$ ipcs -l
------ Limiti della memoria condivisa --------
numero massimo di segmenti = 4096
dimensione max seg (kbyte) = 216976
max total shared memory (kbytes) = 1240000
dimensione min seg (byte) = 1
------ Limiti di semaforo --------
numero max di matrici = 128
numero max di semafori per matrice = 250
numero max di semafori su tutto il sistema = 32000
numero max opz. per chiamata semop = 32
valore max del semaforo = 32767
------ Messaggi: limiti --------
numero max di code su tutto il sistema = 1718
dimensione max del messaggio (byte) = 8192
dimensione massima predefinita della coda (byte) = 16384
thanks