From owner-freebsd-stable Fri Jul 12 12:53: 9 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0049C37B401 for ; Fri, 12 Jul 2002 12:53:05 -0700 (PDT) Received: from yertle.kciLink.com (yertle.kcilink.com [216.194.193.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 818E543E3B for ; Fri, 12 Jul 2002 12:53:05 -0700 (PDT) (envelope-from khera@kciLink.com) Received: from onceler.kciLink.com (onceler.kciLink.com [216.194.193.106]) by yertle.kciLink.com (Postfix) with ESMTP id C66392178D for ; Fri, 12 Jul 2002 15:52:59 -0400 (EDT) Received: by onceler.kciLink.com (Postfix, from userid 100) id 8009B3D07; Fri, 12 Jul 2002 15:52:59 -0400 (EDT) From: Vivek Khera MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15663.13211.6205.877676@onceler.kciLink.com> Date: Fri, 12 Jul 2002 15:52:59 -0400 To: freebsd-stable@FreeBSD.ORG Subject: Re: [GENERAL] was there a change in FreeBSD SHM implementation from 4.4 to 4.6? (postgres trouble) In-Reply-To: References: X-Mailer: VM 7.04 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >>>>> "IS" == Igor Sysoev writes: >> I think the kernel should warn you if you set SHMMAX > SHMALL. IS> Although kernel build can warn about it IS> I do not believe that sysctl mechanics allows warnings. I figured as much. But the kernel build doesn't currently issue any such warnings under 4.6-RELEASE-p1. The following doesn't complain during config: # shared memory needs. options SYSVSHM options SHMALL=65536 options SHMMAXPGS=262144 which is what tripped me up. Making SHMALL=SHTMMAXPGS in the config above got the desired results. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message