Re: how to limit postgresql process and memory time

From: Brent Verner <brent(at)rcfile(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Jan Wieck <janwieck(at)yahoo(dot)com>, 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:58:12
Message-ID: 20020117115812.A41937@rcfile.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

[2002-01-17 11:36] Tom Lane said:
| Brent Verner <brent(at)rcfile(dot)org> writes:
| > Would it be useful to have settings for nice(2)
|
| No; see prior discussions.

I can probably guess...

| > and setrlimit(2) calls?
|
| Not sure about that one. An admin can set ulimit settings before
| starting the postmaster, and I'm not sure I see any point in changing
| them on-the-fly.

except that admin (root) could set max limits for the postmaster,
then the db admin could set (potentially per database/account) limits
for each backend. This might allow some measure of control in a
multi-user (think hosting) environment. just a random thought;
maybe not worth the bytes on the wire...

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

Browse pgsql-general by date

  From Date Subject
Next Message Steve Boyle (Roselink) 2002-01-17 16:59:26 Re: how to limit postgresql process and memory time
Previous Message Tom Lane 2002-01-17 16:36:54 Re: how to limit postgresql process and memory time