Re: Re: SOMAXCONN (was Re: Solaris source code)

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Re: SOMAXCONN (was Re: Solaris source code)
Дата
Msg-id Pine.LNX.4.30.0107111944130.679-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: Re: SOMAXCONN (was Re: Solaris source code)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane writes:

> 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.

We'll never find that out if we don't try it.  If you're concerned about
cooperating with other listen()ing processes, set it to MaxBackends * 2,
if you're not, set it to INT_MAX and watch.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "gabriel"
Дата:
Сообщение: LOG PgSql ..
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [JDBC] Re: JDBC adaptor issue