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.

-- 
pgsql fails to start due to shared buffer setting greater than kernel allows
https://bugs.launchpad.net/bugs/264336
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to