- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- nflocks - any issues with raising this value?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 05:22 AM
12-02-2003 05:22 AM
HP-UX 11.0 VPO 6.14 NNM6.2 Oracle 8.1.7.3
MC/SG 11.09 4GB memory
Our current 'nflocks' value is 250. we want to raise it higher (say to 4096) because we had
file lock issues. Will a value of 4096 be ok?
10 points to any good answer.
Thank you
Gino
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 05:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 05:37 AM
12-02-2003 05:37 AM
Re: nflocks - any issues with raising this value?
As most questions can be answered - It depends.
Running Oracle and NNM 250 would be way too low. What's your nfiles parm set to? But keep in mind, 1 file can have several locks and if your Oracle apps use lockf() call, you could need quite a bit.
Keep in mind that file locks use system memory so IF you do set 4096, get an idea of memory usage now, pre-change & compare it to post-change.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 05:54 AM
12-02-2003 05:54 AM
Re: nflocks - any issues with raising this value?
To answer your question, increasing this value to 4096 should not create any issues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 05:55 AM
12-02-2003 05:55 AM
Re: nflocks - any issues with raising this value?
# lsof | awk 'match("NrRwWuUx",substr($0,31,1))'|wc -l
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 06:05 AM
12-02-2003 06:05 AM
Re: nflocks - any issues with raising this value?
I ran the lsof command with the awk options and it returned nothing.
10 points for any good answer.
Thank you
Gino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 06:24 AM
12-02-2003 06:24 AM
Re: nflocks - any issues with raising this value?
My original nfloks was at 57000 but I increased it to 85000 with no problems.
And then last week, I increased it again to 100k...
The only restriction im aware of is memory as with most kernel parms.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 06:56 AM
12-02-2003 06:56 AM
Re: nflocks - any issues with raising this value?
You should have gotten back a number.
I double checked the command and got an error without specifying the full path.
Changed the command to:
# /opt/lsof/bin/lsof | awk 'match("NrRwWuUx",substr($0,31,1))'|wc -l
which did show me valid results.
The wc -l gives a line count.
You could leave that off and use:
# /opt/lsof/bin/lsof | awk 'match("NrRwWuUx",substr($0,31,1))'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 07:29 AM
12-02-2003 07:29 AM
Re: nflocks - any issues with raising this value?
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.69/
Dave