HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Why 11.0 accept() can cause ENOBUFS
Operating System - HP-UX
1825780
Members
2152
Online
109687
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
10-15-2002 11:21 PM
10-15-2002 11:21 PM
Hi all,
My development group (based on WebLogic) is having a sprodic issue whereby if a client sends a TCP RST to the server, the JVM on the server side throws a SocketException. This is not desirable as a bad client connection will result in a SocketException on the server side. Throwing a SocketException for this non-fatal error could result in the Server side application performing expensive exception handling that is required only for fatal errors.
BEA say:
HP-UX/HP JVM users:
This is an issue with the HP JVM running on HP-UX 11 or later releases only. In HP-UX release 11, HP introduced the ENOBUFS return code from accept(). See the following excerpt from HP support email:
Why 11.0 accept() can cause ENOBUFS?
======================================
The description has not been changed at 11.0. However, the implementation of accept() system call was changed at 11.0(Transport stack has changed drastically due to STREAMS based TCP/IP). And it can return -1 with errno=ENOBUFS based on the condition of "the queued socket connect request is aborted". Here, this means the transport stack received RST just after SYN was received. If RST comes before accept() is done, this situation can happen.
On 10.X, if this happens, the connection was just silently dropped.
Can anyone help? Is there an OS/JVM patch to help this?
I'm running 11.11 with June 2002 Golk Pack on a 5430
My development group (based on WebLogic) is having a sprodic issue whereby if a client sends a TCP RST to the server, the JVM on the server side throws a SocketException. This is not desirable as a bad client connection will result in a SocketException on the server side. Throwing a SocketException for this non-fatal error could result in the Server side application performing expensive exception handling that is required only for fatal errors.
BEA say:
HP-UX/HP JVM users:
This is an issue with the HP JVM running on HP-UX 11 or later releases only. In HP-UX release 11, HP introduced the ENOBUFS return code from accept(). See the following excerpt from HP support email:
Why 11.0 accept() can cause ENOBUFS?
======================================
The description has not been changed at 11.0. However, the implementation of accept() system call was changed at 11.0(Transport stack has changed drastically due to STREAMS based TCP/IP). And it can return -1 with errno=ENOBUFS based on the condition of "the queued socket connect request is aborted". Here, this means the transport stack received RST just after SYN was received. If RST comes before accept() is done, this situation can happen.
On 10.X, if this happens, the connection was just silently dropped.
Can anyone help? Is there an OS/JVM patch to help this?
I'm running 11.11 with June 2002 Golk Pack on a 5430
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 12:37 AM
10-16-2002 12:37 AM
Solution
Hi, David!
There is no OS patch for this, since the transport stack works as designed.
However the problem is reported as defect JAGae01390 against the JVM.
It is fixed beginning with revision 1.3.1.05, which is downloadable form http://www.hp.com/go/java.
Regards...
Dietmar.
There is no OS patch for this, since the transport stack works as designed.
However the problem is reported as defect JAGae01390 against the JVM.
It is fixed beginning with revision 1.3.1.05, which is downloadable form http://www.hp.com/go/java.
Regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP