- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Server hangs after running for 2 to 3 days
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
тАО05-28-2009 03:40 AM
тАО05-28-2009 03:40 AM
Server hangs after running for 2 to 3 days
Any help in this regard would be very helpful for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2009 04:14 AM
тАО05-28-2009 04:14 AM
Re: Server hangs after running for 2 to 3 days
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2009 04:34 AM
тАО05-28-2009 04:34 AM
Re: Server hangs after running for 2 to 3 days
This is an application problem.
See about fixing the application, and closing obviously dead process with kill command issued by root.
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
тАО05-28-2009 04:57 AM
тАО05-28-2009 04:57 AM
Re: Server hangs after running for 2 to 3 days
I have verified the netstat information and found that the connections from the server application are in CLOSE_WAIT state for a very long time. I have PHNE_35117 patch available on the machine. I have tried ndd tuning for TCP parameters available in the forum but was not successful. Please let me know what kind of application fixes would help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2009 05:30 AM
тАО05-28-2009 05:30 AM
Re: Server hangs after running for 2 to 3 days
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2009 05:32 AM
тАО05-28-2009 05:32 AM
Re: Server hangs after running for 2 to 3 days
Looks like the application is opening up a Socket and not closing it.
Ex: In java
you can use the - Socket.setSoLinger()
to close the connection as soon as application ends.
This is purely programming.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2009 06:14 AM
тАО05-28-2009 06:14 AM
Re: Server hangs after running for 2 to 3 days
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2009 04:44 PM
тАО05-28-2009 04:44 PM
Re: Server hangs after running for 2 to 3 days
While there may be a timer kludge in HP-UX networking, or even the unlikely possibility of a bug in the stack, chances are lots of CLOSE_WAITs are a bug in the application.
If there are enough of them, the application will bump-up against the per-process limit for open file descriptors and will be unable to open any more files or accept any more connections.
However, I would not have expected the accept() calls to start failing with ENOBUFS - I would have expected EMFILE. While it seems an odd error to return another 99 times out of 10 :) an ENOBUF on accept() means the remote client has given-up on the connection before the application has gotten around to calling accept().
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2009 05:43 AM
тАО05-29-2009 05:43 AM
Re: Server hangs after running for 2 to 3 days
We migrated from PARISC a week ago, and this version of application is not supported on ITanium yet, so decided put through ARIES. As you have experienced we are in the same boat every two or three days, and the sympotom is indeed when there is heavy influx of transmissions.
We have been advised by a very informative JAVA resource from HP Support that the version of java 1.4.2.11 is the culprit, and have recommended 1.4.2.11a, which is the patched version. Did you hear any such info? Which version of Java you are running.