Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2003 09:42:51 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        Vladimir Sysoev <vlad@unim.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: About semaphores
Message-ID:  <3ECE255B.5080009@potentialtech.com>
In-Reply-To: <3ECE2187.7030809@unim.ru>
References:  <3ECE2187.7030809@unim.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Vladimir Sysoev wrote:
> I install Iserverd on my FreeBSD 4.6 server and it reports to 
> /var/log/messages : Not enough semaphores. change kernel parameters.
> 
> I try to use sysctl kern.ipc... but these parameters are read only.
> 
> 1. Does anybody know about how to increase maximum semaphores counts?
> 2. Where can I obtain information about kernel(sysctl) parameters (books 
> manuals and others).

The only way I know of is to compile a custom kernel.
See /usr/src/sys/i386/conf/LINT for information on semaphore settings.
Also, the PostgreSQL folks use semaphores a lot and have some
documentation on how to get enough semaphores (and other shared memory)
on FreeBSD for different needs.  If you install the PostgreSQL port,
it installs the file /usr/local/pgsql/post-install-notes which has
information on how to jack up shared memory usage (including semaphores).
This file is likely to be available on the web as well.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ECE255B.5080009>