Re: Idle_session_timeout

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Idle_session_timeout
Дата
Msg-id 37b909eb3a90ce66315ff88d62f122a47399b720.camel@cybertec.at
обсуждение исходный текст
Ответ на Idle_session_timeout  (Rajesh Kumar <rajeshkumar.dba09@gmail.com>)
Список pgsql-admin
On Wed, 2023-10-04 at 21:08 +0530, Rajesh Kumar wrote:
> I was facing issue with idle connections not closed.
>
> So, I thought of automating it and set the parameter idle_session_timeout to 5min.
> But I got a message from application team that they are getting jdbc error
> continuously and they are saying connection is getting terminated.
> So I had to turn it off now.

Yes, if the connection is forcibly closed by the server, the client won't be happy.

If you say "idle connections not closed", that is the fault of the application.
The application has to explicitly close all connections it does not need any more.

Yours,
Laurenz Albe



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

Предыдущее
От: Rajesh Kumar
Дата:
Сообщение: Re: Idle_session_timeout
Следующее
От: Rajesh Kumar
Дата:
Сообщение: Re: Pg_cron not working