Re: FW: query pg_stat_ssl hang 100%cpu - Mailing list pgsql-bugs

From Thomas Munro
Subject Re: FW: query pg_stat_ssl hang 100%cpu
Date
Msg-id CA+hUKGJKXdMyLdqYDioVnAUiAE4GKdmxues61e+4nz5YHnmQkQ@mail.gmail.com
Whole thread Raw
In response to RE: FW: query pg_stat_ssl hang 100%cpu  ("James Pang (chaolpan)" <chaolpan@cisco.com>)
Responses RE: FW: query pg_stat_ssl hang 100%cpu
List pgsql-bugs
On Thu, Sep 7, 2023 at 9:38 PM James Pang (chaolpan) <chaolpan@cisco.com> wrote:
> (gdb) p  RecordCacheArrayLen
> $3 = 0

Clearly this system lacks check against wrapping around, but it must
be hard work to allocate billions of typmods...

Or maybe if in an earlier call we assigned RecordCacheArray but the
allocation of RecordIdentifierArray failed (a clue would be that it is
still NULL), we never manage to assign RecordCacheArrayLen a non-zero
value?  But it must be unlikely for a small allocation to fail...



pgsql-bugs by date:

Previous
From: "James Pang (chaolpan)"
Date:
Subject: RE: FW: query pg_stat_ssl hang 100%cpu
Next
From: "James Pang (chaolpan)"
Date:
Subject: RE: FW: query pg_stat_ssl hang 100%cpu