From owner-freebsd-hackers Mon Nov 1 16:39:28 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from alcanet.com.au (border.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with ESMTP id A387D15329 for ; Mon, 1 Nov 1999 16:39:23 -0800 (PST) (envelope-from jeremyp@gsmx07.alcatel.com.au) Received: by border.alcanet.com.au id <40336>; Tue, 2 Nov 1999 11:33:56 +1100 Content-return: prohibited Date: Tue, 2 Nov 1999 11:39:14 +1100 From: Peter Jeremy Subject: Re: semaphores/semget problem In-reply-to: To: freebsd-hackers@FreeBSD.ORG Cc: kent@erix.ericsson.se Reply-To: peter.jeremy@alcatel.com.au Message-Id: <99Nov2.113356est.40336@border.alcanet.com.au> MIME-version: 1.0 X-Mailer: Mutt 1.0pre3i Content-type: text/plain; charset=us-ascii References: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kent Boortz 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