From: James Tomson <james@pushd.com>
To: pgsql-bugs@lists.postgresql.org
Cc: Eric Jensen <ej@pushd.com>
Subject: invalid memory alloc request size from pg_stat_activity?
Date: Mon, 6 May 2019 19:04:18 -0400
Message-ID: <1CFDCCD6-B268-48D8-85C8-400D2790B2C3@pushd.com> (raw)
Hello,
We're upgrading from postgresql 9.6 to 10.6 and everything is working fine, but any query against pg_stat_activity results in ERROR: invalid memory alloc request size 1652113408
e.g:
ourdb=> SELECT pid, state, age(query_start, clock_timestamp()), usename, query FROM pg_stat_activity WHERE query != '<IDLE>' AND state != 'idle' ORDER BY age limit 100;
ERROR: invalid memory alloc request size 1652113408
Maybe this has to do with us setting track_activity_query_size=102400? Is there a known safe maximum for that, or could there be some other problem?
Thanks,
James
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-bugs@postgresql.org
Cc: james@pushd.com, pgsql-bugs@lists.postgresql.org, ej@pushd.com
Subject: Re: invalid memory alloc request size from pg_stat_activity?
In-Reply-To: <1CFDCCD6-B268-48D8-85C8-400D2790B2C3@pushd.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