From owner-freebsd-questions Thu Apr 18 2: 3:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id 9286C37B416 for ; Thu, 18 Apr 2002 02:03:13 -0700 (PDT) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Thu, 18 Apr 2002 10:03:09 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 16y7mh-00049G-00; Thu, 18 Apr 2002 10:00:55 +0100 Date: Thu, 18 Apr 2002 10:00:55 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: Vivek Khera Cc: freebsd-questions@freebsd.org Subject: Re: postgresql max_connections - out of semaphore sets In-Reply-To: <200204172124.g3HLOKVx059078@onceler.kciLink.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 17 Apr 2002, Vivek Khera wrote: > >>>>> "JG" == Jan Grant writes: > > JG> I asked exactly this question a couple of weeks ago, with no response. > JG> There does not (as far as I can tell) appear to be a boot-time > JG> configuration for this, so you're stuck building a kernel with larger > JG> values for SEMMNI. > > JG> This is really easy, however: check /usr/src/sys/i386/conf/GENERIC and > JG> LINT for the appropriate option definitions. > > JG> Nevertheless, I'd _love_ to be corrected on this, because it is > JG> certainly a bit of a pain. > > sysctl has a kern.ipc.semmni value, so presumably you can set it. That's what I presumed, too, until i tried it :-) > You > may be able to do it while the system is running or maybe you need to > set it from /boot/loader.conf. Again, I didn't have any luck here; but I'm now motivated to have a closer look. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk "My army boots contain everything not in them." - Russell's pair o' Docs. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message