- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: maxfiles_lim, open files not appearing to clos...
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
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
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
тАО11-10-2003 02:14 AM
тАО11-10-2003 02:14 AM
I have a strange problem, My maxfiles_lim is set at 1024. My DBAs are suddenly having a problem with this file limit. I increased it to 4096 with no problems, but they had me reduce it back to 1024 so they could trouble shoot their application.
Im not really sure how to describe this problem. I think the best way is to quote my DBA and hopefully you can help. Basically we are hitting the maxfiles_lim ceiling and they are curious why files that show closed are still being counted against the parm.
quote:
I am trying to understand the coorelation between the glance and truss on the topic of "open" files. Glance showed an ever-increasing list of open file descriptors, maxing out at 523 open file descriptors for PID 12857. I am most interested in the file named /usr/.../8.1.7.4.64/rdbms/mesg/oraus.msb which is listed 496 times. Truss showed this file being opened 496 times but it also showed it being closed 496 times. If the FDs are being closed, then why does HP-UX / Glance count that against the process and against the maxfiles_lim ? Is maxfiles_lim supposed to apply to any file that has been opened by the process or just "open" files? Is glance (F) supposed to display any file that has been opened by the process or just "open" files?
unquote...
Any help you can provide me would be excellent as I have no expertise in this area.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2003 02:28 AM
тАО11-10-2003 02:28 AM
Solutionhttp://hpux.cict.fr/hppd/hpux/Sysadmin/lsof-4.64/
Have your DBA's try:
# lsof -p pid
...to observe what's not being cleaned up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2003 02:31 AM
тАО11-10-2003 02:31 AM
Re: maxfiles_lim, open files not appearing to close
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2003 03:28 AM
тАО11-10-2003 03:28 AM
Re: maxfiles_lim, open files not appearing to close
In the "Good Old Days" of UNIX, 20 was the hard-coded limit and could not be exceeded. When it was changed to 64, we thought we were in hog-heaven. For a long time after the increase to the terrific limit of 64, you still could only use 20 *FILES (those using fopen(), fwrite(), gets(), fclose()) because the libC routines still were coded around the limit of 20. For anything above 20 your only option were the lower-level file desctriptor system calls ( open(), read(), write(), close() ).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2003 04:58 AM
тАО11-10-2003 04:58 AM
Re: maxfiles_lim, open files not appearing to close
I REALLY need to read and memm the descriptions of each kernel parm and learn what they influence, well at least the top 20 anyway.