the disk cache (that is, the portion of the kernel's disk
cache that will be used for
Postgres data files). This is
- measured in disk pages, which are normally 8kB apiece.
+ measured in disk pages, which are normally 8 kB apiece.
|
SHMMAX>>
Maximum size of shared memory segment (bytes)>
- 250 kB + 8.2kB * shared_buffers> + 14.2kB * max_connections> or infinity
+ 250kB + 8.2kB * shared_buffers> + 14.2kB * max_connections> or infinity
|
(You can therefore, as a temporary solution, lower these settings
to get rid of the failures.) As a rough approximation you can
estimate the required segment size as the number of buffers times
- the block size (8192 kB by default) plus ample overhead (at least
+ the block size (8 kB by default) plus ample overhead (at least
half a megabyte). Any error message you might get will contain the
size of the failed allocation request.