Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using Mac OS X 10.7.4 and have the following in /etc/sysctl.conf

kern.sysv.shmmax: 16777216
kern.sysv.shmmin: 1
kern.sysv.shmmni: 256
kern.sysv.shmseg: 8
kern.sysv.shmall: 65536

However, these values are not applied at startup and I have to run sysctl -w ... manually to change these vars an launch Postgres. Any solution?

share|improve this question

You have colons separating names from values. They should be equals signs. See the documentation for the correct format.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.