From: | Merlin Moncure <mmoncure(at)gmail(dot)com> |
---|---|
To: | Justin Pryzby <pryzby(at)telsasoft(dot)com> |
Cc: | Nagaraj Raj <nagaraj(dot)sf(at)yahoo(dot)com>, postgres performance list <pgsql-performance(at)postgresql(dot)org> |
Subject: | Re: DB running out of memory issues after upgrade |
Date: | 2020-02-18 18:49:50 |
Message-ID: | CAHyXU0yf0mUHH-mZUHKJ_LXzCsd5wfyjcPhiW_u2SVWvH=620w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers pgadmin-support pgsql-admin pgsql-bugs pgsql-general pgsql-hackers pgsql-performance pgsql-pkg-yum |
On Tue, Feb 18, 2020 at 12:40 PM Justin Pryzby <pryzby(at)telsasoft(dot)com> wrote:
> This is almost certainly unrelated. It looks like that query did a seq scan
> and accessed a large number of tuples (and pages from "shared_buffers"), which
> the OS then shows as part of that processes memory, even though *shared*
> buffers are not specific to that one process.
Yeah. This server looks highly overprovisioned, I'm in particularly
suspicious of the high max_connections setting. To fetch this out
I'd be tracking connections in the database, both idle and not idle,
continuously. The solution is most likely to install a connection
pooler such as pgbouncer.
merlin
From | Date | Subject | |
---|---|---|---|
Next Message | Nagaraj Raj | 2020-02-18 19:10:20 | Re: DB running out of memory issues after upgrade |
Previous Message | Justin Pryzby | 2020-02-18 18:40:37 | Re: DB running out of memory issues after upgrade |
From | Date | Subject | |
---|---|---|---|
Next Message | Nagaraj Raj | 2020-02-18 19:10:20 | Re: DB running out of memory issues after upgrade |
Previous Message | Justin Pryzby | 2020-02-18 18:40:37 | Re: DB running out of memory issues after upgrade |
From | Date | Subject | |
---|---|---|---|
Next Message | Nagaraj Raj | 2020-02-18 19:10:20 | Re: DB running out of memory issues after upgrade |
Previous Message | Justin Pryzby | 2020-02-18 18:40:37 | Re: DB running out of memory issues after upgrade |
From | Date | Subject | |
---|---|---|---|
Next Message | hubert depesz lubaczewski | 2020-02-18 18:54:52 | gen_random_uuid() is immutable in Pg 13devel |
Previous Message | Justin Pryzby | 2020-02-18 18:40:37 | Re: DB running out of memory issues after upgrade |
From | Date | Subject | |
---|---|---|---|
Next Message | John W Higgins | 2020-02-18 18:51:46 | Re: How to handle CASE statement with PostgreSQL without need for typecasting |
Previous Message | Anthony Hall | 2020-02-18 18:40:58 | How to handle CASE statement with PostgreSQL without need for typecasting |
From | Date | Subject | |
---|---|---|---|
Next Message | Tomas Vondra | 2020-02-18 18:57:49 | Re: Memory-Bounded Hash Aggregation |
Previous Message | Justin Pryzby | 2020-02-18 18:40:37 | Re: DB running out of memory issues after upgrade |
From | Date | Subject | |
---|---|---|---|
Next Message | Nagaraj Raj | 2020-02-18 19:10:20 | Re: DB running out of memory issues after upgrade |
Previous Message | Justin Pryzby | 2020-02-18 18:40:37 | Re: DB running out of memory issues after upgrade |
From | Date | Subject | |
---|---|---|---|
Next Message | Nagaraj Raj | 2020-02-18 19:10:20 | Re: DB running out of memory issues after upgrade |
Previous Message | Justin Pryzby | 2020-02-18 18:40:37 | Re: DB running out of memory issues after upgrade |