From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Background writer memory bloat?
Date: Fri, 04 Aug 2006 11:00:28 -0400
Message-ID: <18411.1154703628@sss.pgh.pa.us> (raw)
In-Reply-To: <200608041641.33800.peter_e@gmx.net>
References: <200608041641.33800.peter_e@gmx.net>
Peter Eisentraut <peter_e@gmx.net> writes:
> I'm seeing a background writer process in an 8.0.8 installation that uses 1.6
> GB of main memory, and ps shows that it has used an unreasonable amount of
> CPU time so far. It seems that the machine was under heavy load just before
> I got to it; maybe that is cause? Has anyone seen this sort of memory bloat
> on the background writer process?
Are you sure it's bloat, and not just a reflection of the fact that it's
touched every page of the shared buffers over its lifespan? Some OSes
(you did not say what this is) report a process' memory size as
including only those pages of shared memory it's touched.
regards, tom lane
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-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, peter_e@gmx.net
Subject: Re: Background writer memory bloat?
In-Reply-To: <18411.1154703628@sss.pgh.pa.us>
References: <200608041641.33800.peter_e@gmx.net> <18411.1154703628@sss.pgh.pa.us>
* 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