X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 87912D1B50A for ; Wed, 19 Nov 2003 06:34:50 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 13715-06 for ; Wed, 19 Nov 2003 02:34:20 -0400 (AST) Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by svr1.postgresql.org (Postfix) with ESMTP id 5468BD1C4EE for ; Wed, 19 Nov 2003 02:34:19 -0400 (AST) Received: from myrealbox.com shridhar_daithankar@smtp-send.myrealbox.com [202.54.11.72] by smtp-send.myrealbox.com with NetMail SMTP Agent $Revision: 3.44 $ on Novell NetWare via secured & encrypted transport (TLS); Tue, 18 Nov 2003 23:34:19 -0700 Message-ID: <3FBB0EE4.6010805@myrealbox.com> Date: Wed, 19 Nov 2003 12:04:12 +0530 From: Shridhar Daithankar User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Benjamin Bostow Cc: pgsql-performance@postgresql.org Subject: Re: High Processor consumption References: <1069204784.1955.16.camel@localhost.localdomain> In-Reply-To: <1069204784.1955.16.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/150 X-Sequence-Number: 4710 Benjamin Bostow wrote: > I am running RH 7.3 running Apache 1.3.27-2 and PostgreSQL 7.2.3-5.73. > When having 100+ users connected to my server I notice that postmaster > consumes up wards of 90% of the processor and I hardly am higher than > 10% idle. I did notice that when I kill apache and postmaster that my > idle processor percentage goes to 95% or higher. I am looking on ways > that I can find what connections are making the database processes run > so high. If this could also tell which program is accessing it, it would > be helpful. I have look through the documents on performance tuning > postgresql and have adjusted my memory with little effect. I have even > routed all traffic away from the Apache server so no load is on apache. > I do have C programs that run and access the database. Any help will be > greatly appreciated. Routinely the CPU load for postgresql translates to too much low shared buffers setting for requirement. What are your postgresql.conf tunings? Could you please post them? Shridhar