| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Bruce Momjian <pgman(at)candle(dot)pha(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:18:33 |
| Message-ID: | 23855.994871913@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | 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.
Have we beat this issue to death yet, or is it still twitching?
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2001-07-11 17:29:02 | Re: Re: SOMAXCONN (was Re: Solaris source code) |
| Previous Message | Bruce Momjian | 2001-07-11 17:13:45 | Re: Re: SOMAXCONN (was Re: Solaris source code) |