Solaris 10 Max Shared Memory

2007-12-25 6:10:00

I got much of this working OK, but am struggling with permanance. I have
been throught a number of google searchsna dnsun docs. I am unable to make
my shared memory setting for Slaris 10 survive a reboot.

The two procedures I use to set the max shared memory segment are:
projmod -s -K 'project.max-shm-memory=(privileged,4294967295,deny)' system

and makde sure this line is in /etc/project
system:0::::project.max-shm-memory=(privileged,4294967295,deny)

To change the runtime settings, I use this:
prctl -n project.max-shm-memory -r -v 4gb -i project user.root

This works for runtime settings as I can see the new value using prctl $$
project.max-shm-memory
privileged 4.00GB - deny
-
system 16.0EB max deny

Please note: Solaris 10 does not apply /etc/system settings for shared
memory.

I would appreciate some advice on what to do next to ensure these settings
survive a reboot.

- Joe
--
"Despite the high cost of living, it still remains popular!"

Comments

Got something to say?

You must be logged in to post a comment.