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

Commit016f0ee

Browse files
committed
Update BSDI SGML.
1 parenteb90c16 commit016f0ee

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

‎doc/FAQ_BSDI

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Bruce Momjian (pgman@candle.pha.pa.us) 2000-07-7
1111
1) To increase the amount of malloc'ed memory and files opened by
1212
PostgreSQL, add this:
1313

14-
:datasize-cur=600M:\
14+
:datasize-cur=256M:\
1515
:openfiles-cur=256:
1616

1717
to your /etc/login.conf file.

‎doc/src/sgml/runtime.sgml

Lines changed: 7 additions & 8 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.51 2001/02/15 04:28:50 tgl Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.52 2001/02/16 16:10:06 momjian Exp $
33
-->
44

55
<Chapter Id="runtime">
@@ -1536,14 +1536,13 @@ env PGOPTIONS='-c geqo=off' psql
15361536
<para>
15371537
By default, only 4 MB of shared memory is supported. Keep in
15381538
mind that shared memory is not pageable; it is locked in RAM.
1539-
To increase the number of buffers supported by the
1540-
postmaster, increase<varname>SHMMAXPGS</>by1024for every
1541-
additional 4 MB of shared memory:
1539+
To increase the number of buffers supported by the postmaseter, add the
1540+
following to your kernel config file. A<varname>SHMALL</>value of1024
1541+
represents 4MB of shared memory. Increase it accordingly:
15421542
<programlisting>
1543-
/sys/sys/shm.h:69:#define SHMMAXPGS 1024 /* max hardware pages... */
1543+
options "SHMALL=4096"
1544+
options "SHMMAX=\(SHMALL*PAGE_SIZE\)"
15441545
</programlisting>
1545-
The default setting of 1024 provides a maximum of 4 MB of shared
1546-
memory.
15471546
</para>
15481547
</formalpara>
15491548

@@ -1561,7 +1560,7 @@ $ <userinput>bpatch -r sysptsize</>
15611560
the bpatch value, plus add 1 for every additional 4 MB of
15621561
shared memory you desire.
15631562
<programlisting>
1564-
/sys/i386/i386/i386_param.c:28:#defineSYSPTSIZE 0 /* dynamically... */
1563+
options "SYSPTSIZE=13"
15651564
</programlisting>
15661565
<varname>sysptsize</> can not be changed by sysctl on the fly.
15671566
</para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp