<?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 How we can troble shoot network card in Linux using the details of &amp;quot;netstat -s&amp;quot; in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-we-can-troble-shoot-network-card-in-linux-using-the-details/m-p/4660779#M41533</link>
    <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;How we can troble shoot network card in Linux using the details of "netstat -s"&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;# netstat -s&lt;BR /&gt;Ip:&lt;BR /&gt;    80615385 total packets received&lt;BR /&gt;    0 forwarded&lt;BR /&gt;    0 incoming packets discarded&lt;BR /&gt;    80209314 incoming packets delivered&lt;BR /&gt;    3574069352 requests sent out&lt;BR /&gt;    1 fragments dropped after timeout&lt;BR /&gt;    457121 reassemblies required&lt;BR /&gt;    150187 packets reassembled ok&lt;BR /&gt;    1 packet reassembles failed&lt;BR /&gt;Icmp:&lt;BR /&gt;    965396 ICMP messages received&lt;BR /&gt;    35 input ICMP message failed.&lt;BR /&gt;    ICMP input histogram:&lt;BR /&gt;        destination unreachable: 4340&lt;BR /&gt;        source quenches: 1412&lt;BR /&gt;        echo requests: 959642&lt;BR /&gt;        echo replies: 2&lt;BR /&gt;    1001434 ICMP messages sent&lt;BR /&gt;    0 ICMP messages failed&lt;BR /&gt;    ICMP output histogram:&lt;BR /&gt;        destination unreachable: 41792&lt;BR /&gt;        echo replies: 959642&lt;BR /&gt;Tcp:&lt;BR /&gt;    6142131 active connections openings&lt;BR /&gt;    12631903 passive connection openings&lt;BR /&gt;    17 failed connection attempts&lt;BR /&gt;    217181 connection resets received&lt;BR /&gt;    269 connections established&lt;BR /&gt;    3951608860 segments received&lt;BR /&gt;    3294965247 segments send out&lt;BR /&gt;    4529693 segments retransmited&lt;BR /&gt;    4 bad segments received.&lt;BR /&gt;    5553226 resets sent&lt;BR /&gt;Udp:&lt;BR /&gt;    413966376 packets received&lt;BR /&gt;    41400 packets to unknown port received.&lt;BR /&gt;    7908146 packet receive errors&lt;BR /&gt;    278104300 packets sent&lt;BR /&gt;TcpExt:&lt;BR /&gt;    1694491 invalid SYN cookies received&lt;BR /&gt;    4375774 resets received for embryonic SYN_RECV sockets&lt;BR /&gt;    343 packets pruned from receive queue because of socket buffer overrun&lt;BR /&gt;    ArpFilter: 0&lt;BR /&gt;    2905140 TCP sockets finished time wait in fast timer&lt;BR /&gt;    1572 time wait sockets recycled by time stamp&lt;BR /&gt;    9421058 delayed acks sent&lt;BR /&gt;    30962 delayed acks further delayed because of locked socket&lt;BR /&gt;    Quick ack mode was activated 72345 times&lt;BR /&gt;    36234902 packets directly queued to recvmsg prequeue.&lt;BR /&gt;    937443666 packets directly received from backlog&lt;BR /&gt;    2941751753 packets directly received from prequeue&lt;BR /&gt;    395884522 packets header predicted&lt;BR /&gt;    31009938 packets header predicted and directly queued to user&lt;BR /&gt;    TCPPureAcks: 671134925&lt;BR /&gt;    TCPHPAcks: -1815547433&lt;BR /&gt;    TCPRenoRecovery: 527842&lt;BR /&gt;    TCPSackRecovery: 32679&lt;BR /&gt;    TCPSACKReneging: 0&lt;BR /&gt;    TCPFACKReorder: 46&lt;BR /&gt;    TCPSACKReorder: 30&lt;BR /&gt;    TCPRenoReorder: 15633&lt;BR /&gt;    TCPTSReorder: 90&lt;BR /&gt;    TCPFullUndo: 222&lt;BR /&gt;    TCPPartialUndo: 1981&lt;BR /&gt;    TCPDSACKUndo: 0&lt;BR /&gt;    TCPLossUndo: 1259&lt;BR /&gt;    TCPLoss: 4583&lt;BR /&gt;    TCPLostRetransmit: 5&lt;BR /&gt;    TCPRenoFailures: 3341&lt;BR /&gt;    TCPSackFailures: 1154&lt;BR /&gt;    TCPLossFailures: 47&lt;BR /&gt;    TCPFastRetrans: 3346455&lt;BR /&gt;    TCPForwardRetrans: 4118&lt;BR /&gt;    TCPSlowStartRetrans: 342528&lt;BR /&gt;    TCPTimeouts: 795297&lt;BR /&gt;    TCPRenoRecoveryFail: 22187&lt;BR /&gt;    TCPSackRecoveryFail: 437&lt;BR /&gt;    TCPSchedulerFailed: 1117&lt;BR /&gt;    TCPRcvCollapsed: 23982&lt;BR /&gt;    TCPDSACKOldSent: 71643&lt;BR /&gt;    TCPDSACKOfoSent: 2&lt;BR /&gt;    TCPDSACKRecv: 206&lt;BR /&gt;    TCPDSACKOfoRecv: 0&lt;BR /&gt;    TCPAbortOnSyn: 0&lt;BR /&gt;    TCPAbortOnData: 1457953&lt;BR /&gt;    TCPAbortOnClose: 91&lt;BR /&gt;    TCPAbortOnMemory: 0&lt;BR /&gt;    TCPAbortOnTimeout: 787&lt;BR /&gt;    TCPAbortOnLinger: 0&lt;BR /&gt;    TCPAbortFailed: 0&lt;BR /&gt;    TCPMemoryPressures: 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;My Questions:&lt;BR /&gt;&lt;BR /&gt;1)What are fields needs to be checked?&lt;BR /&gt;&lt;BR /&gt;2)What is the optimum value for all important fields?&lt;BR /&gt;&lt;BR /&gt;3)How can know that there is issue with network back plane?&lt;BR /&gt;&lt;BR /&gt;4)How we can check that there is issue with network card (ethernet card)?&lt;BR /&gt;&lt;BR /&gt;5)When we have to check this statistics?&lt;BR /&gt;</description>
    <pubDate>Tue, 13 Jul 2010 16:40:19 GMT</pubDate>
    <dc:creator>senthil_kumar_1</dc:creator>
    <dc:date>2010-07-13T16:40:19Z</dc:date>
    <item>
      <title>How we can troble shoot network card in Linux using the details of "netstat -s"</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-we-can-troble-shoot-network-card-in-linux-using-the-details/m-p/4660779#M41533</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;How we can troble shoot network card in Linux using the details of "netstat -s"&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;# netstat -s&lt;BR /&gt;Ip:&lt;BR /&gt;    80615385 total packets received&lt;BR /&gt;    0 forwarded&lt;BR /&gt;    0 incoming packets discarded&lt;BR /&gt;    80209314 incoming packets delivered&lt;BR /&gt;    3574069352 requests sent out&lt;BR /&gt;    1 fragments dropped after timeout&lt;BR /&gt;    457121 reassemblies required&lt;BR /&gt;    150187 packets reassembled ok&lt;BR /&gt;    1 packet reassembles failed&lt;BR /&gt;Icmp:&lt;BR /&gt;    965396 ICMP messages received&lt;BR /&gt;    35 input ICMP message failed.&lt;BR /&gt;    ICMP input histogram:&lt;BR /&gt;        destination unreachable: 4340&lt;BR /&gt;        source quenches: 1412&lt;BR /&gt;        echo requests: 959642&lt;BR /&gt;        echo replies: 2&lt;BR /&gt;    1001434 ICMP messages sent&lt;BR /&gt;    0 ICMP messages failed&lt;BR /&gt;    ICMP output histogram:&lt;BR /&gt;        destination unreachable: 41792&lt;BR /&gt;        echo replies: 959642&lt;BR /&gt;Tcp:&lt;BR /&gt;    6142131 active connections openings&lt;BR /&gt;    12631903 passive connection openings&lt;BR /&gt;    17 failed connection attempts&lt;BR /&gt;    217181 connection resets received&lt;BR /&gt;    269 connections established&lt;BR /&gt;    3951608860 segments received&lt;BR /&gt;    3294965247 segments send out&lt;BR /&gt;    4529693 segments retransmited&lt;BR /&gt;    4 bad segments received.&lt;BR /&gt;    5553226 resets sent&lt;BR /&gt;Udp:&lt;BR /&gt;    413966376 packets received&lt;BR /&gt;    41400 packets to unknown port received.&lt;BR /&gt;    7908146 packet receive errors&lt;BR /&gt;    278104300 packets sent&lt;BR /&gt;TcpExt:&lt;BR /&gt;    1694491 invalid SYN cookies received&lt;BR /&gt;    4375774 resets received for embryonic SYN_RECV sockets&lt;BR /&gt;    343 packets pruned from receive queue because of socket buffer overrun&lt;BR /&gt;    ArpFilter: 0&lt;BR /&gt;    2905140 TCP sockets finished time wait in fast timer&lt;BR /&gt;    1572 time wait sockets recycled by time stamp&lt;BR /&gt;    9421058 delayed acks sent&lt;BR /&gt;    30962 delayed acks further delayed because of locked socket&lt;BR /&gt;    Quick ack mode was activated 72345 times&lt;BR /&gt;    36234902 packets directly queued to recvmsg prequeue.&lt;BR /&gt;    937443666 packets directly received from backlog&lt;BR /&gt;    2941751753 packets directly received from prequeue&lt;BR /&gt;    395884522 packets header predicted&lt;BR /&gt;    31009938 packets header predicted and directly queued to user&lt;BR /&gt;    TCPPureAcks: 671134925&lt;BR /&gt;    TCPHPAcks: -1815547433&lt;BR /&gt;    TCPRenoRecovery: 527842&lt;BR /&gt;    TCPSackRecovery: 32679&lt;BR /&gt;    TCPSACKReneging: 0&lt;BR /&gt;    TCPFACKReorder: 46&lt;BR /&gt;    TCPSACKReorder: 30&lt;BR /&gt;    TCPRenoReorder: 15633&lt;BR /&gt;    TCPTSReorder: 90&lt;BR /&gt;    TCPFullUndo: 222&lt;BR /&gt;    TCPPartialUndo: 1981&lt;BR /&gt;    TCPDSACKUndo: 0&lt;BR /&gt;    TCPLossUndo: 1259&lt;BR /&gt;    TCPLoss: 4583&lt;BR /&gt;    TCPLostRetransmit: 5&lt;BR /&gt;    TCPRenoFailures: 3341&lt;BR /&gt;    TCPSackFailures: 1154&lt;BR /&gt;    TCPLossFailures: 47&lt;BR /&gt;    TCPFastRetrans: 3346455&lt;BR /&gt;    TCPForwardRetrans: 4118&lt;BR /&gt;    TCPSlowStartRetrans: 342528&lt;BR /&gt;    TCPTimeouts: 795297&lt;BR /&gt;    TCPRenoRecoveryFail: 22187&lt;BR /&gt;    TCPSackRecoveryFail: 437&lt;BR /&gt;    TCPSchedulerFailed: 1117&lt;BR /&gt;    TCPRcvCollapsed: 23982&lt;BR /&gt;    TCPDSACKOldSent: 71643&lt;BR /&gt;    TCPDSACKOfoSent: 2&lt;BR /&gt;    TCPDSACKRecv: 206&lt;BR /&gt;    TCPDSACKOfoRecv: 0&lt;BR /&gt;    TCPAbortOnSyn: 0&lt;BR /&gt;    TCPAbortOnData: 1457953&lt;BR /&gt;    TCPAbortOnClose: 91&lt;BR /&gt;    TCPAbortOnMemory: 0&lt;BR /&gt;    TCPAbortOnTimeout: 787&lt;BR /&gt;    TCPAbortOnLinger: 0&lt;BR /&gt;    TCPAbortFailed: 0&lt;BR /&gt;    TCPMemoryPressures: 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;My Questions:&lt;BR /&gt;&lt;BR /&gt;1)What are fields needs to be checked?&lt;BR /&gt;&lt;BR /&gt;2)What is the optimum value for all important fields?&lt;BR /&gt;&lt;BR /&gt;3)How can know that there is issue with network back plane?&lt;BR /&gt;&lt;BR /&gt;4)How we can check that there is issue with network card (ethernet card)?&lt;BR /&gt;&lt;BR /&gt;5)When we have to check this statistics?&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Jul 2010 16:40:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-we-can-troble-shoot-network-card-in-linux-using-the-details/m-p/4660779#M41533</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2010-07-13T16:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: How we can troble shoot network card in Linux using the details of "netstat -s"</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-we-can-troble-shoot-network-card-in-linux-using-the-details/m-p/4660780#M41534</link>
      <description>netstat -s :- Display summary statistics for each protocol.&lt;BR /&gt;&lt;BR /&gt;1)What are fields needs to be checked?&lt;BR /&gt;Solution:-&lt;BR /&gt;Network Bottleneck you need to illustrate whats the problem related to.&lt;BR /&gt;=&amp;gt; Ensure that the network card configuration matches router and switch configurations (for example, frame size).&lt;BR /&gt;=&amp;gt; Modify how your subnets are organized.&lt;BR /&gt;=&amp;gt; Use faster network cards.&lt;BR /&gt;=&amp;gt; Tune the appropriate IPV4 TCP kernel parameters. Some security-related parameters can also improve performance.&lt;BR /&gt;=&amp;gt; If possible, change network cards and recheck performance.&lt;BR /&gt;=&amp;gt; Add network cards and bind them together to form an adapter team, if possible.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2)What is the optimum value for all important fields?&lt;BR /&gt;It depends upon the Requirement an type of application you are using. Incase for increasing the bandwidth you can go channel bonding of the Network Card. Increase the Network Buffer, packet queues. Decrease interrupts &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3)How can know that there is issue with network back plane?&lt;BR /&gt;check the logs, dmesg and you can replace it and check&lt;BR /&gt;&lt;BR /&gt;4)How we can check that there is issue with network card (ethernet card)?&lt;BR /&gt;ifconfig output Show you the status whether the network card is up or not&lt;BR /&gt;Or&lt;BR /&gt;# /etc/init.d/network status &lt;BR /&gt;&lt;BR /&gt;5)When we have to check this statistics? &lt;BR /&gt;Try to automate most of the things by writing script and Customize your monitoring tool to alert whenever it reaches threshold</description>
      <pubDate>Wed, 14 Jul 2010 05:58:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-we-can-troble-shoot-network-card-in-linux-using-the-details/m-p/4660780#M41534</guid>
      <dc:creator>Ishwar_1</dc:creator>
      <dc:date>2010-07-14T05:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: How we can troble shoot network card in Linux using the details of "netstat -s"</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-we-can-troble-shoot-network-card-in-linux-using-the-details/m-p/4660781#M41535</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Your stats do not look all that bad. I packet dropped, though the figure should be zero.&lt;BR /&gt;&lt;BR /&gt;1)What are fields needs to be checked?&lt;BR /&gt;Fields reporting errors or dropped packets.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2)What is the optimum value for all important fields?&lt;BR /&gt;Zero for errors, drops and malformed packets, large numbers for good stuff.&lt;BR /&gt;&lt;BR /&gt;3)How can know that there is issue with network back plane?&lt;BR /&gt;&lt;BR /&gt;Lots of errors. Way more than I see.&lt;BR /&gt;&lt;BR /&gt;4)How we can check that there is issue with network card (ethernet card)?&lt;BR /&gt;&lt;BR /&gt;You could boot the server into diagnostic mode and test the NIC&lt;BR /&gt;&lt;BR /&gt;5)When we have to check this statistics? &lt;BR /&gt;&lt;BR /&gt;I would look at these every week or so, or better yet, write a script that checks for errors regularly and emails you.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 14 Jul 2010 18:45:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-we-can-troble-shoot-network-card-in-linux-using-the-details/m-p/4660781#M41535</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-07-14T18:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: How we can troble shoot network card in Linux using the details of "netstat -s"</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-we-can-troble-shoot-network-card-in-linux-using-the-details/m-p/4660782#M41536</link>
      <description>Hi Steven E. Protter,&lt;BR /&gt;&lt;BR /&gt;Could you please share your scripts that checks statistics of network card and sends mail if errors happen?&lt;BR /&gt;&lt;BR /&gt;Could you please share any doc about optimum values for all important fields?</description>
      <pubDate>Thu, 15 Jul 2010 10:13:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-we-can-troble-shoot-network-card-in-linux-using-the-details/m-p/4660782#M41536</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2010-07-15T10:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: How we can troble shoot network card in Linux using the details of "netstat -s"</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-we-can-troble-shoot-network-card-in-linux-using-the-details/m-p/4660783#M41537</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Didn't know I had scripts that looked at netstat, but I should.&lt;BR /&gt;&lt;BR /&gt;See:&lt;BR /&gt;&lt;A href="http://hpux.ws/system.perf.sh" target="_blank"&gt;http://hpux.ws/system.perf.sh&lt;/A&gt;&lt;BR /&gt;# Requires a port to Linux....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here is a really fast try at a script using &lt;BR /&gt;filename=/tmp/$$.net.dat&lt;BR /&gt;netstat -s &amp;gt; $filename&lt;BR /&gt;tcpimeout=$(grep TCPAbortOnTimeout $filename |awk '{print $2}')&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# Set other values you think are relevant here.&lt;BR /&gt;&lt;BR /&gt;Then write a report of these values to a file or email and send it only when there are errors.&lt;BR /&gt;&lt;BR /&gt;You will also want to reset the statistics with netstat (see man page). So you don't get the same error.&lt;BR /&gt;&lt;BR /&gt;I'd build the script and run it daily.&lt;BR /&gt;&lt;BR /&gt;Closer look shows some stuff that concerns me.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;TCPAbortOnTimeout: 787&lt;BR /&gt;937443666 packets directly received from backlog&lt;BR /&gt;&lt;BR /&gt;I just checked a CentOS vm I built yesterday and see no errors, but this system does no really significant work.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 15 Jul 2010 11:38:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-we-can-troble-shoot-network-card-in-linux-using-the-details/m-p/4660783#M41537</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-07-15T11:38:24Z</dc:date>
    </item>
  </channel>
</rss>

