Operating System - HP-UX
1855259 Members
5680 Online
104109 Solutions
New Discussion

Re: what may be the problem if nflocks is na

 
SOLVED
Go to solution
bhavin asokan
Honored Contributor

what may be the problem if nflocks is na

hi,

my system
K-580 240MHz 1.5GB hpux11.0

in glance screen it is showing nflocks available as 200 and used as na .what may be the problem.can i find the used nflocks in any other way.

will it cause any defects like high usage of memory or io.

regds,


4 REPLIES 4
Peter Godron
Honored Contributor

Re: what may be the problem if nflocks is na

Hi,
the recommended way to find the processes using nflocks is lsof.
Regards
Chris Wilshaw
Honored Contributor

Re: what may be the problem if nflocks is na

There may be no problem. If may simply be that no file locks are in use.

Are you seeing any errors on the system that have caused you to belive that there is a problem present?
Sanjay_6
Honored Contributor
Solution

Re: what may be the problem if nflocks is na

Hi Bhavin,

lsof will help you find the usage of nflocks.

If you do not have lsof, download it from this link,

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.73/

Here is a link on how to use lsof to find the usage of nflocks.

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000073346936

The itrc doc id is KBRC00005697.

If you are running out on nflocks, you could see problem with any number of applications like lp, sendmail, oracle etc..

Hope this helps.

Regds
Bill Hassell
Honored Contributor

Re: what may be the problem if nflocks is na

nflocks is a requirement for certain programs to keep other programs from corrupting data. The value does not use memory or I/O...it is just a set of flags. It must be larger than the maximum number that you will ever need. Just make sure that your version of Glance is up to date. When you patch the kernel, quite often, you need to patch Glance too or the numbers may not be accurate.


Bill Hassell, sysadmin