X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 2B32FD784F for ; Mon, 29 Aug 2005 10:37:34 -0300 (ADT) 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 75059-02 for ; Mon, 29 Aug 2005 13:37:30 +0000 (GMT) Received: from floppy.pyrenet.fr (floppy.pyrenet.fr [194.116.145.2]) by svr1.postgresql.org (Postfix) with ESMTP id C9586D7B77 for ; Mon, 29 Aug 2005 10:37:29 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 20C7130952; Mon, 29 Aug 2005 15:37:31 +0200 (MET DST) From: "Qingqing Zhou" X-Newsgroups: pgsql.hackers Subject: Re: 8.1beta, SunOS and shmget Date: Mon, 29 Aug 2005 09:37:27 -0400 Organization: Hub.Org Networking Services Lines: 35 Message-ID: References: X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 To: pgsql-hackers@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.185 required=5 tests=[AWL=-0.000, PRIORITY_NO_NAME=1.185] X-Spam-Level: * X-Archive-Number: 200508/1042 X-Sequence-Number: 72237 ""Sergey E. Koposov"" wrote > > selecting default max_connections ... 10 > selecting default shared_buffers ... 50 > DETAIL: Failed system call was shmget(key=1, size=1957888, 03600). > > selecting default max_connections ... 10 > selecting default shared_buffers ... 20 > DETAIL: Failed system call was shmget(key=1, size=1712128, 03600). > > selecting default max_connections ... 5 > selecting default shared_buffers ... 16 > DETAIL: Failed system call was shmget(key=1, size=1613824, 03600). > > To me it seems quite strange, since that behaviour does not relate with > the formulae "250 kB + 8.2 kB * shared_buffers + 14.2 kB * max_connections > up to infinity" from documentation. > If the linear relationship is still held, the shm formula induced from your test is: 1384 kB + 8 kB * shared_buffers + 12.8 kB * max_connections Seems in 8.1, the base shm requirement is increased. But I am not where they are from. Regards, Qingqing