pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joel Fradkin <jfradkin@wazagua.com>
To: pgsql-admin@postgresql.org
Subject: Setting up data on two drives newb version. left off a little info on memory if you change the shared buffers.
Date: Sat, 12 Feb 2005 11:22:28 -0500
Message-ID: <000001c5111f$0c995180$797ba8c0@jfradkin> (raw)

This was also in the Desknow web page.

changing these parameters will probably cause postgres to not start.
su - postgres
pg_ctl -D /var/lib/pgsql/data start ( I actualy left the path off )
in the message it says you need to increase SHMMAX to a certain number.

To do this you must be root
echo <shared_buffers * 8192> /proc/sys/kernel/shmmax

to make it permanent
edit /etc/sysctl.conf
kernel.shmmax = <shared_buffers * 8192>

example shared_buffers = 20000 it is 167763968 (160mb).



Joel Fradkin
 





view thread (3+ messages)  latest in thread

Message-ID: <000001c5111f$0c995180$797ba8c0@jfradkin>
Permalink:  ../000001c5111f$0c995180$797ba8c0@jfradkin/
Also on:    postgresql.org/message-id/000001c5111f$0c995180$797ba8c0@jfradkin

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jfradkin@wazagua.com
  Subject: Re: Setting up data on two drives newb version. left off a little info on memory if you change the shared buffers.
  In-Reply-To: <000001c5111f$0c995180$797ba8c0@jfradkin>
  References: <000001c5111f$0c995180$797ba8c0@jfradkin>

* 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