Operating System - HP-UX
1847580 Members
3522 Online
110265 Solutions
New Discussion

raising the value of nflocks

 
SOLVED
Go to solution
Houston Kemper
Occasional Advisor

raising the value of nflocks

Hello all,

I have a V2600 that is pushing the maximum number of locked files (currently set to 800). I'm not real familiar with this kernel value. Can someone enlighten me about the possible issues - if at all - about raising this value?

Thanks
Houston
3 REPLIES 3
Sanjay_6
Honored Contributor
Solution

Re: raising the value of nflocks

Hi houston,

Try this link,

http://docs.hp.com//hpux/onlinedocs/os/KCparam.Nflocks.html

Hope this helps.

Regds
Stefan Farrelly
Honored Contributor

Re: raising the value of nflocks


We regularly run our servers well over 800 nflocks - 3000+. All it does is consume a tiny bit more memory for the kernel table. No other implications.
Im from Palmerston North, New Zealand, but somehow ended up in London...
MANOJ SRIVASTAVA
Honored Contributor

Re: raising the value of nflocks

Hi Houston,

If you do a glance--->F5(next Keys)---->F4(sys tabls) would give you the dyanamic value of nflocks at any point . You can also go throught the following document :

http://docs.hp.com/hpux/onlinedocs/os/KCparams.OverviewAll.html.

nflocks gives the maximum number of file/record locks that are available system-wide. When choosing this number, note that one file may have several locks and databases that use lockf() may need an exceptionally large number of locks.

Open and locked files consume memory and other system resources. These resources must be balanced against other system needs to maintain optimum overall system performance. Achieving an optimum balance can be quite complex, especially on large systems, because of wide variation in the kinds of applications being used on each system and the number and types of applications that might be running simultaneously, the number of local and/or remote users on the system, and many other factors.



Manoj Srivastava