Skip site navigation (1) Skip section navigation (2)

How much shared memory am I using please?

From: adey <adey11(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: How much shared memory am I using please?
Date: 2005-09-13 05:43:24
Message-ID: 1c66bda805091222435b7651f1@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-admin
A "free" command on my linux server returns the following:-
  
total used free shared buffers cached
Mem: 4077400 3958256 119144 0 104208 1551116
-/+ buffers/cache: 2302932 1774468
Swap: 2000084 4744 1995340

Postgres shared_buffers is set to 16384

SHMMAX is set to 256554432 bytes (245mb)

Why free show "shared" as 0 consistently please, and am I really not sharing 
any memory?

I'm trying to tune my SHMMAX parameter to provide an optimal shared memory 
segment size in which Postgres Shared_buffers can be optimised.

How do I do this please?

pgsql-admin by date

Next:From: ashish srivastavaDate: 2005-09-13 05:45:32
Subject: some samll questions on postgres
Previous:From: John DeSoiDate: 2005-09-13 04:41:05
Subject: Re: manage backup on a Window XP

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group