Page 1 of 1

Shared Memory problems remain after following FAQ

Posted: Sat Jun 24, 2006 5:16 pm
by cdavis
I have my NC1000 set to 640x480 and I still get:

Jun 24 12:13:23 localhost zmu[8745]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Jun 24 12:13:23 localhost zms[8751]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]


I have done the following to increase the shared memory:

echo 134217728 >/proc/sys/kernel/shmall && echo 134217728 >/proc/sys/kernel/shmmax

In FC4

If I change the resolution to 320x240 it seems to work fine. But I would sure like to take advantage of the camera as much as I can, or am I just not able to do 640x480?

Posted: Sat Jun 24, 2006 5:29 pm
by jameswilson
Have you restarted zm after changing shared mem allocation

Posted: Sat Jun 24, 2006 7:23 pm
by cdavis
Well I had thought so, but obviously not since that fixed it. Thanks. My proc usage went so high after that I had to take it back down anyway.

Posted: Sat Jun 24, 2006 8:58 pm
by jameswilson
It shouldnt effect prec usage (not adjusting shared mem) unless you are short on ram. If you upped the resololution this would obvisouly increase proc usage

Posted: Mon Jun 26, 2006 7:26 am
by cordel
Actually his proc usage would increase because zm is actually able to now analyze images assuming the modetect or mocord are being used. You might try lowering your FPS.

Regards,
Corey

Posted: Mon Jun 26, 2006 7:32 am
by jameswilson
lol i meant that using 320x240 and just increasing shared mem shouldnt increase the proc usage but if using 640x480 prox usage wouls increase. Quite a bit even at the same fps. I must learn to write things better so more people understand what i mean!
James

Posted: Mon Jun 26, 2006 7:38 am
by cordel
Yeah same here eh?
I will try to do a bit better. I am assuming that 640x480 was being used when he said it started working after restarting zm.
:D

Corey

Posted: Mon Jun 26, 2006 8:42 am
by jameswilson
Corey i thoink we need a tech support manual mate!!