Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
bc9306f4
Commit
bc9306f4
authored
Nov 30, 2011
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update information about configuring SysV IPC parameters on NetBSD.
Per Emmanuel Kasper, sysctl works fine as of NetBSD 5.0.
parent
56d609c3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
18 deletions
+44
-18
doc/src/sgml/runtime.sgml
doc/src/sgml/runtime.sgml
+44
-18
No files found.
doc/src/sgml/runtime.sgml
View file @
bc9306f4
...
@@ -338,10 +338,11 @@ fi
...
@@ -338,10 +338,11 @@ fi
<listitem>
<listitem>
<para>
<para>
On <productname>NetBSD</productname>,
either use
the
On <productname>NetBSD</productname>,
use either
the
<productname>FreeBSD</productname> or
<productname>FreeBSD</productname> or
<productname>Linux</productname> start scripts, depending on
<productname>Linux</productname> start scripts, depending on
preference. <indexterm><primary>NetBSD</><secondary>start script</secondary></>
preference.
<indexterm><primary>NetBSD</><secondary>start script</secondary></>
</para>
</para>
</listitem>
</listitem>
...
@@ -835,16 +836,44 @@ options "SEMMNS=240"
...
@@ -835,16 +836,44 @@ options "SEMMNS=240"
<para>
<para>
<systemitem class="osname">FreeBSD</> versions before 4.0 work like
<systemitem class="osname">FreeBSD</> versions before 4.0 work like
<systemitem class="osname">NetBSD</> and <systemitem class="osname">
<systemitem class="osname">OpenBSD</> (see below).
OpenBSD</> (see below).
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
<varlistentry>
<varlistentry>
<term><systemitem class="osname">NetBSD</></term>
<term><systemitem class="osname">NetBSD</></term>
<term><systemitem class="osname">OpenBSD</></term>
<indexterm><primary>NetBSD</><secondary>IPC configuration</></>
<indexterm><primary>NetBSD</><secondary>IPC configuration</></>
<listitem>
<para>
In <systemitem class="osname">NetBSD</> 5.0 and later,
IPC parameters can be adjusted using <command>sysctl</command>,
for example:
<screen>
<prompt>$</prompt> <userinput>sysctl -w kern.ipc.shmmax=16777216</userinput>
</screen>
To have these settings persist over reboots, modify
<filename>/etc/sysctl.conf</filename>.
</para>
<para>
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 <command>sysctl</command>
setting <literal>kern.ipc.shm_use_phys</literal>.
</para>
<para>
<systemitem class="osname">NetBSD</> versions before 5.0 work like
<systemitem class="osname">OpenBSD</> (see below), except that
parameters should be set with the keyword <literal>options</> not
<literal>option</>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><systemitem class="osname">OpenBSD</></term>
<indexterm><primary>OpenBSD</><secondary>IPC configuration</></>
<indexterm><primary>OpenBSD</><secondary>IPC configuration</></>
<listitem>
<listitem>
<para>
<para>
...
@@ -852,19 +881,17 @@ options "SEMMNS=240"
...
@@ -852,19 +881,17 @@ options "SEMMNS=240"
to be enabled when the kernel is compiled. (They are by
to be enabled when the kernel is compiled. (They are by
default.) The maximum size of shared memory is determined by
default.) The maximum size of shared memory is determined by
the option <varname>SHMMAXPGS</> (in pages). The following
the option <varname>SHMMAXPGS</> (in pages). The following
shows an example of how to set the various parameters on
shows an example of how to set the various parameters:
<systemitem class="osname">NetBSD</>
(<systemitem class="osname">OpenBSD</> uses <literal>option</> instead):
<programlisting>
<programlisting>
option
s
SYSVSHM
option SYSVSHM
option
s
SHMMAXPGS=4096
option SHMMAXPGS=4096
option
s
SHMSEG=256
option SHMSEG=256
option
s
SYSVSEM
option SYSVSEM
option
s
SEMMNI=256
option SEMMNI=256
option
s
SEMMNS=512
option SEMMNS=512
option
s
SEMMNU=256
option SEMMNU=256
option
s
SEMMAP=256
option SEMMAP=256
</programlisting>
</programlisting>
</para>
</para>
...
@@ -877,7 +904,6 @@ options SEMMAP=256
...
@@ -877,7 +904,6 @@ options SEMMAP=256
</listitem>
</listitem>
</varlistentry>
</varlistentry>
<varlistentry>
<varlistentry>
<term><systemitem class="osname">HP-UX</></term>
<term><systemitem class="osname">HP-UX</></term>
<indexterm><primary>HP-UX</><secondary>IPC configuration</></>
<indexterm><primary>HP-UX</><secondary>IPC configuration</></>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment