Solaris 10 Max Shared Memory

From: Webpro (aielloster@gmail.com)
Date: Wed Jun 07 2006 - 14:07:40 EDT


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!"
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:40:03 EDT