Operating System - HP-UX
1847487 Members
3351 Online
110265 Solutions
New Discussion

"no locks available" issue with HP 11.0

 
SOLVED
Go to solution
Dave_375
Occasional Contributor

"no locks available" issue with HP 11.0

I have a server which is expoeriencing frequent situations where jobs/commands fail with error messages relating to file locks. Some examples are:
when running bdf I get "bdf: Cannot open /etc/mnttab: No locks available" and when running kmtune "kmtune: Cannot establish mutual exclusive lock". This si a system-wide problem that occurs for all users. Has anyone experienced this?

Dave Knoch
Borders Group Inc
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor

Re: "no locks available" issue with HP 11.0

If sounds as though nflocks is too small. You will need to increase it and gen a new kernel.
If it ain't broke, I can fix that.
Jeff Schussele
Honored Contributor

Re: "no locks available" issue with HP 11.0

I too believe you nflocks kernel parm is the culprit here.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Helen French
Honored Contributor
Solution

Re: "no locks available" issue with HP 11.0

This will be a Kernel parameter issue as pointed out. Check tunable parameters values and increase it to a desired limit and regenerate a new kernel (from SAM). Check these parameters:

nflocks
nproc
nfile
ninode
Life is a promise, fulfill it!