Operating System - HP-UX
1833838 Members
2307 Online
110063 Solutions
New Discussion

Cannot change hardware resource limit maxssiz on HPUX11.11

 
Christina Wang
Occasional Contributor

Cannot change hardware resource limit maxssiz on HPUX11.11

Hi,

I'm trying to use kmtune to increase the hardware resource limit maxssiz and maxssiz_64bit. "kmtune" doesn't return any error messages. But after the machine is rebooted, the values for these two parameters are still the same as before. What did I miss? Any suggestions are appreciated!

Here are the steps I followed:

1)
# kmtune -q maxssiz_64bit -q maxssiz
Parameter Current Dyn Planned Module Version
===============================================================================
maxssiz_64bit 0x800000 - 0x00800000
maxssiz 0x800000 - 0x00800000

2)
# kmtune -s maxssiz_64bit=0x1000000 -s maxssiz=0x1000000

3)
reboot

4)
# kmtune -q maxssiz_64bit -q maxssiz
Parameter Current Dyn Planned Module Version
===============================================================================
maxssiz_64bit 0x800000 - 0x1000000
maxssiz 0x800000 - 0x1000000


Christina
3 REPLIES 3
Don Morris_1
Honored Contributor

Re: Cannot change hardware resource limit maxssiz on HPUX11.11

maxssiz is a static tunable on 11.11, so you have to rebuild the kernel for the changes to take effect. SAM should do this for you, or you can use config(1M) or mk_kernel and then use kmupdate [if needed, but recommended since you should build to a temporary file] to move the resulting kernel into place.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1046403
has a good sequence, I believe [look at the next to last entry].
mavrick
Regular Advisor

Re: Cannot change hardware resource limit maxssiz on HPUX11.11

Hi,
The commands will change the values of
kernel paraemters.

kmtune -s maxssiz_64bit=0x1000000
kmtune -s maxssiz=0x1000000
Next reboot the values will change.

Otherwise try from SAM this will give more
user friendly way to rebuild the kernel.
Christina Wang
Occasional Contributor

Re: Cannot change hardware resource limit maxssiz on HPUX11.11

Hi,

Thank you for your replies. I followed the instructions in that link and it works for me now.

Christina