pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
To: REIX, Tony <tony.reix@atos.net>
To: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Bernd Helmle <mailings@oopsware.de>
Subject: Re: Deadlock in XLogInsert at AIX
Date: Thu, 2 Feb 2017 19:27:53 +0300
Message-ID: <7f66841e-5c8d-fb77-0492-94e3a0bfb47d@postgrespro.ru> (raw)
In-Reply-To: <ed9bd7fc-2d29-dc77-e537-bb463f93e7d4@atos.net>
References: <a72cfcb0-37d0-de2f-b3ec-f38ad8d6a8cc@postgrespro.ru>
	<0184657d-cf64-10f6-9706-7329f23f5f89@iki.fi>
	<85a1966c-aeee-fb38-77bd-6cad9a90b35f@postgrespro.ru>
	<2c4037f1-b35d-4d71-0d32-40a97523b31c@postgrespro.ru>
	<5de6b64a-f842-9166-e41a-ed7b87a2729b@iki.fi>
	<7609057e-b021-56d8-afb6-27acc1dfdeea@postgrespro.ru>
	<2fc764c7-2222-83e3-45c2-33c17853e13f@atos.net>
	<3f5948ed-b2a9-0920-98ac-47b347ad03a3@postgrespro.ru>
	<7ae6bad4-007a-ef56-ea0e-263c0ca48eae@atos.net>
	<74cec376-4191-a1da-d82c-08c7f92fc724@postgrespro.ru>
	<0de95f3d-f280-b6b9-c821-870ab2cccca6@atos.net>
	<58924463.8020505@postgrespro.ru>
	<ed9bd7fc-2d29-dc77-e537-bb463f93e7d4@atos.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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

view thread (51+ messages)  latest in thread

Message-ID: <7f66841e-5c8d-fb77-0492-94e3a0bfb47d@postgrespro.ru>
Permalink:  ../7f66841e-5c8d-fb77-0492-94e3a0bfb47d@postgrespro.ru/
Also on:    postgresql.org/message-id/7f66841e-5c8d-fb77-0492-94e3a0bfb47d@postgrespro.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: k.knizhnik@postgrespro.ru, tony.reix@atos.net, hlinnaka@iki.fi, mailings@oopsware.de
  Subject: Re: Deadlock in XLogInsert at AIX
  In-Reply-To: <7f66841e-5c8d-fb77-0492-94e3a0bfb47d@postgrespro.ru>
  References: <a72cfcb0-37d0-de2f-b3ec-f38ad8d6a8cc@postgrespro.ru> <0184657d-cf64-10f6-9706-7329f23f5f89@iki.fi> <85a1966c-aeee-fb38-77bd-6cad9a90b35f@postgrespro.ru> <2c4037f1-b35d-4d71-0d32-40a97523b31c@postgrespro.ru> <5de6b64a-f842-9166-e41a-ed7b87a2729b@iki.fi> <7609057e-b021-56d8-afb6-27acc1dfdeea@postgrespro.ru> <2fc764c7-2222-83e3-45c2-33c17853e13f@atos.net> <3f5948ed-b2a9-0920-98ac-47b347ad03a3@postgrespro.ru> <7ae6bad4-007a-ef56-ea0e-263c0ca48eae@atos.net> <74cec376-4191-a1da-d82c-08c7f92fc724@postgrespro.ru> <0de95f3d-f280-b6b9-c821-870ab2cccca6@atos.net> <58924463.8020505@postgrespro.ru> <ed9bd7fc-2d29-dc77-e537-bb463f93e7d4@atos.net> <7f66841e-5c8d-fb77-0492-94e3a0bfb47d@postgrespro.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox