Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 618FCA01094 for ; Wed, 30 Nov 2011 09:56:13 -0400 (AST) Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RVkdt-0000X3-Ex for pgsql-docs@postgresql.org; Wed, 30 Nov 2011 13:56:12 +0000 X-Originating-IP: 217.70.178.131 Received: from mfilter11-d.gandi.net (mfilter11-d.gandi.net [217.70.178.131]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id BBF75A809A; Wed, 30 Nov 2011 14:55:46 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter11-d.gandi.net Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by mfilter11-d.gandi.net (mfilter11-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id oJMAGo8kgicX; Wed, 30 Nov 2011 14:55:45 +0100 (CET) X-Originating-IP: 81.223.107.114 Received: from [10.200.1.218] (inbound.openforce.com [81.223.107.114]) (Authenticated sender: emmanuel@libera.cc) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 51DEBA8081; Wed, 30 Nov 2011 14:55:44 +0100 (CET) Message-ID: <4ED635E0.9000900@libera.cc> Date: Wed, 30 Nov 2011 14:55:44 +0100 From: Emmanuel Kasper User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110921 Thunderbird/3.1.15 MIME-Version: 1.0 To: pgsql-docs@postgresql.org, mbalmer@NetBSD.org Subject: docs/9.1/static/kernel-resources.html needs updating for NetBSD X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201111/29 X-Sequence-Number: 7104 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