X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0800CD9D07 for ; Mon, 10 Oct 2005 11:31:32 -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 52575-09 for ; Mon, 10 Oct 2005 14:31:23 +0000 (GMT) Received: from ar-sd.net (unknown [82.77.155.72]) by svr1.postgresql.org (Postfix) with ESMTP id 036BAD9C62 for ; Mon, 10 Oct 2005 11:31:26 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ar-sd.net (Postfix) with ESMTP id 4ED4CE6A5; Mon, 10 Oct 2005 17:15:26 +0300 (EEST) Received: from ar-sd.net ([127.0.0.1]) by localhost (linz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02547-09; Mon, 10 Oct 2005 17:15:24 +0300 (EEST) Received: from forge (unknown [192.168.0.11]) by ar-sd.net (Postfix) with SMTP id 4F94FE442; Mon, 10 Oct 2005 17:15:24 +0300 (EEST) Message-ID: <001201c5cda7$4314b430$0b00a8c0@forge> From: "Andy" To: "Tom Lane" Cc: References: <006f01c5cd76$2b166490$0b00a8c0@forge> <20487.1128953925@sss.pgh.pa.us> Subject: Re: Server misconfiguration??? Date: Mon, 10 Oct 2005 17:31:10 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new at ar-sd.net X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.257 required=5 tests=[AWL=0.207, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200510/167 X-Sequence-Number: 14935 When I ment memory allocation, I look with htop to see the process list, CPU load, memory, swap. So I didn't ment the a postgre process uses that amount of memory. I read some tuning things, I made the things that are written there, but I think that there improvements can be made. regards, Andy. ----- Original Message ----- From: "Tom Lane" To: "Andy" Cc: Sent: Monday, October 10, 2005 5:18 PM Subject: Re: [PERFORM] Server misconfiguration??? > "Andy" writes: >> I get the feeling the server is somehow missconfigured or it does not >> work at full parameter. If I look at memory allocation, it never goes >> over 250MB whatever I do with the database. > > That is not wrong. Postgres expects the kernel to be doing disk > caching, so the amount of memory that's effectively being used for > database work includes not only what is shown as belonging to the > PG processes, but some portion of the kernel disk buffers as well. > You don't really *want* the processes eating all of available RAM. > > I concur with Chris K-L's comments that you should reduce rather > than increase your settings. > > regards, tom lane > >