Re: how to limit postgresql process and memory time

From: Brent Verner <brent(at)rcfile(dot)org>
To: Jan Wieck <janwieck(at)yahoo(dot)com>
Cc: Emmanuel SARACCO <esaracco(at)noos(dot)fr>, pgsql-general(at)postgresql(dot)org
Subject: Re: how to limit postgresql process and memory time
Date: 2002-01-17 16:25:08
Message-ID: 20020117112508.A41604@rcfile.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

[2002-01-17 10:26] Jan Wieck said:
| Emmanuel SARACCO wrote:
| > hi,
| >
| > how can I limit all my postgresql processes to a certain percent of
| > processor work and a maximum amount of memory.
| > for exemple, to limit postgresql to 50% of processor work and 250mo of
| > memory.
|
| I don't know of any UNIX operating system that can be
| configured that way. You might have to look into some virtual
| machine architectures.

Would it be useful to have settings for nice(2) and setrlimit(2)
calls? I can see the utility in having setrlimit, but I get the
feeling nice is not something we want to put a knob on.

b

--
"Develop your talent, man, and leave the world something. Records are
really gifts from people. To think that an artist would love you enough
to share his music with anyone is a beautiful thing." -- Duane Allman

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Christian Schröder 2002-01-17 16:27:45 Re: pg_dump behaviour changed in 7.1.3?
Previous Message Ian Harding 2002-01-17 16:14:49 Re: [ADMIN] CREATE OR REPLACE VIEW / TRIGGER