| From: | Larry Rosenman <ler(at)lerctr(dot)org> |
|---|---|
| To: | The Hermit Hacker <scrappy(at)hub(dot)org> |
| Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: refusing connections based on load ... |
| Date: | 2001-04-24 02:42:36 |
| Message-ID: | 20010423214236.A355@lerami.lerctr.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
* The Hermit Hacker <scrappy(at)hub(dot)org> [010423 21:38]:
> On Mon, 23 Apr 2001, Tom Lane wrote:
>
> > The Hermit Hacker <scrappy(at)hub(dot)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(at)postgresql(dot)org
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2001-04-24 02:50:42 | Re: refusing connections based on load ... |
| Previous Message | The Hermit Hacker | 2001-04-24 02:34:53 | Re: refusing connections based on load ... |