Re: Kill postgresql process

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: abbas alizadeh <ramkly(at)yahoo(dot)com>, Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Kill postgresql process
Date: 2021-06-14 16:25:23
Message-ID: CAOBaU_bSNffGTF8s8mis28DDUOT1e2xC2cEhdHxEGLj5wAg=_w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Le mar. 15 juin 2021 à 00:15, Laurenz Albe:

>
> - Attach to the backend with gdb.
> - Enter "print ProcessInterrupts()"
>
> Of course that will not work if the backend is in uninterruptible
> sleep (for example, stuck in an I/O operation).
>

that may be a terrible idea and leave a buffer pinned or something. and if
it's not it won't tell us where we're missing a CALL_FOR_INTERRUPTS

>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message abbas alizadeh 2021-06-14 16:32:40 Re: Kill postgresql process
Previous Message Laurenz Albe 2021-06-14 16:15:35 Re: Kill postgresql process