Re: Background writer memory bloat?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Background writer memory bloat?
Date: 2006-08-04 15:00:28
Message-ID: 18411.1154703628@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2006-08-04 15:35:27 Re: Question about Shared memory and PG
Previous Message Peter Eisentraut 2006-08-04 14:41:33 Background writer memory bloat?