Re: Postmaster hogs CPU

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: Chris Gamache <cgg007(at)yahoo(dot)com>
Subject: Re: Postmaster hogs CPU
Date: 2004-05-06 01:09:25
Message-ID: 40999045.2030502@bigfoot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Chris Gamache wrote:

> What can be done to allow for smarter preemption? Could I do anything
at the OS
> level to throttle that particular postmaster's process? I'm running
(IMO) a
> balanced config, but there's always room for improvement. Its that
oddball
> query that comes around once every so often that causes the problem.

You can basically renice the process that is performing the query.
See 'man nice' for details.

Regards
Gaetano Mendola

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2004-05-06 01:42:34 Re: Postmaster hogs CPU
Previous Message scott.marlowe 2004-05-05 21:25:16 Re: Postmaster hogs CPU