Re: debugging server connection issue

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: debugging server connection issue
Дата
Msg-id 56FB0519.3020907@hogranch.com
обсуждение исходный текст
Ответ на Re: debugging server connection issue  (Stephen Constable <sjconsta@scisat.ca>)
Список pgsql-general
On 3/29/2016 3:25 PM, Stephen Constable wrote:
> Sorry, my client environment is Linux.
>
> My current theory is that my clients are running out of available
> ephemeral ports, like in this thread:
> http://dba.stackexchange.com/questions/59650/pgbouncer-works-great-but-occasionally-becomes-unavailable (but
> I"m not currently using pg bouncer).  I tried pg bouncer before and
> had the same errors, which in retrospect makes the client-side issue
> seem more likely.  Are there any configuration variables I can set to
> reduce the number of ephemeral ports required in the postgresql client
> libraries?  Otherwise, I will attempt to reconfigure the OS of the
> client machines tomorrow morning.


You might consider implementing your own sort of pool in your app where
you open a set of connections, and keep them, then your app gets a
connection from that list, uses it, returns it?  do this all in-memory....



--
john r pierce, recycling bits in santa cruz



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

Предыдущее
От: Stephen Constable
Дата:
Сообщение: Re: debugging server connection issue
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: debugging server connection issue