- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: maxfiles_lim reached, which files keeps applic...
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
тАО07-01-2009 04:18 AM
тАО07-01-2009 04:18 AM
maxfiles_lim reached, which files keeps application open ?
Workaround is application stop and start, but that has great impact on production.
So, I want to find out what is kept open.
I have installed and used lsof, but output is telling me little.
regards,
Paul Ettema.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 04:25 AM
тАО07-01-2009 04:25 AM
Re: maxfiles_lim reached, which files keeps application open ?
You have already found the problem.
maxfils_lim, nfiles, maxuprc need to be increased on your system.
Use the SMH interface, increase them to perhaps double their current limits and see how long your system rusn before hitting the wall.
The java application may need vendor support to close files when they don't need to be open. This could also be a function of java patches which can be found at http://www.hp.com/go/java A java update might help as well.
With regards to lsof, which is the best tool, some things to try:
http://sial.org/howto/debug/unix/lsof/
http://www.ibm.com/developerworks/aix/library/au-lsof.html
Lots of good examples in there.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 04:27 AM
тАО07-01-2009 04:27 AM
Re: maxfiles_lim reached, which files keeps application open ?
What are you going to do when you find out which files are being kept open ? If the third party application is keeping them open, you can not go willy-nilly and kill the processes which keep them open. Otherwise you are jeopardizing the application health.
What are you trying to accomplish here ? If you know that your third party java application is not doing a good job of housekeeping, you should contact the vendor and have them clean up their code.
Otherwise, you might consider increasing the maxfiles and maxfiles_lim kernel parameters to a higher value but this requirement needs to be assessed with caution as too high of a number here can adversely impact your overall system performance.
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 04:32 AM
тАО07-01-2009 04:32 AM
Re: maxfiles_lim reached, which files keeps application open ?
I agree with Mel. The _requirements_ of the application may mandate a larger 'maxfiles_lim'. I would consult the application vendor for _their_ recommended kernel settings.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 04:37 AM
тАО07-01-2009 04:37 AM
Re: maxfiles_lim reached, which files keeps application open ?
You may want to use tusc to trace opens/closes but they will tell you the same thing, 3000+ files open.
But perhaps armed with the list of open files the vendor can tell you if this is normal or a bug.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 04:52 AM
тАО07-01-2009 04:52 AM
Re: maxfiles_lim reached, which files keeps application open ?
Some more info here:
the java appl. don't close open files when it do not used these. So in a while after 20 days maxfiles_lim of 4096 is reached. so incresing won't help.
What I (and maker off appl) want to know, what is going wrong, what is left open.
So that the maker can solf the bug.
The problem is in the application not the value of maxfile_lim.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 04:59 AM
тАО07-01-2009 04:59 AM
Re: maxfiles_lim reached, which files keeps application open ?
Where can I find "tusc" I want to try.
Not the ammount is now important, but what.
Paul Ettema.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 04:59 AM
тАО07-01-2009 04:59 AM
Re: maxfiles_lim reached, which files keeps application open ?
(You're scaring me. ;-)
The application maker should know how his application works. There aren't that many files to keep track of. Perhaps a tusc trace may give you ideas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 05:02 AM
тАО07-01-2009 05:02 AM
Re: maxfiles_lim reached, which files keeps application open ?
> Where can I find "tusc" I want to try.
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.10/
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 05:05 AM
тАО07-01-2009 05:05 AM
Re: maxfiles_lim reached, which files keeps application open ?
Found it also 1 minute ago.
Thanks.
Paul.