- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Kernel parameter Maxfiles_lim
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
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-10-2007 08:12 PM
12-10-2007 08:12 PM
Kernel parameter Maxfiles_lim
We have a process on one our node that has a large number open files, but there are no warning messages in /var/opt/messages.
I have increased maxfiles_lim size to 1024 .
After increasing the kernel parameter still i m getting the following without having any warnings :
TimeStamp = 2007-12-05:16:27:27 Pid = 2573 Open Files = 4115
TimeStamp = 2007-12-05:16:27:27 3104 2573 FIFO
TimeStamp = 2007-12-05:16:27:27 997 2573 REG
Regards
Mridul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2007 08:37 PM
12-10-2007 08:37 PM
Re: Kernel parameter Maxfiles_lim
1) NFILE --- the system-wide number of open files NOTE: 3 processes having /etc/passwd open count as 1 file for this parameter.
2) maxfiles -- the per-process maximum number of files soft limit. In this case, the same process having /etc/passwd open 3 times counts as 3.
3) maxfiles_lim -- the per-process maxnumber of files hard limit. The files are counted the same as for maxfiles. A process with proper permissions can increase the number of open files from the soft limit upto the hard limit.
I really don't see a question in what you have posted but normally nfile >> maxfiles_lim so 4115 system-wide open files is not unusual at all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2007 08:45 PM
12-10-2007 08:45 PM
Re: Kernel parameter Maxfiles_lim
should i changed all three parameter to get a warning messages when it crossed 1024 limit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2007 08:56 PM
12-10-2007 08:56 PM
Re: Kernel parameter Maxfiles_lim
How a process handles a failed open() is strictly up to the developer. I've seen code that blindly assumes everything works and goes on trying to read and write from/to a bogus file descriptor.
It would really helped if you identified the source of these messages. You should also note that just because there is a message that says "open Files = 4115" that does not necessarily mean that 4115 files are open. That message means precisely what the developer coded and no more and no less. It could mean that you drank 4115 bottles of Coca-cola this year.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2007 08:56 PM
12-10-2007 08:56 PM
Re: Kernel parameter Maxfiles_lim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2007 09:03 PM
12-10-2007 09:03 PM