Re: Dead lock after the migration from CentOS 7 to RHEL 9

From: Wasim Devale <wasimd60(at)gmail(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Muhammad Waqas <waqas(dot)m(at)bitnine(dot)net>, Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>, pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Dead lock after the migration from CentOS 7 to RHEL 9
Date: 2024-08-15 03:28:11
Message-ID: CAB5fag7hsyWJUv=KezM=10RZ8hs=3fDkR4vMmJvn-Fjv3O0oeA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

So it's not a postgresql issue. It's from the application side correct?

On Thu, 15 Aug, 2024, 8:56 am David G. Johnston, <david(dot)g(dot)johnston(at)gmail(dot)com>
wrote:

> On Wednesday, August 14, 2024, Wasim Devale <wasimd60(at)gmail(dot)com> wrote:
>
>> Hi please help me with the below email.
>>
>> ---------- Forwarded message ---------
>> From: Wasim Devale <wasimd60(at)gmail(dot)com>
>> Date: Wed, 14 Aug, 2024, 11:09 am
>> Subject: Dead lock after the migration from CentOS 7 to RHEL 9
>> To: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>, pgsql-admin <
>> pgsql-admin(at)postgresql(dot)org>
>>
>>
>> Hi All
>>
>> I am facing this issue while reindexing after migration. I analysed the
>> application holding the particular table. I stopped the application and
>> reindexed it. It went well then again I am facing this issue below.
>>
>> ERROR: deadlock detected
>>
>> DETAIL: Process 2197043 waits for AccessExclusiveLock on relation
>> 10384355 of database 10163711; blocked by process 1889236.
>>
>> Process 1889236 waits for RowExclusiveLock on relation 10168609 of
>> database 10163711; blocked by process 2197043.
>>
>> HINT: See server log for query details.
>>
>
> How are we supposed to help; you have the indicated log files, and
> application code, not us. It’s a bug in your code. And you haven’t asked
> any question that could be answered.
>
> David J.
>
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message David G. Johnston 2024-08-15 03:31:16 Re: Dead lock after the migration from CentOS 7 to RHEL 9
Previous Message David G. Johnston 2024-08-15 03:26:48 Re: Dead lock after the migration from CentOS 7 to RHEL 9