Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 4D7FE635596 for ; Fri, 6 Nov 2009 11:45:24 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 04083-02-3 for ; Fri, 6 Nov 2009 15:45:15 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from spinlock.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by mail.postgresql.org (Postfix) with ESMTP id 29013633E08 for ; Fri, 6 Nov 2009 11:39:32 -0400 (AST) Received: from perhan.alvh.no-ip.org (190-95-27-244.bk17-dsl.surnet.cl [190.95.27.244]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id 9DFE6348034; Fri, 6 Nov 2009 07:39:17 -0800 (PST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id F16646E8D4; Fri, 6 Nov 2009 12:39:27 -0300 (CLST) Date: Fri, 6 Nov 2009 12:39:27 -0300 From: Alvaro Herrera To: Massan Cc: pgsql-performance@postgresql.org Subject: Re: Problem with database performance, Debian 4gb ram ? Message-ID: <20091106153927.GE3840@alvh.no-ip.org> References: <26157096.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <26157096.post@talk.nabble.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.98 tagged_above=-10 required=5 tests=BAYES_00=-2.599, RCVD_IN_SORBS_WEB=0.619 X-Spam-Level: X-Archive-Number: 200911/78 X-Sequence-Number: 36246 Massan escribió: > and I am giving kernels like: > > sysctl -w kernel.shmmax=1073741824 > sysctl -w kernel.shmall=2097152 > > btw, what file I should modify to give this kernels as defaults ? /etc/sysctl.conf -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support