pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Hoover <chrish@aweber.com>
To: Ozgur Kulu <kuluozgur@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: Outage caused by query in IPC:MessageQueueReceive wait????
Date: Fri, 14 Jun 2024 14:19:06 -0400
Message-ID: <464C0807-4299-42B4-81E8-AC8D016C3AC7@aweber.com> (raw)
In-Reply-To: <CAF5PJVzhHAz1F55-xW_rNUYOZCBr2TYUtt0xpYAeTd+q7wA09w@mail.gmail.com>
References: <A2F12A32-848A-4540-A34B-0E2431ACC88A@aweber.com>
	<33F68D47-1D2D-4DB8-B753-BE83A3FA653E@aweber.com>
	<CAF5PJVzhHAz1F55-xW_rNUYOZCBr2TYUtt0xpYAeTd+q7wA09w@mail.gmail.com>

Yes,  it appeared to be in a transaction.  The pg_stat_activity.xact_start was before the query_start.  Unfortunately, I don’t have the other queries.  (I snapshot pg_stat_activity every minute, so it missed any prior queries to the blocker).

Thanks,


Chris Hoover
Senior DBA
AWeber.com
Cell: (803) 528-2269
Email: chrish@aweber.com



> On Jun 14, 2024, at 2:16 PM, Ozgur Kulu <kuluozgur@gmail.com> wrote:
> 
> Hi chris, 
> 
> Is this query in transaction block ? 
> 
> 14 Haz 2024 Cum 20:03 tarihinde Chris Hoover <chrish@aweber.com <mailto:chrish@aweber.com>> şunu yazdı:
>> Forgot to mention, this is on PG 16.1
>> 
>> Thanks,
>> 
>> 
>> Chris Hoover
>> Senior DBA
>> AWeber.com
>> Cell: (803) 528-2269
>> Email: chrish@aweber.com <mailto:chrish@aweber.com>
>> 
>> 
>> 
>>> On Jun 14, 2024, at 12:52 PM, Chris Hoover <chrish@aweber.com <mailto:chrish@aweber.com>> wrote:
>>> 
>>> All,
>>> 
>>> We had an outage today that appears to have been caused by a query in "IPC:MessageQueueReceive” wait state blocking another query from completing a truncate.  
>>> 
>>> Is there anyway to figure out what exactly it was waiting on other than an IPC message?  I’m trying to get to the true root cause of our outage.
>>> 
>>> Thanks,
>>> 
>>> 
>>> Chris Hoover
>>> Senior DBA
>>> AWeber.com
>>> Cell: (803) 528-2269
>>> Email: chrish@aweber.com <mailto:chrish@aweber.com>
>>> 
>>> 
>>> 
>> 

view thread (4+ messages)  latest in thread

Message-ID: <464C0807-4299-42B4-81E8-AC8D016C3AC7@aweber.com>
Permalink:  ../464C0807-4299-42B4-81E8-AC8D016C3AC7@aweber.com/
Also on:    postgresql.org/message-id/464C0807-4299-42B4-81E8-AC8D016C3AC7@aweber.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: chrish@aweber.com, kuluozgur@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Outage caused by query in IPC:MessageQueueReceive wait????
  In-Reply-To: <464C0807-4299-42B4-81E8-AC8D016C3AC7@aweber.com>

* 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