PRDEEP KUMAR wrote:
> Hi All,
> 
>  I am trying to allocate the bigger chunk of shared memory than the default
> so I wants to change the shmmax value ,please let me know how can I do
> that?

Use the project controls -- either prctl or projadd.

In older versions of Solaris (prior to Solaris 10), you used to have to
change variables in /etc/system and then reboot to do this.  That's no
longer true.  In fact, any such variable put there now is just ignored.

If you do a google search on "shmmax solaris," you'll turn up a lot of
references to this.  A really handy reference is the tunable parameters
reference manual:

http://download.oracle.com/docs/cd/E19253-01/817-0404/

http://download.oracle.com/docs/cd/E19253-01/817-0404/chapter1-33/index.html

> I tried setting from cli using set command it dint change in /etc/system
> file
> please help how to do it

There is no special command that changes /etc/system.  If you need to
change that file, use any text editor (such as vi or emacs).  You will
need to have sufficient privileges to modify the file.  (That is, you'll
need to be root.)

Note also that /etc/system is read only once at system boot time, so
modifying it does nothing to a running system.  See the system(4) man
page for more information.  ("man -s 4 system")

And note that /etc/system has nothing to do with shared memory limits.  ;-}

-- 
James Carlson         42.703N 71.076W         <carls...@workingcode.com>
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to