Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Nov 1999 11:39:14 +1100
From:      Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>
To:        freebsd-hackers@FreeBSD.ORG
Cc:        kent@erix.ericsson.se
Subject:   Re: semaphores/semget problem
Message-ID:  <99Nov2.113356est.40336@border.alcanet.com.au>
In-Reply-To: <bulk.38759.19991101161626@hub.freebsd.org>
References:  <bulk.38759.19991101161626@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Kent Boortz <kent@erix.ericsson.se> wrote:
>     semget(IPC_PRIVATE, SEMMSL, IPC_EXCL | IPC_CREAT | 0600))
> 
> fails with the error "No space left on device".

Since SEMMSL defaults to SEMMNS, this is guaranteed to fail if
anything else is using semaphores.

> I tried to
> use a smaller value for SEMMSL but it did not help. 

I'm not sure what you mean by this.  Did you re-define SEMMSL before
your semget, or build a new kernel with a smaller SEMMSL?

If you intend to make heavy use of semaphores, you might like to
study PR kern/12014 as well.

Peter


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99Nov2.113356est.40336>