From: Ruben Rubio <ruben@rentalia.com>
To: pgsql-performance@postgresql.org
Subject: shared_buffer optimization
Date: Tue, 08 Aug 2006 12:40:00 +0200
Message-ID: <44D86A00.90106@rentalia.com> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi, I have a question with shared_buffer.
Ok, I have a server with 4GB of RAM
- -----
# cat /proc/meminfo
MemTotal: 4086484 kB
[...]
- -----
So, if I want to, for example, shared_buffer to take 3 GB of RAM then
shared_buffer would be 393216 (3 * 1024 * 1024 / 8)
Postmaster dont start.
Error: FATAL: shmat(id=360448) failed: Invalid argument
I can set a less value, but not higher than 3 GB.
Am I doing something wrong?
Any idea?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFE2GoAIo1XmbAXRboRAtPgAJ9HN7aL0lyFtyTZnOoIAJXmGNsomgCeI1ex
II1MclZaaIjg/ryH08wCuAY=
=cgwJ
-----END PGP SIGNATURE-----
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-performance@postgresql.org
Cc: ruben@rentalia.com
Subject: Re: shared_buffer optimization
In-Reply-To: <44D86A00.90106@rentalia.com>
* 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