Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 9391D47686A for ; Thu, 4 Jul 2002 23:34:15 -0400 (EDT) Mailbox-Line: From pgman@candle.pha.pa.us Thu Jul 4 23:34:15 2002 Received: from candle.pha.pa.us (216-55-132-35.dsl.san-diego.abac.net [216.55.132.35]) by postgresql.org (Postfix) with ESMTP id 9F99A476897 for ; Thu, 4 Jul 2002 23:33:12 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g653X1t28750; Thu, 4 Jul 2002 23:33:01 -0400 (EDT) From: Bruce Momjian Message-Id: <200207050333.g653X1t28750@candle.pha.pa.us> Subject: Re: memory strangeness (fwd) In-Reply-To: <7780.1025839102@sss.pgh.pa.us> To: Tom Lane Date: Thu, 4 Jul 2002 23:33:00 -0400 (EDT) Cc: Curt Sampson , Gregor Mosheh , pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, hits=-3.4 required=5.0 tests=IN_REP_TO version=2.30 X-Spam-Level: X-Archive-Number: 200207/80 X-Sequence-Number: 4766 Tom Lane wrote: > Curt Sampson writes: > >> I still cannot set PG's shared_buffers higher than 20000 (160 MB): > > > Shared memory pages, IIRC, are locked, meaning that they cannot be > > swapped. > > Is that really how it works on *BSD? That's great if so --- it's > exactly what Postgres wants --- but you'll pardon my paranoia about > assuming that any part of the universe works the way I want it to... Sure does. FreeBSD has a sysctl option to enable it, BSD/OS and I bet NetBSD do it by default. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026