Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id B891D635869 for ; Wed, 18 Mar 2009 21:28:44 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 41147-01 for ; Wed, 18 Mar 2009 21:28:35 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by mail.postgresql.org (Postfix) with ESMTP id 97E56635A6E for ; Wed, 18 Mar 2009 21:28:09 -0300 (ADT) Received: from perhan.alvh.no-ip.org (200-126-101-194.bk7-dsl.surnet.cl [200.126.101.194]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id n2J0Yn88020946 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Mar 2009 17:34:53 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 7352547CDF; Wed, 18 Mar 2009 20:28:02 -0400 (CLT) Date: Wed, 18 Mar 2009 20:28:02 -0400 From: Alvaro Herrera To: Fabricio Cc: pgsql-admin@postgresql.org Subject: Re: out of memory Message-ID: <20090319002802.GO3798@alvh.no-ip.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Wed, 18 Mar 2009 17:34:53 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200903/197 X-Sequence-Number: 31697 Fabricio wrote: > > > Hi > > I have a dedicated database server with 16 GB of RAM. > > and the oom-killer is killing my database Try disabling memory overcommit; see 17.4.3 here: http://www.postgresql.org/docs/8.3/interactive/kernel-resources.html -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.