From: Maksim Milyutin <milyutinma@gmail.com>
To: Raghavendra Rao J S V <raghavendrajsv@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: "checkpointer process" is consuming more memory. How to control it?
Date: Wed, 22 Aug 2018 17:43:30 +0300
Message-ID: <0c876e93-3842-da88-3a7e-c574711e9522@gmail.com> (raw)
In-Reply-To: <CAEHH7R4ePisRmxRpTA7ak_p+wasOKzuYvzBs3Ky+QhQmPmyotA@mail.gmail.com>
References: <CAEHH7R4ePisRmxRpTA7ak_p+wasOKzuYvzBs3Ky+QhQmPmyotA@mail.gmail.com>
22.08.2018 16:43, Raghavendra Rao J S V wrote:
> We have a database cluster as "db1_data". Under this cluster we have
> two databases. one is *db1 *and other is *qovr*. I surprised to see as
> "checkpointer process" is consuming 8.73GB of memory(RSS value as
> 9158892). Why "checkpointer process" is consuming this much amount of
> memory and how to limit the usage of the "checkpointer process" memory.
RSS value is not reasonable to determine memory leaks because it takes
into account shared segments (e.g. from shared buffer cache). As a
long-lived process checkpointer process tries to flush and as a
consequence to touch each buffer cell therefore its RSS approaches to
local allocated memory plus shared_buffers.
If you want to know the real local memory consumption you may to use
python utility *smem* to see unshared local memory size.
--
Regards,
Maksim Milyutin
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: milyutinma@gmail.com, raghavendrajsv@gmail.com
Subject: Re: "checkpointer process" is consuming more memory. How to control it?
In-Reply-To: <0c876e93-3842-da88-3a7e-c574711e9522@gmail.com>
References: <CAEHH7R4ePisRmxRpTA7ak_p+wasOKzuYvzBs3Ky+QhQmPmyotA@mail.gmail.com> <0c876e93-3842-da88-3a7e-c574711e9522@gmail.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