Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2783bd5

Browse files
committed
Add mention of sysctl(8) for IPC tuning on Linux.
1 parent874b4fd commit2783bd5

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. Beaware thatyou will probably have to reboot your
1308+
below. Bewarned thatit 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)

[8]ページ先頭

©2009-2025 Movatter.jp