From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, Ian Lance Taylor <ian(at)zembu(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Re: SOMAXCONN (was Re: Solaris source code) |
Date: | 2001-07-11 17:29:02 |
Message-ID: | 200107111729.f6BHT2J16134@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Don't we have maxbackends configurable at runtime.
>
> Not after postmaster start, so passing it to the initial listen()
> shouldn't be a problem.
>
> The other concern I had could be addressed by making the listen
> parameter be MIN(MaxBackends, PG_SOMAXCONN) where PG_SOMAXCONN
> is set in config.h --- but now we could make the default value
> really large, say 10000. The only reason to change it would be
> if you had a kernel that barfed on large listen() parameters.
Sounds good to me.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2001-07-11 17:35:56 | Re: Re: Multiple Indexing, performance impact |
Previous Message | Tom Lane | 2001-07-11 17:18:33 | Re: Re: SOMAXCONN (was Re: Solaris source code) |