Modifying kernel shared memory settings on a lion install

mac-osxosx-lionsysctl

What's the location of the sysctl.conf file on lion? In Snow Leopard it was in /etc/sysctl.conf but now that folder doesn't contain it anymore. Searching for the file in spotlight yields no results.

Have the shared memory settings been moved to a different conf file? What is it's name?

EDIT

I am trying to modify the kernel shared memory settings of the machine. When I didn't find the sysctl.conf file in the right place, I created my own with the recommended settings and put into /etc directory. However running sysctl -a still shows me that the old memory settings are in place.

How do I go about modifying these settings on a lion install?

Best Answer

I believe /etc/sysctl.conf is still the right place (and man sysctl.conf agrees).

Did you reboot? changes to /etc/sysctl.conf are not a real-time thing: They are only read/applied when the system enters multi-user mode during startup.