- 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
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
11-13-2003 02:23 AM
11-13-2003 02:23 AM
Too many open files
We are running a java application which after running for few hours start generating 'Too Many open files exceptions'.. We ran lsof when this problem occurs and found a huge number of STSO files with the name /dev/tcp->tcpm->ip. The count of these files is increasing all the time and they never seem to get closed. Slowly reaching the maxfiles_lim limit when it starts to give these exceptions. I looked for some information for these files but could only find that it's a stream between the tcp and ip layer.
Can you guys provide some info on what these files are ? Why do they get created ? And basically how to fix this problem.
Thanks in advance.
...BPK...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 02:39 AM
11-13-2003 02:39 AM
Re: Too many open files
Consider increasing nfiles maxfiles_lim.
Perhaps collect some performance data(script attached) while running this. You may see some high water hits that will guide you through what kernel parameters you need.
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
11-13-2003 02:43 AM
11-13-2003 02:43 AM
Re: Too many open files
We have set maxfiles and maxfiles_lim has 15000 !!! and lsof shows 15067 files open.. Out of which over 12000 are /dev/tcp->tcpm>ip files.
Based on our appl design, we use Java NIO , there is no way we can go that far as we have hard check at 10000 after which the application drop closing sockets.
I think some where some thing is going wrong causing these files to open and not close.
May be too much load !!!
...BPK...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 02:50 AM
11-13-2003 02:50 AM
Re: Too many open files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 03:13 AM
11-13-2003 03:13 AM
Re: Too many open files
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000069403094
I checked the bug database in Sun site, but couldn't find the document there. May be it needs a developer support agreement to view it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 05:23 AM
11-13-2003 05:23 AM
Re: Too many open files
netstat -an
show a lot of connections in FIN_WAIT_II?
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 05:29 AM
11-13-2003 05:29 AM
Re: Too many open files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 05:42 AM
11-13-2003 05:42 AM
Re: Too many open files
b) Got processes waiting on I/O that never's fulfilled?
c) Did you measure the activity on these ports?
# lsof -i tcp:### (* Where ### is the port number *)
# lsof -i udp:###
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 05:44 AM
11-13-2003 05:44 AM
Re: Too many open files
http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0xd2781cc6003bd6118fff0090279cd0f9%2C00.html&admit=716493758+1068749052266+28353475