From owner-freebsd-stable Fri Jul 12 9:58:33 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 D64BB37B400 for ; Fri, 12 Jul 2002 09:58:29 -0700 (PDT) Received: from yertle.kciLink.com (yertle.kcilink.com [216.194.193.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6612E43E65 for ; Fri, 12 Jul 2002 09:58:29 -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 0020A217B6 for ; Fri, 12 Jul 2002 12:58:28 -0400 (EDT) Received: by onceler.kciLink.com (Postfix, from userid 100) id CA6FE3D07; Fri, 12 Jul 2002 12:58:28 -0400 (EDT) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: Vivek Khera To: freebsd-stable@freebsd.org Subject: Re: [GENERAL] was there a change in FreeBSD SHM implementation from 4.4 to 4.6? (postgres trouble) Newsgroups: ml.freebsd.stable References: X-Trace: lorax.kciLink.com 1026491506 97520 216.194.193.106 (12 Jul 2002 16:31:46 GMT) X-Complaints-To: daemon@kciLink.com X-Virus-Scanned: by AMaViS snapshot-20020517 (@kci) X-Razor-id: 6324e15a4748f711ab1ecf8635a1a6eaf719f7c4 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: >> 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. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera@kciLink.com Rockville, MD +1-240-453-8497 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message