Re: Autovacuum worker doesn't immediately exit on postmaster death

From: Victor Yegorov <vyegorov(at)gmail(dot)com>
To: Alexander Kukushkin <cyberdemn(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Autovacuum worker doesn't immediately exit on postmaster death
Date: 2020-10-28 23:08:50
Message-ID: CAGnEboiqBc=mM2v7cSf-xE8uGqP1zKp4SiBbji8WxG3dAqFMzg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

ср, 28 окт. 2020 г. в 19:44, Alexander Kukushkin <cyberdemn(at)gmail(dot)com>:

> I know, nobody in their mind should do that, but, if the postmaster
> process is killed with SIGKILL signal, most backend processes
> correctly notice the fact of the postmaster process absence and exit.
> There is one exception though, when there are autovacuum worker
> processes they are continuing to run until eventually finish and exit.
>
> …
>
> I was able to reproduce it with 13.0 and 12.4, and I believe older
> versions are also affected.
>

Do you get the same behaviour also on master?
As there was some work in this area for 14, see
https://git.postgresql.org/pg/commitdiff/44fc6e259b

--
Victor Yegorov

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2020-10-28 23:21:01 Re: MultiXact\SLRU buffers configuration
Previous Message Victor Yegorov 2020-10-28 23:05:01 Re: Deleting older versions in unique indexes to avoid page splits