1837523 Members
3706 Online
110117 Solutions
New Discussion

shmmax over 1G

 
SOLVED
Go to solution
Larry O'Reilly
Advisor

shmmax over 1G

We have a new L2000 with 6G of RAM and 6G of swap running 11i - 64bit. Using SAM, I can not increase shmmax above 0x40000000 or 1G. I'd like to set it to at least 3G. When I try to increase it over 1G, SAM says that 1G is the max. I thought the limit was 4T or the amount of swap.
3 REPLIES 3
Craig Rants
Honored Contributor

Re: shmmax over 1G

Larry,
SAM is limited in what it can do, command line is always more robust. If you have support on your box, I would call HP support and talk to an engineer specially trained in kernel modifications. One of the guys I work with spent about on hour on the phone with a problem like this very recently and he explained how SAM uses sysdef, but kmtune is much more accurate, stuff like that.

Just my thoughts.
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
S.K. Chan
Honored Contributor
Solution

Re: shmmax over 1G

You need patch PHKL_24032 s700_800 11.11 setting proper maximum for 64-bit SHMMAX.
This will fix SAM problem.
Alan Riggs
Honored Contributor

Re: shmmax over 1G

1T is the maximum size for shmmax on a 64-bit OS. 1GB is the maximum size on a 32-bit OS. Shmmax is also restricted to no greater than the size of your swap space.

Your L2000 should be (I think *must* be) a 64-bit OS. If sam is complaining try setting the value manually by editing /stand/system and then compiling with mk_kernel -s /stand/system