Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 1C6F52E196F for ; Tue, 13 Nov 2007 17:08:38 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 63160-05 for ; Tue, 13 Nov 2007 17:08:22 -0400 (AST) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by postgresql.org (Postfix) with ESMTP id 0CD9A2E1891 for ; Tue, 13 Nov 2007 17:08:31 -0400 (AST) Received: by wa-out-1112.google.com with SMTP id m38so2399042waf for ; Tue, 13 Nov 2007 13:08:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=C4ny1NXysTQJ9d0ZXdvg/O/lY2TkYDJ14mg3tEuOX6w=; b=IzK1++4Yp9wcVJpMXdEw9qKHvyz/PCk7mi78BKcfSZnTmBzb8tgxHAIk3FfZNf7dMoNeGdmNafJp53pknUvLnGVSuYW00KM5doKYhwKp/yC+fi4J61WX7FrR0r6lOP6k8zvb52CoeVO3zNGu6R07z6nTJ4yIIjiqVVpGy9qVV3Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BLhAV1OAzrgMFd114JKVP4xoMr4km9XOsgsBpmsE8y5jseaA2ozjCyIw8kwR1HoUu+PkbRPfO1b66PlaDkrLPAQtqDduwT3LA3AFFOlxIXHjoh8UKh1wHxiepeu5jnKKygLot2hRyySm3coTftP+A8ZiHsZQyH+zyVH+C5LvgkY= Received: by 10.114.148.1 with SMTP id v1mr380147wad.1194988108676; Tue, 13 Nov 2007 13:08:28 -0800 (PST) Received: by 10.114.197.19 with HTTP; Tue, 13 Nov 2007 13:08:28 -0800 (PST) Message-ID: <4544e0330711131308p62a78e84t4380df68d1624ef5@mail.gmail.com> Date: Tue, 13 Nov 2007 15:08:28 -0600 From: "Peter Koczan" To: "Laszlo Nagy" Subject: Re: SHMMAX problem - how much is needed? Cc: pgsql-admin@postgresql.org In-Reply-To: <473A0242.3070002@shopzeus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <473A0242.3070002@shopzeus.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/113 X-Sequence-Number: 27356 > Minimum shared mem: 140731400 bytes = 135.0 MB > Maximum shared mem: 268435456 bytes = 256.0 MB > > kern.ipc.shmmin="140731400" > kern.ipc.shmmax="268435456" > > Nov 13 20:46:19 neptunus postgres[669]: [1-2] DETAIL: Failed system > call was shmget(key=5432001, size=21725184, 03600). The shared memory request, according to the error message, was for ~20 MB, far less than the 135 MB minimum limit you put in the kernel. You'll need to lower the limit or raise your request size, probably with regards to shared_buffers, as I think you're only allocating 2 MB to shared_buffers. You'll want to raise that on a production machine.