X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 07389D85EC for ; Tue, 13 Sep 2005 02:43:27 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 52913-07 for ; Tue, 13 Sep 2005 05:43:24 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.207]) by svr1.postgresql.org (Postfix) with ESMTP id 8EF2BD84A3 for ; Tue, 13 Sep 2005 02:43:23 -0300 (ADT) Received: by wproxy.gmail.com with SMTP id 36so15778wri for ; Mon, 12 Sep 2005 22:43:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=Zsd0sWK1YY9HDRInYgTMQWNxoLUf1uSSZqdQrqufwVt87pjyLJ8/bdeqQFvs8QSEVKdFXu0WBlMT0SG1waEf+mXIroH4seiTZkz5NGdJZm1mUYLmtB/CnlZYeLcBBCdYJ5SdY1UGvYcRfeTeb+zUZAiAhLnAcG3AbBSKb1NGfGg= Received: by 10.54.17.76 with SMTP id 76mr5921wrq; Mon, 12 Sep 2005 22:43:24 -0700 (PDT) Received: by 10.54.17.61 with HTTP; Mon, 12 Sep 2005 22:43:24 -0700 (PDT) Message-ID: <1c66bda805091222435b7651f1@mail.gmail.com> Date: Tue, 13 Sep 2005 17:43:24 +1200 From: adey Reply-To: adey11@gmail.com To: pgsql-admin@postgresql.org Subject: How much shared memory am I using please? Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5009_24463671.1126590204328" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.646 required=5 tests=[AWL=0.010, FROM_ENDS_IN_NUMS=0.516, HTML_50_60=0.095, HTML_MESSAGE=0.001, RCVD_BY_IP=0.024] X-Spam-Level: X-Archive-Number: 200509/121 X-Sequence-Number: 18858 ------=_Part_5009_24463671.1126590204328 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline A "free" command on my linux server returns the following:- =20 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 sharin= g=20 any memory? I'm trying to tune my SHMMAX parameter to provide an optimal shared memory= =20 segment size in which Postgres Shared_buffers can be optimised. How do I do this please? ------=_Part_5009_24463671.1126590204328 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
A "free" command on my linux server returns the following:-<= /div>
 

            =          total   &nb= sp;   used       free  &n= bsp;       shared    buffers&n= bsp;    cached
Mem:       4= 077400    3958256     119144  =         0     104208=     1551116
-/+ buffers/cache:    2302932&= nbsp;   1774468
Swap:      2000084&nb= sp;      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 real= ly not sharing any memory?

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

How do I do this please?

------=_Part_5009_24463671.1126590204328--