From owner-freebsd-stable Fri Jul 12 12:46:47 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 37D4237B400 for ; Fri, 12 Jul 2002 12:46:45 -0700 (PDT) Received: from park.rambler.ru (park.rambler.ru [217.73.193.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CC2E43E31 for ; Fri, 12 Jul 2002 12:46:43 -0700 (PDT) (envelope-from is@rambler-co.ru) Received: from is (is.stack.net [217.73.193.40]) by park.rambler.ru (8.11.6/8.9.3) with ESMTP id g6CJkck48870; Fri, 12 Jul 2002 23:46:39 +0400 (MSD) (envelope-from is@rambler-co.ru) Date: Fri, 12 Jul 2002 23:46:38 +0400 (MSD) From: Igor Sysoev X-Sender: is@is To: Vivek Khera Cc: 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: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Fri, 12 Jul 2002, Vivek Khera wrote: > >>>>> "IS" == Igor Sysoev writes: > > >> The kernel config has SHMMAX and SHMMAXPGS. > > IS> Sorry, I'd meant "SHMMAXPGS is sysctl kern.ipc.shmall". > > Actually, SHMMAXPGS * 4096 == kern.ipc.shmmax > > so if you set SHMMAXPGS to some value, you need to multiply that by > 4096 to set shmmax. > > I think the kernel should warn you if you set SHMMAX > SHMALL. Although kernel build can warn about it I do not believe that sysctl mechanics allows warnings. Igor Sysoev http://sysoev.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message