- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Too many open files
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
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
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
03-18-2005 06:21 AM
03-18-2005 06:21 AM
We have a situation where the oracle alert log said "HP-UX: 24: Too many open files".
But nfile is only 15% utilized and maxfiles is set to 2048.
Do you know of any reason this may happen?
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2005 06:33 AM
03-18-2005 06:33 AM
Re: Too many open files
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2005 06:45 AM
03-19-2005 06:45 AM
Re: Too many open files
if you want to see how many files a given process has open there are a number of ways:
1) install and run glance from software.hp.com - it has a show process open files screen
2) install and run lsof pinting it at the process
3) use tusc to trace system calls and look at those taking/giving file descriptors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2005 06:52 AM
03-19-2005 06:52 AM
Re: Too many open files
A side issue, but with Oracle it's often worth increasing the number of file locks, nflocks, as well.
As noted above, this is likely to be the number of open files for the oracle user itself.
T
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2005 12:05 PM
03-20-2005 12:05 PM
SolutionThe error that your are experiencing â HP-UX: 24: Too many open files".
On HP-UX, increase the Unix kernel parameter maxfiles, then regenerate the Unix kernel. This parameter should be set to approximately 60 per instance. It may be set to the default 64. Increasing this parameter allows your shell to open the number of files it needs in order to complete the operation. 64 is not a large enough number to accomplish some tasks with Oracle, and increasing it will not pose an undue burden on the system.
And also increase the UNIX kernel parameters nfile, maxfiles, and nofiles (number of open files) by 50 or 100, then regenerate the UNIX kernel and reboot the machine using the new kernel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2005 02:04 PM
03-20-2005 02:04 PM
Re: Too many open files
You should be looking at maxfiles and maxfiles_lim. Since the alert log was triggered by Oracle, you may want to ask Oracle for their list of recommended kernel parameter values specially for maxfiles and maxfiles_lim.
Good luck!
Regards,
Isralyn