| От | Bruce Momjian |
|---|---|
| Тема | Re: Re: SOMAXCONN (was Re: Solaris source code) |
| Дата | |
| Msg-id | 200107111729.f6BHT2J16134@candle.pha.pa.us обсуждение |
| Ответ на | Re: Re: SOMAXCONN (was Re: Solaris source code) (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
> Bruce Momjian <pgman@candle.pha.pa.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@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера