docs/9.1/static/kernel-resources.html needs updating for NetBSD - Mailing list pgsql-docs

From Emmanuel Kasper
Subject docs/9.1/static/kernel-resources.html needs updating for NetBSD
Date
Msg-id 4ED635E0.9000900@libera.cc
Whole thread Raw
Responses Re: docs/9.1/static/kernel-resources.html needs updating for NetBSD  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-docs
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


pgsql-docs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: File_FDW with example
Next
From: Tom Lane
Date:
Subject: Re: docs/9.1/static/kernel-resources.html needs updating for NetBSD