Re: Mutex error 22 - Postgres version 14

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: sireesha <sireesha(dot)padmini(at)gmail(dot)com>, pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Mutex error 22 - Postgres version 14
Date: 2023-02-02 00:18:55
Message-ID: 1435492.1675297135@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Peter Geoghegan <pg(at)bowt(dot)ie> writes:
> On Wed, Feb 1, 2023 at 3:02 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>>> 2023-01-24 02:35:45.833 PST [3424807] LOG: PID 0 in cancel request did not
>>> match any process
>>> *Error locking mutex 22*

> I wonder if 22 might be EINVAL, which is one possible error code used
> by pthread_mutex_lock().

Maybe, but we still don't know what's reporting the error.

I tried searching for "Error locking mutex" in Debian Code Search,
and got several hits, but none of them match this exactly --- the
ones that offer any additional info present it as a string not a
number.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message rh 2023-02-02 05:53:09 Re: Postgres Monitoring
Previous Message Peter Geoghegan 2023-02-02 00:14:21 Re: Mutex error 22 - Postgres version 14