Re: BUG #18075: configuration variable idle_session_timeout not working as expected

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: BUG #18075: configuration variable idle_session_timeout not working as expected
Дата
Msg-id CAKFQuwbgj3i3321PfKeZt597BDH9NisOAJ3YJF19btcatQ1kBQ@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #18075: configuration variable idle_session_timeout not working as expected  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #18075: configuration variable idle_session_timeout not working as expected  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Tuesday, August 29, 2023, PG Bug reporting form <noreply@postgresql.org> wrote:
The following bug has been logged on the website:

Bug reference:      18075
Logged by:          Muhammad Ali Ansari
Email address:      maliansari.coder@gmail.com
PostgreSQL version: 15.4
Operating system:   ubuntu 22.04
Description:       

I have set the idle_session_timeout variable as 60000 making it 60 seconds

    EXTRACT(MINUTE FROM (current_timestamp - state_change)) as duration

 datname  | pid | query  | usename | client_addr | client_port | state |
backend_xid | duration
----------+-----+--------+---------+-------------+-------------+-------+-------------+----------
 postgres | 975 | COMMIT | apiuser | ::1         |       45748 | idle  |   
        |       28


As we can see, it shows that the time is way more than 1 minute now it is 28
minutes and they are still idle and still open in postgres and not
disconnected as expected.

Not sure how you got 28 minutes from 45748…which is large enough that it is probable those sessions started before you changed the timeout and so are not affected by it.

David J.

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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #18076: Consistently receiving Signal 7 and Signal 11 errors
Следующее
От: Robert Sanford
Дата:
Сообщение: Re: BUG #18076: Consistently receiving Signal 7 and Signal 11 errors