1836461 Members
2121 Online
110101 Solutions
New Discussion

Re: setting shmmax

 
SOLVED
Go to solution
Doug_3
Frequent Advisor

setting shmmax

I have a new/used rp7400. It has 6 gig of mem ver 11.11. getconf KERNEL_BITS returns 64.

I tried to set shmmax to 1.6 gig with a value of 0x60000000 and SAM generated an error:
The value specified for tunable parameter "shmmax", "0x60000000", evaluates to "1610612736" which is more than the maximum allowed value of "1073741824".

I have an 11.00 set to 0x6000000 1.6 gig, so what needs to be done to increase the shared mem max value?

Thanks in advance,
Doug
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: setting shmmax

You need to apply patch PHKL_24032.
If it ain't broke, I can fix that.
Steven E. Protter
Exalted Contributor

Re: setting shmmax

Just a note on shmmax

Any setting higher than 25% of total memory will be ignored.

System memory is defined as memory plus swap.

Take a look at this doc:
http://www2.itrc.hp.com/service/cki/search.do?category=c0&docType=Security&docType=Patch&docType=EngineerNotes&docType=BugReports&docType=Hardware&docType=ReferenceMaterials&docType=ThirdParty&searchString=UPERFKBAN00000726&search.y=8&search.x=28&mode=id&admit=-1335382922+1066926347501+28353475&searchCrit=allwords

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bruno Ganino
Honored Contributor

Re: setting shmmax

Doug,
The following parameters control allocation of space for shared memory:
shmem
(Series 700 only). Enable or disable shared memory at system boot time.
shmmax
Maximum allowable shared memory segment size (in bytes).
shmmni
Maximum number of shared memory segments allowed on the system at any given time.
shmseg
Maximum number of shared memory segments that can be attached simultaneously to any given process.

Here documentation
http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparam.SharedMemParmsList.html

HTH
Bruno
Torino (Turin) +2H