Subject: Re: kern/36979: Not enough semaphore sets by default
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 09/13/2007 08:35:04
The following reply was made to PR kern/36979; it has been noted by GNATS.
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/36979: Not enough semaphore sets by default
Date: Thu, 13 Sep 2007 10:34:32 +0200
On Thu, Sep 13, 2007 at 10:31:25AM +0200, Martin Husemann wrote:
> You are talking about Posix 1003.1b semaphores?
> I see no limit besides kernel memory for them in the code, can you ktrace
> the failing application and tell us what exactly happens?
Heh, of course there is a limit:
uipc_sem.c: #define SEM_MAX 30
It is neither documented nor correctly put into an opt_*.h file, but you
still should be able to increase the number with "options SEM_MEX=128" or
something.
Martin