Operating System - HP-UX
1846645 Members
2339 Online
110256 Solutions
New Discussion

Re: vx_maxlink kernel param?

 
SOLVED
Go to solution
Michael Bouwma_2
Occasional Contributor

vx_maxlink kernel param?

What is this and what should this be possibly be set at?
Road Rage makes me soo MAD!
4 REPLIES 4
Helen French
Honored Contributor
Solution

Re: vx_maxlink kernel param?

vx_maxlink: It's a JFS tunable parameter which is the number of subdirectories created with in a directory. The default value is 32767.
Life is a promise, fulfill it!
Denver Osborn
Honored Contributor

Re: vx_maxlink kernel param?

and don't set it higher than 65535. Also see the patch text from patch PHKL_21210 for details on vx_maxlink.

-denver
Patrick Wallek
Honored Contributor

Re: vx_maxlink kernel param?

From the PHKL_28117 information:

The maximum reference count of a directory is limited to LINK_MAX, currently defined as 32767. Hence it is not possible to create more than 32767 subdirectories.

Resolution:
A new tunable vx_maxlink has been added which will allow to increase the maximum number of subdirectories of a directory from 32767 to 65534. When the tunable is set to a value greater than 65534, the operating system will reset it to 65534. Note that some older applications which are using the st_nlink field of the stat structure as type "short" instead of "unsigned short" may see negative values on the link count of directories when tuning vx_maxlink above 32767.
Michael Bouwma_2
Occasional Contributor

Re: vx_maxlink kernel param?

Thank you to all for the fast response
Road Rage makes me soo MAD!