Memory problem

Forum for questions and support relating to the 1.25.x releases only.
Locked
eldwist
Posts: 2
Joined: Fri Jul 18, 2008 3:40 pm

Memory problem

Post by eldwist »

Hello to all.
I've installed zm following the UB11.10 wiki with no problem.
It's running on HP Z210 4Gb HW.
I've 5 cameras connected with 320*280 res.

If I change the camera res to 640*480 I've got the following error :

Got unexpected memory map file size 36865524, expected 9217524

I've search a bit, and I've done

edit /etc/sysctl.conf and add the following lines (for 128meg shared mem)

kernel.shmall = 134217728
kernel.shmmax = 134217728

sudo init 6

But I still have the same issue and I cannot increase the resolution.

Any idea ??
Thanks in advance
Best regards
Eld
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: Memory problem

Post by mastertheknife »

Restart ZM.

mastertheknife
Kfir Itzhak.
User avatar
nightcrawler
Posts: 71
Joined: Fri Aug 12, 2011 9:54 am
Location: the netherlands

Re: Memory problem

Post by nightcrawler »

mmm I've got the same error. and I have an brand new ZM 1.25. install (build 3648 from SVN) on an ubuntu 11.10 server.
Got mmap configured, and also shmax on an good size...still that same error..that zm espected more memory than there is reserved.

Did some google-ing, but didn't find an working sollution (on this url is an sollution but didn't work.. )...someone any idea's?

Code: Select all

Shared data size conflict in shared_data for monitor **** expected 328, got 316
Zoneminder @Ubuntu 11 server, ZM 1.25.0 , FFMPEG, 4 Analoge cameras, 1.6ghz P4mobile, 2GB ram, 60GB-HDD.
I also have an (homeseer) domotica system up-and-running with touchscreens,light controllers,weather forecast etc.
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Memory problem

Post by PacoLM »

Are you sure that you have modified the proper file and restarted your system?

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
Locked