01-16-2006
53,
0
Join Date: Nov 2003
Last Activity: 29 September 2008, 2:15 PM EDT
Posts: 53
Thanks Given: 0
Thanked 0 Times in 0 Posts
Solaris 10 Resource Controls
I've always been accustomed to setting certain kernel parameters in the /etc/system file. However, with Solaris 10, they have created the resource control utility to set these values.
I've set the value for project.max-shm-memory to 4gb with the following command:
prctl -n project.max-shm-memory -v 4gb -r -i project user.root
Issuing "prctl -n project.max-shm-memory -i project user.root" verifies that it gets set successfully. However, this value gets reset to it's default value, which is 1/4 RAM, upon reboot.
Should this value remain set at 4gb upon reboot? If so, how do I configure it to stay at 4gb?
Thanks.