pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gaetano Mendola <mendola@bigfoot.com>
To: Chris Gamache <cgg007@yahoo.com>
Subject: Re: Postmaster hogs CPU
Date: Thu, 06 May 2004 03:09:25 +0200
Message-ID: <40999045.2030502@bigfoot.com> (raw)
In-Reply-To: <20040505200355.43021.qmail@web13807.mail.yahoo.com>
References: <1083773198.21180.464.camel@camel>
	<20040505200355.43021.qmail@web13807.mail.yahoo.com>

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



view thread (7+ messages)  latest in thread

Message-ID: <40999045.2030502@bigfoot.com>
Permalink:  ../40999045.2030502@bigfoot.com/
Also on:    postgresql.org/message-id/40999045.2030502@bigfoot.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mendola@bigfoot.com, cgg007@yahoo.com
  Subject: Re: Postmaster hogs CPU
  In-Reply-To: <40999045.2030502@bigfoot.com>
  References: <1083773198.21180.464.camel@camel> <20040505200355.43021.qmail@web13807.mail.yahoo.com> <40999045.2030502@bigfoot.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox