Subject: Re: Shared memory problems anyone ?
To: Brett Lymn <>
From: Ian Main <>
List: current-users
Date: 12/11/2000 13:04:06
On Mon, Dec 11, 2000 at 02:31:20PM +1030, Brett Lymn wrote:
> According to Ian Main:
> >
> >I'm running a -current kernel as of about 2 weeks ago.  I'm afraid I
> >haven't debugged any further than this.. I'm mostly just curious if
> >anyone else has seen this problem, or if I'm just a freak ? :)
> >
> What does the "ipcs" command tell you?  It sounds like you are using
> up all your available semaphores - the ipc resources are not released
> when a process dies, they persist until they are explicitly removed.
> If you have something that is not cleaning up after itself then you
> will get the effect of things working just after a reboot but failing
> later.  If you need more semaphores then you will need to increase the
> SEMMNI(default is 10) and SEMMNS(default is 60) in your kernel config.

Aah yes, right you are.. We've been trying to add SDL support to Entity,
and it's not cleaning up after itself, causing the above problem.

Thank you muchly.  I forgot about ipcs stuff.. it's been a while since
I've worked with them :)