pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alexander B. <burbello3000@yahoo.com.br>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Process
Date: Tue, 10 Apr 2007 10:36:35 -0400
Message-ID: <25797.1176215795@sss.pgh.pa.us> (raw)
In-Reply-To: <461B8F3E.8010006@yahoo.com.br>
References: <461B8F3E.8010006@yahoo.com.br>

"Alexander B." <burbello3000@yahoo.com.br> writes:
> I have a Postgres server that has more than 500MB ( shared_buffers =
> 64000) and looking at TOP command, I couldn't understand why appears
> some process with 536m and other with 23m.
> What's the difference between?

Some versions of top only count the pages of shared memory that a
given process has actually touched so far.  So for example in the
shared buffer arena, the reported usage will rise as the process runs
longer and chances to use buffers other than the ones it's used already.
It's pretty misleading, because it makes normal behavior look like a
memory leak :-(

			regards, tom lane



view thread (2+ messages)

Message-ID: <25797.1176215795@sss.pgh.pa.us>
Permalink:  ../25797.1176215795@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25797.1176215795@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, burbello3000@yahoo.com.br
  Subject: Re: Process
  In-Reply-To: <25797.1176215795@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