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

From The Hermit Hacker
Subject Re: refusing connections based on load ...
Date
Msg-id Pine.BSF.4.33.0104232333480.4451-100000@mobile.hub.org
Whole thread Raw
In response to Re: refusing connections based on load ...  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: refusing connections based on load ...  (Larry Rosenman <ler@lerctr.org>)
Re: refusing connections based on load ...  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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) ...




pgsql-hackers by date:

Previous
From: Vince Vielhaber
Date:
Subject: Re: Re: Hardcopy docs available
Next
From: Larry Rosenman
Date:
Subject: Re: refusing connections based on load ...