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+hUKGJ53Nghv5XdPKmOpmUb3zcYUF9DzBXB_S5Q030t6pBLiQ@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
RE: FW: query pg_stat_ssl hang 100%cpu
List pgsql-bugs
> #0  ensure_record_cache_typmod_slot_exists (typmod=0) at typcache.c:1714

Are you able to print out the value of global variable
RecordCacheArrayLen?  I wonder if this loop in
ensure_record_cache_typmod_slot_exists() is not terminating:

        int32       newlen = RecordCacheArrayLen * 2;

        while (typmod >= newlen)
            newlen *= 2;



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