- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- socket shutdown not recognized
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
04-28-2004 02:30 AM
04-28-2004 02:30 AM
I've a problem w/ a client-server application. Sometimes the client (on 5.1B patchkit 3) is still waiting for data while the remote part has already shutdown the connection. netstat on remote system shows NO open connection to the client machine, but netstat on the client shows the connection to the server still as ESTABLISHED.
client use the "select()" call to check if there is data available on the socket, but get's always rc EWOULDBLOCK=35.
Has anybody seen something similar?
This looks like a bug to me or is there anything I've missed.
BTW The application runs fine on 4.0F and some other platforms.
Any pointers are welcome.
Thomas Prause
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2004 06:57 PM
04-28-2004 06:57 PM
Re: socket shutdown not recognized
If the socket will be closed from the other side, check if keepalive is activated on the system (have a look into previous postings explaining the subsystem parameters of keepalive).
Another approach is to check that the application have an error handling implemented for the used sockets. If the remote side exits, there must be some code dealing with this kind of event.
Be sure you have installed the latest patchkit of 5.1B with keepalive bugfix (problems occures after uptime of 96 days).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 01:49 AM - last edited on 09-16-2024 02:21 AM by support_s
04-30-2004 01:49 AM - last edited on 09-16-2024 02:21 AM by support_s
Re: socket shutdown not recognized
-> netstat -I tu0
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
tu0 1500 00:00:f8:75:b9:89 1943669 62414 1470436 0 0
tu0 1500 DLI none 1943669 62414 1470436 0 0
tu0 1500 192.168.1.0 hostname 1943669 62414 1470436 0 0
This indicates the OS recognize the errors, but why doesn't my application get notified?
- Tags:
- logical drive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 02:32 AM
04-30-2004 02:32 AM
Re: socket shutdown not recognized
could you please post netstat -Itu -s
? As Ralf said, it might be a result of a bug, so check on that. I am not too firm in that, but I would think, that because of the different layers it does not get reported to the application.
hth,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 09:15 AM
04-30-2004 09:15 AM
Re: socket shutdown not recognized
it seems your machine is not properly configured with full/half duplex speed.
Please be sure you have set the tulip cards to fixed mode (ewa0_mode=fast or ewa0_mode=fastfd on srm console) instead of autoneg. The switch must also been set to the same settings.
If this doesn't help disable full duplex - not all switches works properly with the tulip cards.
The TCP/IP stack is based on RFC's which are available on the internet. Read the section about keepalive and you can answer your question by yourself....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2004 05:19 PM
05-02-2004 05:19 PM
Re: socket shutdown not recognized
thanks for the cmd, that's what I was looking for some weeks ago ;-)
here's the output:
--snip
netstat -Itu -s
tu0 Ethernet counters at Mon May 3 07:10:56 2004
161792 seconds since last zeroed
3894978107 bytes received
7886699073 bytes sent
5318505 data blocks received
6810812 data blocks sent
11253987 multicast bytes received
103904 multicast blocks received
715365 multicast bytes sent
5247 multicast blocks sent
0 blocks sent, initially deferred
0 blocks sent, single collision
0 blocks sent, multiple collisions
1 send failures, reasons include:
1 user buffer unavailable
402757 receive failures, reasons include:
891 frame too long
208369 frame check sequence errors
193497 frame error
---snip
@Ralf
We had some problems w/ ftp after the initial setup of the system. The admin pretends they have been fixed by setting the NIC to half duplex - but I'll check.
Thank's for your responses.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 08:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 07:19 PM
05-04-2004 07:19 PM
Re: socket shutdown not recognized
I'll dig into the code, to check how to improve the app to make it recognizing such errors
thanks for your support
Thomas Prause