Re: Still problems with memory swapping and server load

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvar Freude <alvar(at)a-blast(dot)org>
Cc: Curt Sampson <cjs(at)cynic(dot)net>, Markus Wollny <Markus(dot)Wollny(at)computec(dot)de>, pgsql-general(at)postgresql(dot)org
Subject: Re: Still problems with memory swapping and server load
Date: 2002-06-27 13:34:27
Message-ID: 24894.1025184867@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alvar Freude <alvar(at)a-blast(dot)org> writes:
> -- Curt Sampson <cjs(at)cynic(dot)net> wrote:
>> Some of your backends are getting pretty darn big. I wonder what
>> they're doing? It can't be sort memory at this point. But as you
>> can see, those five 200-250MB backends are killing you.

> no, not really: they use shared memory:

No, because all the backends will be accessing the *exact same* shared
memory; it's impossible for some to be using more than others. Since we
see process sizes ranging from 17M to 251M, it's a pretty safe bet that
the latter guys are actually chewing a lot of private space. I don't
know what the "share" column means in that ps display, but I wouldn't
trust it.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jorge Sarmiento 2002-06-27 13:44:13 Re: Strange behaviour of SELECT ... IN
Previous Message David Siebert 2002-06-27 13:17:22 Re: What is a tuple?