X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D0EA13A5D14 for ; Wed, 26 Jan 2005 19:25:22 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 48225-10 for ; Wed, 26 Jan 2005 19:25:16 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.201]) by svr1.postgresql.org (Postfix) with ESMTP id 897C33A5CFA for ; Wed, 26 Jan 2005 19:25:15 +0000 (GMT) Received: by wproxy.gmail.com with SMTP id 40so191210wri for ; Wed, 26 Jan 2005 11:24:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=cvJ/3sOloSrCQkOKNGUHGpJoI2WRriP5OAlRTV72ZX41MAoAxIdJ8UF92YC9rP1L0d4CkJNCGGU6SdM3Jtf0vBp+jVIJfaxA9zkermH4H4u3hdR/bmeV3QxYZ+PQ/k3b/dHC1mduEmInG6OrKCdPn0NCTZwCM4nvXqmO0SRGae4= Received: by 10.54.20.25 with SMTP id 25mr539189wrt; Wed, 26 Jan 2005 11:24:40 -0800 (PST) Received: by 10.54.59.22 with HTTP; Wed, 26 Jan 2005 11:24:40 -0800 (PST) Message-ID: <330532b605012611247a9db8e3@mail.gmail.com> Date: Wed, 26 Jan 2005 14:24:40 -0500 From: Mitch Pirtle Reply-To: Mitch Pirtle To: pgsql-performance@postgresql.org Subject: Re: PG versus FreeBSD, startup and connections problems In-Reply-To: <41F6B56A.9010103@coretech.co.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <330532b605012510193eb73b72@mail.gmail.com> <41F6B56A.9010103@coretech.co.nz> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.044 tagged_above=0 required=5 tests=AWL, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200501/508 X-Sequence-Number: 10198 Just a quick shout-out to Mark, as you provided the winning answer. I found numerous mailing list discussions and web pages, but all were either fragmented or out of date. Again, many thanks! -- Mitch On Wed, 26 Jan 2005 10:08:58 +1300, Mark Kirkwood wrote: > > in /etc/sysctl.conf : > kern.ipc.shmmax=100000000 > kern.ipc.shmall=32768 > (can be set online using systcl -w) > > Semaphores need to be set in /boot/loader.conf > kern.ipc.semmni=256 > kern.ipc.semmns=256 > (can typed at the loader prompt using set) > > These settings should let you have ~100 connections and use about 100M > of shared memory for shared_buffers.