Comment 22 for bug 264336

Revision history for this message
Morten Minke (morten-amagi) wrote :

I have added a file:

/etc/sysctl.d/90-postgres.conf

in which I have changed the kernel settings for shmmax to make postgres run correctly.

Isn't this why this folder was created, to make individual packages change the configurations according to their needs?

I do not get exactly why this would not affect all postgres users? Is the configuration of postgres dynamically created during install, based on the available memory in the system?
Because if I understand correctly it is a combination of parameters in the postgres config file which sum up to a required shared memory usage.

Anyway, I solved it by manually creating the above mentioned file.