appropriate settings for shared memory ?

Forum for questions and support relating to the 1.24.x releases only.
Post Reply
lewis
Posts: 45
Joined: Mon Apr 03, 2006 11:41 pm
Location: Thessaloniki, Greece
Contact:

appropriate settings for shared memory ?

Post by lewis » Mon Nov 14, 2011 1:28 pm

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.
Ye-Olde's Manor - http://ye-olde.net

PacoLM
Posts: 970
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: appropriate settings for shared memory ?

Post by PacoLM » Mon Nov 14, 2011 5:52 pm


mini-ITX system (4 IPCams - Ubuntu20.04 - ZM1.34.15)
TelegramBot

lewis
Posts: 45
Joined: Mon Apr 03, 2006 11:41 pm
Location: Thessaloniki, Greece
Contact:

Re: appropriate settings for shared memory ?

Post by lewis » Mon Nov 14, 2011 7:17 pm

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.
Ye-Olde's Manor - http://ye-olde.net

PacoLM
Posts: 970
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: appropriate settings for shared memory ?

Post by PacoLM » Mon Nov 14, 2011 10:06 pm

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.

mini-ITX system (4 IPCams - Ubuntu20.04 - ZM1.34.15)
TelegramBot

lewis
Posts: 45
Joined: Mon Apr 03, 2006 11:41 pm
Location: Thessaloniki, Greece
Contact:

Re: appropriate settings for shared memory ?

Post by lewis » Tue Nov 15, 2011 12:34 am

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 ?
Ye-Olde's Manor - http://ye-olde.net

PacoLM
Posts: 970
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: appropriate settings for shared memory ?

Post by PacoLM » Tue Nov 15, 2011 5:42 am

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!).

mini-ITX system (4 IPCams - Ubuntu20.04 - ZM1.34.15)
TelegramBot

lewis
Posts: 45
Joined: Mon Apr 03, 2006 11:41 pm
Location: Thessaloniki, Greece
Contact:

Re: appropriate settings for shared memory ?

Post by lewis » Tue Nov 15, 2011 8:53 am

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..
Ye-Olde's Manor - http://ye-olde.net

PacoLM
Posts: 970
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: appropriate settings for shared memory ?

Post by PacoLM » Tue Nov 15, 2011 4:30 pm

What is in the logs (usually /var/log/syslog ), after restarting zoneminder?

mini-ITX system (4 IPCams - Ubuntu20.04 - ZM1.34.15)
TelegramBot

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests