Operating System - HP-UX
1828180 Members
2292 Online
109975 Solutions
New Discussion

interdependent kernel parameters won't allow configuring

 
SOLVED
Go to solution
Joe Robinson_2
Super Advisor

interdependent kernel parameters won't allow configuring

I'm trying to bump up my max_thread_proc (HPUX, 11.00) and get the error "max_thread_proc <= nkthread". Problem is, when I attempt to modify nkthread, I get the same error (except vice versa). How do I get around this loop?
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: interdependent kernel parameters won't allow configuring

You can modify both parameters at the same time.

You should be able to do it either with kmtune commands or with sam kernel, configurable parameters.

You may need to override the forumula.

If sam won't let you override try a scripted kmtune change that does them in sequence.

Based on the formula, change nkthread, then max_thread_proc.

Post the error please, it might involve a third kernel parameter.

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
Joe Robinson_2
Super Advisor

Re: interdependent kernel parameters won't allow configuring

I'll post the error in a moment, am rebooting that box as I type. Have tried adjusting both nkthread and max_thread_proc, but they both point at each other and won't allow me to change the value.
Joe Robinson_2
Super Advisor

Re: interdependent kernel parameters won't allow configuring

see attached.
Deoncia Grayson_1
Honored Contributor

Re: interdependent kernel parameters won't allow configuring

You can't manually override these values in sam? Set the max_thread_proc to which ever value you would like? If not then I suggest you use kmtune.
If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon
Sundar_7
Honored Contributor
Solution

Re: interdependent kernel parameters won't allow configuring

Joe,

give it a try from command line

# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# kmtune -s max_thread_proc= -S system
# kmtune -s nkthread= -S system
# mk_kernel -s system
# kmupdate
# mv /stand/system /stand/system.prev
# cp /stand/build/system /stand/
# /usr/sbin/shutdown -r -y 0

- Sundar
Learn What to do ,How to do and more importantly When to do ?
Joe Robinson_2
Super Advisor

Re: interdependent kernel parameters won't allow configuring

Sundar,

Thanks for the syntax; it worked fine...and reminded me that sometimes the GUI way of doing things through SAM isn't the best way...sometimes it's easy to get spoiled and not have to look up syntax by using SAM, but to know what you (we) are doing, it's still important to "look behind the scenes". Thanks again.
Joe Robinson_2
Super Advisor

Re: interdependent kernel parameters won't allow configuring

SAM wouldn't allow me to modify the settings, it was necessary to do it from the command line.