Re: High Processor consumption

From: Shridhar Daithankar <shridhar_daithankar(at)myrealbox(dot)com>
To: Benjamin Bostow <ben(at)viatornetworks(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: High Processor consumption
Date: 2003-11-19 06:34:12
Message-ID: 3FBB0EE4.6010805@myrealbox.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Shridhar Daithankar 2003-11-19 06:54:04 Re: Join on incompatible types
Previous Message Shridhar Daithankar 2003-11-19 06:32:23 Re: More detail on settings for pgavd?