Page 1 of 1

appropriate settings for shared memory ?

Posted: Mon Nov 14, 2011 1:28 pm
by lewis
hello all,

i've setup Zoneminder in a Debian GNU/Linux wheezy/sid box with 1gb ram.
i have 11 ip cameras (right now working only 6 of them) most of them 640x480 so i wanted to know the appropriate settings for shared memory..

i cannot get to work a vivotec fd6122 camera (the 7th one), i get a black screen, so i suppose its a shared memory problem..

any help would be appreciated.

Re: appropriate settings for shared memory ?

Posted: Mon Nov 14, 2011 5:52 pm
by PacoLM

Re: appropriate settings for shared memory ?

Posted: Mon Nov 14, 2011 7:17 pm
by lewis
i run this script, gave ~900mb to shared memory, rebooted, but still no image from the camera..

i will post my problem with the right subject..
thank you anyway.

Re: appropriate settings for shared memory ?

Posted: Mon Nov 14, 2011 10:06 pm
by PacoLM
Have you checked that the settings are saved in the file /etc/sysctl.conf, after the reboot?. Running the script of the first topic only shows the values, no change is done in the system.

Re: appropriate settings for shared memory ?

Posted: Tue Nov 15, 2011 12:34 am
by lewis
root@Stalin:~# ./checksharedmemory.sh
--- Checking memory setting...
-- Total memory = 1051865088 B = 1003 MB
-- Page size = 4096 B
-- Current kernel.shmmax = 946678579 B = 902 MB
-- Current kernel.shmall = 256803 pages
-- Recommended shm values already set
--- Done.

since this is a virtual server, should i give it more memory ?
for example 2gb of ram ?

Re: appropriate settings for shared memory ?

Posted: Tue Nov 15, 2011 5:42 am
by PacoLM
Since is a 11 camera system, have you tried to enable them one by one and confirm that all of them work individually?. Just an idea to advance step by step and don't mix problems (if they are!).

Re: appropriate settings for shared memory ?

Posted: Tue Nov 15, 2011 8:53 am
by lewis
i gave 2gigs of memory to this host, redefined shared memory, and vivotec fd61x2 became orange, but still no image.. just a blue screen with a timecode..

Re: appropriate settings for shared memory ?

Posted: Tue Nov 15, 2011 4:30 pm
by PacoLM
What is in the logs (usually /var/log/syslog ), after restarting zoneminder?