Re: refusing connections based on load ... - Mailing list pgsql-hackers

From Larry Rosenman
Subject Re: refusing connections based on load ...
Date
Msg-id 20010423214236.A355@lerami.lerctr.org
Whole thread Raw
In response to Re: refusing connections based on load ...  (The Hermit Hacker <scrappy@hub.org>)
Responses Re: refusing connections based on load ...  (Larry Rosenman <ler@lerctr.org>)
List pgsql-hackers
* The Hermit Hacker <scrappy@hub.org> [010423 21:38]:
> On Mon, 23 Apr 2001, Tom Lane wrote:
> 
> > The Hermit Hacker <scrappy@hub.org> writes:
> > > sendmail does it now, and, apparently relatively portable across OSs ...
> >
> > sendmail expects to be root.  It's unlikely (and very undesirable) that
> > postgres will be installed with adequate privileges to read /dev/kmem,
> > which is what it'd take to run the sendmail loadaverage code on most
> > platforms...
> 
> Actually, not totally accurate ... sendmail has a 'RunAs' option for those
> that don't wish to have it run as root, and still works for the loadavg
> stuff, to the best of my knowledge (its an option I haven't played with
> yet) ...
And 8.12.x will have some other options as well....

Like the SUBMISSION prog only needs to be SGID, not SUID....

LER

> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: refusing connections based on load ...
Next
From: Tom Lane
Date:
Subject: Re: refusing connections based on load ...