1835444 Members
2426 Online
110078 Solutions
New Discussion

how to tune vx_maxlink

 
Noel Daniel
Advisor

how to tune vx_maxlink

I experienced the following problem.
# mkdir: cannot create . Too many links.

As a recommended solution the kernel patch PHKL_28185 was applied & a new kernel put in place. However the parameter in question doesn't appear in either /stand/system nor, in the tunable parameters displayeed inside SAM.

A Solution to rectify this is much appreciated.
7 REPLIES 7
Peter Godron
Honored Contributor

Re: how to tune vx_maxlink

Noel,
have you compared your files against the patch installation doc:
http://www4.itrc.hp.com/service/patch/patchDetail.do?patchid=PHKL_28185&sel={hpux:11.11,}&BC=main|pdb|search|#what(1)%20Output:

use the what command

What does grep -i links /usr/include/limits.h report ?

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.

So far you have never awarded points !

Please see your earlier threads (NOV 2006):
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1076170
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1076131


Peter Godron
Honored Contributor

Re: how to tune vx_maxlink

Noel,
as a second option, you can use kmtune or kctune to amend the value.

On my 11.11 machine:
# kmtune | grep vx_max
vx_maxlink 32767 - 32767

To modify see "man kmtune"
Noel Daniel
Advisor

Re: how to tune vx_maxlink

Dear Peter,

First & foremost pls. pardon me for not awarding points. I will reward ASAP.

I used the kmtune command & set the parameter value. Now I have two more questions.
1- Since vx_maxlink is catergorized as static, "kmlink -u" may not work. In such an instant will processing of a new kernel through SAM, & rebooting do the needful ?
2- Is 65534 the upper limit, the upper ceiling ? Does this imply that it is a system constrain on this limit ?

thanks,
noel
Noel Daniel
Advisor

Re: how to tune vx_maxlink

Oops... sorry, I meant "kmtune -u" won't work...
perumal_2
Frequent Advisor

Re: how to tune vx_maxlink

Hi Noel

Pls refer the url http://docs.hp.com/en/B2355-60103/vx_maxlink.5.html
It gives the details about the vx_maxlink paraeter. It is static and you need to do a reboot to take the new value to be effective. And th emax value 65534 is a limitation, generally it wont be more than 65534 links.

TQ
Perumal
Noel Daniel
Advisor

Re: how to tune vx_maxlink

Thanks Perumal for your assistance.

However do you infer that the change done to the /stand/system through kmtune is adequate & it recreates a kernel automatically on reboot, or do I have to explicitly recreate the kernel ?



Noel Daniel
Advisor

Re: how to tune vx_maxlink

Thanks Peter. Thanks Perumal.

One hint though.

While kmtune can be used to tune the static parameter, I couldn't compile it to a new kernel. Admittedly I didn't try the "kmtune -u" since it is static parameter.

However editing the system file, while compliling a new kernel using system_prep/mk_kernel did the trick.

Thank you very much, again.