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

From: Muhammad Ali Ansari <maliansari(dot)coder(at)gmail(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #18075: configuration variable idle_session_timeout not working as expected
Date: 2023-08-30 17:27:06
Message-ID: CANE=mQzebWEY1aUn9X539_qyXjn=Xe4Oe8SNczUDjpL5+W5j2A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I have no user specific settings. Here check the output.
[image: image.png]

On Wed, Aug 30, 2023 at 9:32 PM David G. Johnston <
david(dot)g(dot)johnston(at)gmail(dot)com> wrote:

> On Tue, Aug 29, 2023 at 2:46 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
>> "David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
>> > On Tuesday, August 29, 2023, PG Bug reporting form <
>> noreply(at)postgresql(dot)org>
>> > wrote:
>> >> I have set the idle_session_timeout variable as 60000 making it 60
>> seconds
>> >> 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.
>>
>> Also, the OP didn't say *how* he set idle_session_timeout. That
>> pg_settings extract only proves that 60000 is the prevailing value in
>> the session where that was done. It's possible that the value was
>> only set locally, or in some other way that didn't affect those other
>> sessions at all.
>>
>>
> Yeah, the fact all of those are for "apiuser" suggests to me that user has
> their own setting for this which takes precedence over the server default.
>
> The output of \drds would be more informative than just looking at some
> unknown session's value.
>
> David J.
>
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Brad Nicholson 2023-08-30 18:43:22 Where Clause not being applied to all tables in a publication
Previous Message Muhammad Ali Ansari 2023-08-30 17:26:29 Re: BUG #18075: configuration variable idle_session_timeout not working as expected