Re: checkpoint process use too much memory

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: jian xu <jamesxu(at)outlook(dot)com>
Cc: MichaelDBA <MichaelDBA(at)sqlexec(dot)com>, Scott Ribe <scott_ribe(at)elevated-dev(dot)com>, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: checkpoint process use too much memory
Date: 2020-07-20 22:34:25
Message-ID: 736811.1595284465@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

jian xu <jamesxu(at)outlook(dot)com> writes:
> we are seeing this issue again, the checkpoint process is eating up all the memory,
> based on the htop, the checkpointer process has
> VIRT: 103G
> RES: 103G
> SHR: 4099M

hmmm ...

> my pg version is 10.3 ,

Really the *first* thing you ought to do is update to current (10.13)
and see if the problem is still there. But if it is, maybe collecting
a memory context map in that process would be informative:

https://wiki.postgresql.org/wiki/Developer_FAQ#Examining_backend_memory_use

Note you may need a debug build for that recipe to work.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Wells Oliver 2020-07-20 23:55:23 DELETE not seeming to use the PK index..
Previous Message Alvaro Herrera 2020-07-20 22:08:47 Re: checkpoint process use too much memory