Package: postgresql-common
Version: 113
Severity: wishlist

Having to edit kernel.shmmax and kernel.shmall with sysctl is very common with 
PostgreSQL.  Now that sysctl supports a configuration directory at 
/etc/sysctl.d/ it would be neat to add a template file there for easier 
editing and tracking.

Specifically, I suggest you add a file /etc/sysctl.d/postgresql.conf with 
content like this:

"""
# Shared memory settings for PostgreSQL

# Note that if another program uses shared memory as well, you will have to
# coordinate the size settings between the two.

# Maximum size of shared memory segment in bytes
#kernel.shmmax = 33554432

# Maximum total size of shared memory in pages (normally 4096 bytes)
#kernel.shmall = 2097152
"""



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to