pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Emmanuel Kasper <emmanuel@libera.cc>
To: pgsql-docs@postgresql.org
To: mbalmer@NetBSD.org
Subject: docs/9.1/static/kernel-resources.html needs updating for NetBSD
Date: Wed, 30 Nov 2011 14:55:44 +0100
Message-ID: <4ED635E0.9000900@libera.cc> (raw)

Hello

The NetBSD paragraph about setting the amount of shared memory for
NetBSD in
http://www.postgresql.org/docs/9.1/static/kernel-resources.html is outdated.

Since NetBSD 5.0 the shared memory size settings can be changed via the
sysctl interface. For example, to allow 16 MB:
# sysctl -w kern.ipc.shmmax=16777216
In addition these settings can be preserved between reboots in the file
/etc/sysctl.conf.


This part is still valid
"
You might also want to configure your kernel to lock shared memory into
RAM and prevent it from being paged out to swap. This can be
accomplished using the sysctl setting kern.ipc.shm_use_phys.
"

Manu




view thread (6+ messages)  latest in thread

Message-ID: <4ED635E0.9000900@libera.cc>
Permalink:  ../4ED635E0.9000900@libera.cc/
Also on:    postgresql.org/message-id/4ED635E0.9000900@libera.cc

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: emmanuel@libera.cc, mbalmer@NetBSD.org
  Subject: Re: docs/9.1/static/kernel-resources.html needs updating for NetBSD
  In-Reply-To: <4ED635E0.9000900@libera.cc>

* 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