Date: Sun, 24 Nov 2002 04:29:38 +0000 From: "Vincent Goupil" <spoug@hotmail.com> To: freebsd-net@FreeBSD.ORG Subject: Re: Packets dropped by FreeBSD Message-ID: <F1375UWgP1A83xiDd9D000157ef@hotmail.com>
next in thread | raw e-mail | index | archive | help
What could be wrong ?
Output before the reboot
tcp:
3358 packets sent
1859 data packets (330166 bytes)
16 data packets (20280 bytes) retransmitted
0 resends initiated by MTU discovery
1476 ack-only packets (351 delayed)
0 URG only packets
0 window probe packets
1 window update packet
6 control packets
3329 packets received
1425 acks (for 325868 bytes)
110 duplicate acks
0 acks for unsent data
2827 packets (127264 bytes) received in-sequence
3 completely duplicate packets (1672 bytes)
0 old duplicate packets
4 packets with some dup. data (1320 bytes duped)
219 out-of-order packets (20032 bytes)
0 packets (0 bytes) of data after window
0 window probes
0 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
2 connection requests
4 connection accepts
3 bad connection attempts
0 listen queue overflows
6 connections established (including accepts)
4 connections closed (including 0 drops)
0 connections updated cached RTT on close
0 connections updated cached RTT variance on close
0 connections updated cached ssthresh on close
0 embryonic connections dropped
1024 segments updated rtt (of 1035 attempts)
1 retransmit timeout
0 connections dropped by rexmit timeout
0 persist timeouts
0 connections dropped by persist timeout
0 keepalive timeouts
0 keepalive probes sent
0 connections dropped by keepalive
2 correct ACK header predictions
1489 correct data packet header predictions
4 syncache entries added
0 retransmitted
0 dupsyn
0 dropped
4 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:
7090 datagrams received
0 with incomplete header
0 with bad data length field
0 with bad checksum
0 with no checksum
132 dropped due to no socket
3511 broadcast/multicast datagrams dropped due to no socket
0 dropped due to full socket buffers
0 not for hashed pcb
3447 delivered
1999 datagrams output
ip:
422282 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
0 fragments received
0 fragments dropped (dup or out of space)
0 fragments dropped after timeout
0 packets reassembled ok
11227 packets for this host
0 packets for unknown/unsupported protocol
408471 packets forwarded (0 packets fast forwarded)
108 packets not forwardable
0 packets received for unknown multicast group
478 redirects sent
6971 packets sent from this host
0 packets sent with fabricated ip header
0 output packets dropped due to no bufs, etc.
0 output packets discarded due to no route
0 output datagrams fragmented
0 fragments created
0 datagrams that can't be fragmented
0 tunneling packets that can't find gif
0 datagrams with bad address in header
icmp:
240 calls to icmp_error
0 errors not generated 'cuz old message was icmp
Output histogram:
echo reply: 1
destination unreachable: 240
routing redirect: 478
0 messages with bad code fields
0 messages < minimum length
0 bad checksums
0 messages with bad length
0 multicast echo requests ignored
0 multicast timestamp requests ignored
Input histogram:
echo reply: 806
echo: 1
1 message response generated
0 invalid return addresses
0 no return routes
ICMP address mask responses are disabled
igmp:
0 messages received
0 messages received with too few bytes
0 messages received with bad checksum
0 membership queries received
0 membership queries received with invalid field(s)
0 membership reports received
0 membership reports received with invalid field(s)
0 membership reports received for groups to which we belong
0 membership reports sent
599/656/6016 mbufs in use (current/peak/max):
599 mbufs allocated to data
512/654/1504 mbuf clusters in use (current/peak/max)
1472 Kbytes allocated to network (32% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
[root@wally ~]
I increased default values to theses ones:
kern.ipc.somaxconn=1024 (sysctl)
kern.maxusers=128 (loader.conf)
kern.ipc.nmbclusters=8192 (loader.conf)
tcp:
1963 packets sent
1135 data packets (111983 bytes)
15 data packets (21344 bytes) retransmitted
0 resends initiated by MTU discovery
813 ack-only packets (170 delayed)
0 URG only packets
0 window probe packets
0 window update packets
0 control packets
1860 packets received
750 acks (for 107768 bytes)
110 duplicate acks
0 acks for unsent data
1522 packets (68055 bytes) received in-sequence
0 completely duplicate packets (0 bytes)
0 old duplicate packets
0 packets with some dup. data (0 bytes duped)
118 out-of-order packets (8800 bytes)
0 packets (0 bytes) of data after window
0 window probes
0 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
0 connection requests
1 connection accept
0 bad connection attempts
0 listen queue overflows
1 connection established (including accepts)
0 connections closed (including 0 drops)
0 connections updated cached RTT on close
0 connections updated cached RTT variance on close
0 connections updated cached ssthresh on close
0 embryonic connections dropped
489 segments updated rtt (of 491 attempts)
3 retransmit timeouts
0 connections dropped by rexmit timeout
0 persist timeouts
0 connections dropped by persist timeout
0 keepalive timeouts
0 keepalive probes sent
0 connections dropped by keepalive
0 correct ACK header predictions
883 correct data packet header predictions
1 syncache entries added
0 retransmitted
0 dupsyn
0 dropped
1 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:
140 datagrams received
0 with incomplete header
0 with bad data length field
0 with bad checksum
0 with no checksum
0 dropped due to no socket
50 broadcast/multicast datagrams dropped due to no socket
0 dropped due to full socket buffers
0 not for hashed pcb
90 delivered
68 datagrams output
ip:
2329 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
0 fragments received
0 fragments dropped (dup or out of space)
0 fragments dropped after timeout
0 packets reassembled ok
2069 packets for this host
0 packets for unknown/unsupported protocol
241 packets forwarded (0 packets fast forwarded)
0 packets not forwardable
0 packets received for unknown multicast group
0 redirects sent
2172 packets sent from this host
0 packets sent with fabricated ip header
0 output packets dropped due to no bufs, etc.
0 output packets discarded due to no route
0 output datagrams fragmented
0 fragments created
0 datagrams that can't be fragmented
0 tunneling packets that can't find gif
0 datagrams with bad address in header
icmp:
0 calls to icmp_error
0 errors not generated 'cuz old message was icmp
Output histogram:
echo reply: 58
0 messages with bad code fields
0 messages < minimum length
0 bad checksums
0 messages with bad length
0 multicast echo requests ignored
0 multicast timestamp requests ignored
Input histogram:
echo reply: 10
echo: 58
58 message responses generated
0 invalid return addresses
0 no return routes
ICMP address mask responses are disabled
igmp:
0 messages received
0 messages received with too few bytes
0 messages received with bad checksum
0 membership queries received
0 membership queries received with invalid field(s)
0 membership reports received
0 membership reports received with invalid field(s)
0 membership reports received for groups to which we belong
0 membership reports sent
600/672/6016 mbufs in use (current/peak/max):
600 mbufs allocated to data
512/564/1504 mbuf clusters in use (current/peak/max)
1296 Kbytes allocated to network (28% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
[root@wally /usr/src/sys/i386/conf]
Could it help ?
> > Currently, this is the output. I don't have one when it happen. I will
> > try to provide one.
> >
> > [root@wally ~] netstat -m
> > 514/608/6016 mbufs in use (current/peak/max):
> > 514 mbufs allocated to data
> > 512/584/1504 mbuf clusters in use (current/peak/max)
> > 1320 Kbytes allocated to network (29% of mb_map in use)
> > 0 requests for memory denied
> > 0 requests for memory delayed
> > 0 calls to protocol drain routines
> > [root@wally ~]
> >
> > Is this the mb_map ?
> >
> > >
> > >Any hints about mbuf exchaustion in the output of "netstat -m" ?
> > >
>
>It looks ok :/
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-net" in the body of the message
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F1375UWgP1A83xiDd9D000157ef>
