Skip site navigation (1) Skip section navigation (2)

Re: Capping CPU usage?

From: Cory 'G' Watson <gphat(at)cafes(dot)net>
To: "Josh Berkus" <josh(at)agliodbs(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Capping CPU usage?
Date: 2002-12-11 18:27:45
Message-ID: 3DFF224C-0D36-11D7-8019-0003939CCA58@cafes.net (view raw or flat)
Thread:
Lists: pgsql-performance
On Wednesday, December 11, 2002, at 12:12 PM, Josh Berkus wrote:
> I can't imagine that postmaster could do this, but I thought it there
>  might be some kind of Linux Kernel CPU quota option I haven't heard
> of.
>   Can anybody point me in the right direction?
>

You can always use nice(1) to lower it's priority.  This would allow 
other processes to get the CPU more often, effectively limiting it in 
the face of more demanding processes.

ulimit has a CPU time option, but it's probably not what you want.  I 
don't believe there is a kernel option for such a thing.  I don't 
recall seeing this type of accounting anywhere, but there are likely 
some patches.

Cory 'G' Watson


In response to

pgsql-performance by date

Next:From: eric soroosDate: 2002-12-11 18:44:39
Subject: Re: Capping CPU usage?
Previous:From: Rod TaylorDate: 2002-12-11 18:24:47
Subject: Re: Capping CPU usage?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group