From owner-freebsd-current@FreeBSD.ORG Sun Oct 7 23:13:22 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B833416A421 for ; Sun, 7 Oct 2007 23:13:22 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mx1.freebsd.org (Postfix) with ESMTP id 3FBE913C45B for ; Sun, 7 Oct 2007 23:13:21 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.14.1/8.14.1) with ESMTP id l97NCrO8074361; Mon, 8 Oct 2007 09:12:53 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.14.1/8.14.1/Submit) id l97NCqgC074360; Mon, 8 Oct 2007 09:12:52 +1000 (EST) (envelope-from peter) Date: Mon, 8 Oct 2007 09:12:52 +1000 From: Peter Jeremy To: Rolf Witt Message-ID: <20071007231252.GI74080@turion.vk2pj.dyndns.org> References: <47090D1F.2090502@donut.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline In-Reply-To: <47090D1F.2090502@donut.de> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-current@freebsd.org Subject: Re: Question about netstat -s output (xx discarded due to memory problems) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Oct 2007 23:13:22 -0000 --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-Oct-07 18:45:19 +0200, Rolf Witt wrote: >which is the exact cause of: "46 discarded due to memory problems" >(section tcp) in a netstat -s output? Looking at the source, this is tcps_rcvmemdrop - which is incremented in sys/netinet/tcp_reass.c:tcp_reass() when either: - A segment is dropped to prevent the TCP reassembly queue getting too large (this will also increment net.inet.tcp.reass.overflows) - A new queue entry can't be allocated because tcp_reass_zone is full. >Since the Sourcen of in the middle of Septembers see I there values >greater than zero. This implies you are receiving excessive out-of-order packets - which is undesirable but not under your control. --=20 Peter Jeremy --6c2NcOVqGQ03X4Wi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHCWf0/opHv/APuIcRAuL7AJ4kczSplTxug+e1fdmm2EkWqBL0XwCguGu4 41CJaoYnaMwhhnReveffu10= =+NHp -----END PGP SIGNATURE----- --6c2NcOVqGQ03X4Wi--