Re: Deadlock in XLogInsert at AIX

From: Konstantin Knizhnik <k(dot)knizhnik(at)postgrespro(dot)ru>
To: "REIX, Tony" <tony(dot)reix(at)atos(dot)net>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Bernd Helmle <mailings(at)oopsware(dot)de>
Subject: Re: Deadlock in XLogInsert at AIX
Date: 2017-02-02 16:27:53
Message-ID: 7f66841e-5c8d-fb77-0492-94e3a0bfb47d@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Tony,

On 02.02.2017 17:10, REIX, Tony wrote:
>
> Hi Konstantin
>
> I've discussed the "zombie/exit" issue with our expert here.
>
> - He does not think that AIX has anything special here
>
> - If the process is marked <exiting> in ps, this is because the flag
> SEXIT is set, thus the process is blocked somewhere in the kexitx()
> syscall, waiting for something.
>
> - In order to know what it is waiting for, the best would be to have a
> look with *kdb*.
>

kdb shows the following stack:

pvthread+073000 STACK:
[005E1958]slock+000578 (00000000005E1958, 8000000000001032 [??])
[00009558].simple_lock+000058 ()
[00651DBC]vm_relalias+00019C (??, ??, ??, ??, ??)
[006544AC]vm_map_entry_delete+00074C (??, ??, ??)
[00659C30]vm_map_delete+000150 (??, ??, ??, ??)
[00659D88]vm_map_deallocate+000048 (??, ??)
[0011C588]kexitx+001408 (??)
[000BB08C]kexit+00008C ()
___ Recovery (FFFFFFFFFFF9290) ___
WARNING: Eyecatcher/version mismatch in RWA

--
Konstantin Knizhnik
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2017-02-02 16:40:17 Re: PoC: Make it possible to disallow WHERE-less UPDATE and DELETE
Previous Message Pavel Stehule 2017-02-02 16:21:03 Re: PoC: Make it possible to disallow WHERE-less UPDATE and DELETE