Re: PosgreSQL hogging resources?

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Jeremy Smith <jer(at)highboard(dot)com>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: PosgreSQL hogging resources?
Date: 2004-02-20 18:43:23
Message-ID: Pine.LNX.4.33.0402201142150.11296-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Fri, 20 Feb 2004, Jeremy Smith wrote:

>
> I have newly installed PostgreSQL onto my server, the server's main function
> is to serve up a fantasy football site that has a tremendous number of
> queries per page. Right now with very low traffic I am seeing a server load
> of 2.0+. That got me a little concerned, so I looked at "top" and noticed
> that postgres is taking anywhere from 60 - 100 percent of my CPU at any
> given time. There are also 116 sleeping processes out of 123. This all
> seems very bad, do you guys have any idea what might be causing it or how it
> can be addressed? How do I go about cleaning out the sleeping processes?

Don't worry about sleeping processes, you should have a good hundred
sleeping on any unix box. My workstation has 152, my server has 173, and
the response time on both is way sub second.

Now, about postgresql, what is it doing when it's chewing up 100% cpu?

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Lamar Owen 2004-02-20 18:48:29 Re: PosgreSQL hogging resources?
Previous Message Jeremy Smith 2004-02-20 18:39:36 PosgreSQL hogging resources?