Skip to content

Commit 2783bd5

Browse files
committed
Add mention of sysctl(8) for IPC tuning on Linux.
1 parent 874b4fd commit 2783bd5

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

doc/src/sgml/runtime.sgml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.44 2000/12/22 18:06:46 tgl Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.45 2000/12/30 15:03:09 petere Exp $
33
-->
44

55
<Chapter Id="runtime">
@@ -1305,7 +1305,7 @@ env PGOPTIONS='-c geqo=off' psql
13051305
consistently across different systems; <xref
13061306
linkend="sysvipc-parameters"> gives an overview. The methods to
13071307
set them, however, vary; suggestions for some platforms are given
1308-
below. Be aware that you will probably have to reboot your
1308+
below. Be warned that it is often necessary to reboot your
13091309
machine at least, possibly even recompile the kernel, to change these
13101310
settings.
13111311
</para>
@@ -1596,6 +1596,22 @@ options SEMMAP=256
15961596
You could put these commands into a script run at boot-time.
15971597
</para>
15981598

1599+
<para>
1600+
Alternatively, you can use
1601+
<citerefentry><refentrytitle>sysctl</refentrytitle>
1602+
<manvolnum>8</manvolnum></citerefentry>, if available, to
1603+
control these parameters. Look for a file called
1604+
<filename>/etc/sysctl.conf</filename> and add lines like the
1605+
following to it:
1606+
<programlisting>
1607+
kernel.shmall = 134217728
1608+
kernel.shmmax = 134217728
1609+
</programlisting>
1610+
This file is usually processed at boot time, but
1611+
<application>sysctl</application> can also be called
1612+
explicitly later.
1613+
</para>
1614+
15991615
<para>
16001616
Other parameters are sufficiently sized for any application.
16011617
If you want to see for yourself look into

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy