Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Oct 2007 09:12:52 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Rolf Witt <fbsd-st@donut.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Question about netstat -s output (xx discarded due to memory problems)
Message-ID:  <20071007231252.GI74080@turion.vk2pj.dyndns.org>
In-Reply-To: <47090D1F.2090502@donut.de>
References:  <47090D1F.2090502@donut.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <fbsd-st@donut.de> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071007231252.GI74080>