<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: socket shutdown not recognized in Operating System - Tru64 Unix</title>
    <link>https://community.hpe.com/t5/operating-system-tru64-unix/socket-shutdown-not-recognized/m-p/3261675#M4886</link>
    <description>"frame too long" and "frame error" indicates a hardware problem (cabling, switch, ports etc.)&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 04 May 2004 15:55:11 GMT</pubDate>
    <dc:creator>Ralf Puchner</dc:creator>
    <dc:date>2004-05-04T15:55:11Z</dc:date>
    <item>
      <title>socket shutdown not recognized</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/socket-shutdown-not-recognized/m-p/3261669#M4880</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;client use the "select()" call to check if there is data available on the socket, but get's always rc EWOULDBLOCK=35.&lt;BR /&gt;&lt;BR /&gt;Has anybody seen something similar? &lt;BR /&gt;This looks like a bug to me or is there anything I've missed.&lt;BR /&gt;&lt;BR /&gt;BTW The application runs fine on 4.0F and some other platforms.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any pointers are welcome.&lt;BR /&gt;&lt;BR /&gt;Thomas Prause</description>
      <pubDate>Wed, 28 Apr 2004 09:30:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/socket-shutdown-not-recognized/m-p/3261669#M4880</guid>
      <dc:creator>Thomas Prause</dc:creator>
      <dc:date>2004-04-28T09:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: socket shutdown not recognized</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/socket-shutdown-not-recognized/m-p/3261670#M4881</link>
      <description>EWOULDBLOCK warnings come from the underlying network and indicate (normally) a transient throughput bottleneck.  If they are more consistent then I would recommend doing some network tuning.&lt;BR /&gt;&lt;BR /&gt;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).&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Be sure you have installed the latest patchkit of 5.1B with keepalive bugfix (problems occures after uptime of 96 days).&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Apr 2004 01:57:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/socket-shutdown-not-recognized/m-p/3261670#M4881</guid>
      <dc:creator>Ralf Puchner</dc:creator>
      <dc:date>2004-04-29T01:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: socket shutdown not recognized</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/socket-shutdown-not-recognized/m-p/3261671#M4882</link>
      <description>netstat on this machine shows a lot of errors for incoming pakets:&lt;BR /&gt;-&amp;gt; netstat -I tu0&lt;BR /&gt;Name  Mtu   Network     Address               Ipkts Ierrs    Opkts Oerrs  Coll&lt;BR /&gt;tu0   1500  &lt;LINK /&gt;      00:00:f8:75:b9:89   1943669 62414  1470436     0     0&lt;BR /&gt;tu0   1500  DLI         none                1943669 62414  1470436     0     0&lt;BR /&gt;tu0   1500  192.168.1.0 hostname              1943669 62414  1470436     0     0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This indicates the OS recognize the errors, but why doesn't my application get notified?</description>
      <pubDate>Mon, 16 Sep 2024 09:21:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/socket-shutdown-not-recognized/m-p/3261671#M4882</guid>
      <dc:creator>Thomas Prause</dc:creator>
      <dc:date>2024-09-16T09:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: socket shutdown not recognized</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/socket-shutdown-not-recognized/m-p/3261672#M4883</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;could you please post netstat -Itu -s&lt;BR /&gt;? 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.&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Apr 2004 09:32:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/socket-shutdown-not-recognized/m-p/3261672#M4883</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-04-30T09:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: socket shutdown not recognized</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/socket-shutdown-not-recognized/m-p/3261673#M4884</link>
      <description>Thomas,&lt;BR /&gt;&lt;BR /&gt;it seems your machine is not properly configured with full/half duplex speed.&lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;&lt;BR /&gt;If this doesn't help disable full duplex - not all switches works properly with the tulip cards.&lt;BR /&gt;&lt;BR /&gt;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....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Apr 2004 16:15:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/socket-shutdown-not-recognized/m-p/3261673#M4884</guid>
      <dc:creator>Ralf Puchner</dc:creator>
      <dc:date>2004-04-30T16:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: socket shutdown not recognized</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/socket-shutdown-not-recognized/m-p/3261674#M4885</link>
      <description>@Micheal&lt;BR /&gt;&lt;BR /&gt;thanks for the cmd, that's what I was looking for some weeks ago ;-)&lt;BR /&gt;here's the output:&lt;BR /&gt;&lt;BR /&gt;--snip&lt;BR /&gt; netstat -Itu -s&lt;BR /&gt;&lt;BR /&gt;tu0 Ethernet counters at Mon May  3 07:10:56 2004&lt;BR /&gt;&lt;BR /&gt;          161792 seconds since last zeroed&lt;BR /&gt;      3894978107 bytes received&lt;BR /&gt;      7886699073 bytes sent&lt;BR /&gt;         5318505 data blocks received&lt;BR /&gt;         6810812 data blocks sent&lt;BR /&gt;        11253987 multicast bytes received&lt;BR /&gt;          103904 multicast blocks received&lt;BR /&gt;          715365 multicast bytes sent&lt;BR /&gt;            5247 multicast blocks sent&lt;BR /&gt;               0 blocks sent, initially deferred&lt;BR /&gt;               0 blocks sent, single collision&lt;BR /&gt;               0 blocks sent, multiple collisions&lt;BR /&gt;               1 send failures, reasons include:&lt;BR /&gt;                         1 user buffer unavailable&lt;BR /&gt;          402757 receive failures, reasons include:&lt;BR /&gt;                       891 frame too long&lt;BR /&gt;                    208369 frame check sequence errors&lt;BR /&gt;                    193497 frame error&lt;BR /&gt;&lt;BR /&gt;---snip&lt;BR /&gt;&lt;BR /&gt;@Ralf&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Thank's for your responses.</description>
      <pubDate>Mon, 03 May 2004 00:19:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/socket-shutdown-not-recognized/m-p/3261674#M4885</guid>
      <dc:creator>Thomas Prause</dc:creator>
      <dc:date>2004-05-03T00:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: socket shutdown not recognized</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/socket-shutdown-not-recognized/m-p/3261675#M4886</link>
      <description>"frame too long" and "frame error" indicates a hardware problem (cabling, switch, ports etc.)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 04 May 2004 15:55:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/socket-shutdown-not-recognized/m-p/3261675#M4886</guid>
      <dc:creator>Ralf Puchner</dc:creator>
      <dc:date>2004-05-04T15:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: socket shutdown not recognized</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/socket-shutdown-not-recognized/m-p/3261676#M4887</link>
      <description>setting the card to half duplex let the tests run w/o any problem since monday&lt;BR /&gt;&lt;BR /&gt;I'll dig into the code, to check how to improve the app to make it recognizing such errors&lt;BR /&gt;&lt;BR /&gt;thanks for your support&lt;BR /&gt;Thomas Prause</description>
      <pubDate>Wed, 05 May 2004 02:19:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/socket-shutdown-not-recognized/m-p/3261676#M4887</guid>
      <dc:creator>Thomas Prause</dc:creator>
      <dc:date>2004-05-05T02:19:38Z</dc:date>
    </item>
  </channel>
</rss>

