|
1 | 1 | <!--
|
2 |
| -$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.53 2001/02/16 19:27:19 momjian Exp $ |
| 2 | +$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.54 2001/02/16 19:43:52 momjian Exp $ |
3 | 3 | -->
|
4 | 4 |
|
5 | 5 | <Chapter Id="runtime">
|
@@ -1536,6 +1536,15 @@ env PGOPTIONS='-c geqo=off' psql
|
1536 | 1536 | <para>
|
1537 | 1537 | By default, only 4 MB of shared memory is supported. Keep in
|
1538 | 1538 | mind that shared memory is not pageable; it is locked in RAM.
|
| 1539 | + The shared memory parameters are: |
| 1540 | +<programlisting> |
| 1541 | +#define SHMMAX/* max shared memory segment size (bytes) */ |
| 1542 | +#define SHMMIN/* min shared memory segment size (bytes) */ |
| 1543 | +#define SHMMNI/* max number of shared memory identifiers */ |
| 1544 | +#define SHMSEG/* max shared memory segments per process */ |
| 1545 | +#define SHMALL/* max amount of shared memory (pages) */ |
| 1546 | +</programlisting> |
| 1547 | + |
1539 | 1548 | To increase the number of buffers supported by the postmaseter, add the
|
1540 | 1549 | following to your kernel config file. A <varname>SHMALL</> value of 1024
|
1541 | 1550 | represents 4MB of shared memory. Increase it accordingly:
|
|