UDP Problem
Company 2210
company2210 at hotmail.com
Wed Aug 20 11:29:27 PDT 2003
I have two freebsd-5.0-release boxes seperated by a wireless link (IPSEC'd with Racoon). Problem is I appear to be getting a lot of socket overflows. Their is a fair bit of traffic flowing across the link (~10 gig/day), but their is a great deal of loss (particually UDP) and I'm wondering if I need to adjust any of the sysctl options - just I'm not entirely sure which - and by how much. Could someone also explain what exacty 'broadcast/multicast datagrams dropped due to no socket' means. Any advice that could be provided would be invaluable. The output from first freebsd box is here (netstat -s):
Thanks !
Colin
-------------------------------------------------------------------------------------------------------
tcp:
863815 packets sent
676656 data packets (444829120 bytes)
3523 data packets (2852660 bytes) retransmitted
54 data packets unnecessarily retransmitted
0 resends initiated by MTU discovery
176357 ack-only packets (166875 delayed)
0 URG only packets
0 window probe packets
6902 window update packets
391 control packets
657363 packets received
610862 acks (for 444861509 bytes)
9254 duplicate acks
0 acks for unsent data
205088 packets (44201176 bytes) received in-sequence
33 completely duplicate packets (5120 bytes)
0 old duplicate packets
1 packet with some dup. data (48 bytes duped)
99 out-of-order packets (132536 bytes)
0 packets (0 bytes) of data after window
0 window probes
51 window update packets
0 packets received after close
0 discarded for bad checksums
0 discarded for bad header offset fields
0 discarded because packet too short
190 connection requests
119 connection accepts
0 bad connection attempts
0 listen queue overflows
207 connections established (including accepts)
1151052 connections closed (including 3 drops)
52 connections updated cached RTT on close
52 connections updated cached RTT variance on close
19 connections updated cached ssthresh on close
102 embryonic connections dropped
597633 segments updated rtt (of 597134 attempts)
400 retransmit timeouts
0 connections dropped by rexmit timeout
0 persist timeouts
0 connections dropped by persist timeout
1 keepalive timeout
1 keepalive probe sent
0 connections dropped by keepalive
2483 correct ACK header predictions
36666 correct data packet header predictions
119 syncache entries added
0 retransmitted
1 dupsyn
0 dropped
119 completed
0 bucket overflow
0 cache overflow
0 reset
0 stale
0 aborted
0 badack
0 unreach
0 zone failures
0 cookies sent
0 cookies received
udp:
626041 datagrams received
0 with incomplete header
0 with bad data length field
0 with bad checksum
10 with no checksum
115 dropped due to no socket
8175 broadcast/multicast datagrams dropped due to no socket
28514 dropped due to full socket buffers
0 not for hashed pcb
589237 delivered
16618821 datagrams output
ip:
206977728 total packets received
0 bad header checksums
0 with size smaller than minimum
0 with data size < data length
0 with ip length > max ip packet size
0 with header length < data size
0 with data length < header length
0 with bad options
0 with incorrect version number
3434557 fragments received
453 fragments dropped (dup or out of space)
20946 fragments dropped after timeout
1689252 packets reassembled ok
71135803 packets for this host
6 packets for unknown/unsupported protocol
133973109 packets forwarded (0 packets fast forwarded)
13216 packets not forwardable
0 packets received for unknown multicast group
2 redirects sent
17605260 packets sent from this host
0 packets sent with fabricated ip header
15894414 output packets dropped due to no bufs, etc.
0 output packets discarded due to no route
26548319 output datagrams fragmented
53133007 fragments created
0 datagrams that can't be fragmented
0 tunneling packets that can't find gif
--------------------------------------------------------------------------------------------------
And box B:
tcp:
185391 packets sent
137562 data packets (100353383 bytes)
54 data packets (38303 bytes) retransmitted
2 data packets unnecessarily retransmitted
0 resends initiated by MTU discovery
40200 ack-only packets (21910 delayed)
0 URG only packets
0 window probe packets
7223 window update packets
373 control packets
168128 packets received
119724 acks (for 100353607 bytes)
413 duplicate acks
0 acks for unsent data
65794 packets (39140899 bytes) received in-sequence
133 completely duplicate packets (114056 bytes)
0 old duplicate packets
13 packets with some dup. data (2828 bytes duped)
5875 out-of-order packets (7028314 bytes)
0 packets (0 bytes) of data after window
0 window probes
50 window update packets
29 packets received after close
0 discarded for bad checksums
0 discarded for bad header offset fields
0 discarded because packet too short
178 connection requests
79 connection accepts
0 bad connection attempts
0 listen queue overflows
201 connections established (including accepts)
167379 connections closed (including 7 drops)
40 connections updated cached RTT on close
40 connections updated cached RTT variance on close
7 connections updated cached ssthresh on close
56 embryonic connections dropped
118032 segments updated rtt (of 113803 attempts)
94 retransmit timeouts
0 connections dropped by rexmit timeout
0 persist timeouts
0 connections dropped by persist timeout
6 keepalive timeouts
0 keepalive probes sent
6 connections dropped by keepalive
6033 correct ACK header predictions
37112 correct data packet header predictions
79 syncache entries added
0 retransmitted
0 dupsyn
0 dropped
79 completed
0 bucket overflow
0 cache overflow
0 reset
0 stale
0 aborted
0 badack
0 unreach
0 zone failures
0 cookies sent
0 cookies received
udp:
658406 datagrams received
0 with incomplete header
0 with bad data length field
0 with bad checksum
118 with no checksum
28339 dropped due to no socket
142704 broadcast/multicast datagrams dropped due to no socket
10700 dropped due to full socket buffers
0 not for hashed pcb
476663 delivered
6971451 datagrams output
ip:
82082783 total packets received
13 bad header checksums
0 with size smaller than minimum
3 with data size < data length
0 with ip length > max ip packet size
0 with header length < data size
0 with data length < header length
0 with bad options
0 with incorrect version number
19153086 fragments received
187 fragments dropped (dup or out of space)
15522 fragments dropped after timeout
9545836 packets reassembled ok
27763287 packets for this host
0 packets for unknown/unsupported protocol
44617418 packets forwarded (0 packets fast forwarded)
16408 packets not forwardable
1 packet received for unknown multicast group
0 redirects sent
15113260 packets sent from this host
0 packets sent with fabricated ip header
6285094 output packets dropped due to no bufs, etc.
0 output packets discarded due to no route
313032 output datagrams fragmented
1509342 fragments created
14 datagrams that can't be fragmented
0 tunneling packets that can't find gif
0 datagrams with bad address in header
More information about the freebsd-questions
mailing list