home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sun / admin / 6130 < prev    next >
Encoding:
Text File  |  1992-09-03  |  4.4 KB  |  136 lines

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!dtint!tom
  3. From: tom@dtint.uucp (Thomas R. Kimpton)
  4. Subject: netstat reporting errors
  5. Message-ID: <1992Sep3.222759.12319@dtint.uucp>
  6. Organization: Digital Technology, International
  7. Date: Thu, 3 Sep 92 22:27:59 GMT
  8. Lines: 126
  9.  
  10. The reason I'm checking with netstat is because of general
  11. network slowdowns, "cold spots" (locations on the network
  12. that have slow response when others have timely response),
  13. and dropped connections to our database.
  14.  
  15. Here is what I get when I run "netstat 3":
  16.  
  17.     input   (le0)     output           input  (Total)    output
  18. packets errs  packets errs  colls  packets errs  packets errs  colls
  19. 762576  27094 338335  3     1337   915470  27094 491229  3     1337
  20. 6       0     3       0     0      6       0     3       0     0
  21. 4       0     4       0     0      4       0     4       0     0
  22. ^C
  23. TCSH:dtint:19:/usr/tom> uptime
  24.   3:48pm  up 9 days,  5:27,  3 users,  load average: 0.89, 0.66, 0.50
  25.  
  26. This is a 3.5% error rate on input packets! And for half that many
  27. output packets, I get 3 (!) errors.
  28.  
  29. I can sit there and watch errors come in every 20-30 seconds!
  30. Needless to say this worries me.  Also, isn't 1337 collisions out
  31. of line also?
  32.  
  33. The netstat manual says, under "BUGS": "The notion of errors is
  34. ill-defined."  I'd say that's an understatement, as they don't
  35. define what constitutes errors at all!
  36.  
  37. Here's the "netstat -s" output:
  38.  
  39. ip:
  40.     427627 total packets received
  41.     0 bad header checksums
  42.     0 with size smaller than minimum
  43.     0 with data size < data length
  44.     0 with header length < data size
  45.     0 with data length < header length
  46.     0 fragments received
  47.     0 fragments dropped (dup or out of space)
  48.     0 fragments dropped after timeout
  49.     0 packets forwarded
  50.     0 packets not forwardable
  51.     0 redirects sent
  52.     0 ip input queue drops
  53. icmp:
  54.     7 calls to icmp_error
  55.     0 errors not generated 'cuz old message too short
  56.     0 errors not generated 'cuz old message was icmp
  57.     Output histogram:
  58.         echo reply: 7
  59.         destination unreachable: 7
  60.         address mask reply: 217
  61.     0 messages with bad code fields
  62.     0 messages < minimum length
  63.     0 bad checksums
  64.     0 messages with bad length
  65.     Input histogram:
  66.         destination unreachable: 90
  67.         echo: 7
  68.         address mask request: 217
  69.     224 message responses generated
  70. tcp:
  71.     327686 packets sent
  72.         200899 data packets (54133320 bytes)
  73.         2311 data packets (1693689 bytes) retransmitted
  74.         80303 ack-only packets (24800 delayed)
  75.         7 URG only packets
  76.         142 window probe packets
  77.         3734 window update packets
  78.         40292 control packets
  79.     401908 packets received
  80.         233873 acks (for 54538831 bytes)
  81.         36313 duplicate acks
  82.         0 acks for unsent data
  83.         121270 packets (22488088 bytes) received in-sequence
  84.         3378 completely duplicate packets (6567 bytes)
  85.         0 packets with some dup. data (0 bytes duped)
  86.         13440 out-of-order packets (360254 bytes)
  87.         7 packets (5 bytes) of data after window
  88.         5 window probes
  89.         4684 window update packets
  90.         5 packets received after close
  91.         0 discarded for bad checksums
  92.         0 discarded for bad header offset fields
  93.         0 discarded because packet too short
  94.     13140 connection requests
  95.     13479 connection accepts
  96.     26218 connections established (including accepts)
  97.     26676 connections closed (including 185 drops)
  98.     449 embryonic connections dropped
  99.     232014 segments updated rtt (of 246951 attempts)
  100.     3226 retransmit timeouts
  101.         5 connections dropped by rexmit timeout
  102.     140 persist timeouts
  103.     11557 keepalive timeouts
  104.         11046 keepalive probes sent
  105.         354 connections dropped by keepalive
  106. udp:
  107.     0 incomplete headers
  108.     0 bad data length fields
  109.     0 bad checksums
  110.     0 socket overflows
  111.  
  112. ==========
  113.  
  114. Perusing this I can see things that would probably contribute
  115. to the 27K of errors, but, I don't really have a feel for
  116. what they mean, i.e. are duplicate packets counted as errors,
  117. out of order packets? window update packets? embryonic
  118. connections dropped?  retransmit timeouts?
  119.  
  120. I'd like to be able to turn this data into areas to look into
  121. to alleviate the problem(s), or people/programs to point
  122. fingers at so I can blame them :-).
  123.  
  124. We are using this Sun as a Sybase server AND UShare EtherTalk
  125. AppleShare file server.  On the network we have numerous Mac's,
  126. several PC's, a Novell fileserver, several LaserWriters with
  127. EtherPrint interfaces, and 1-3 other Sun's (they come and
  128. go for training purposes, setup, etc.).
  129.  
  130. Thanks!
  131. -- 
  132. ---
  133. Tom Kimpton                            tom@dtint.dtint.com
  134. Digital Technology Int.                (801)226-2984    
  135. 500 W. 1200 South, Orem UT, 84057      FAX (801) 226-8438
  136.