Re: Question about netstat -s output (xx discarded due to memory problems)

From: Peter Jeremy <peterjeremy_at_optushome.com.au>
Date: Mon, 8 Oct 2007 09:12:52 +1000
On 2007-Oct-07 18:45:19 +0200, Rolf Witt <fbsd-st_at_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.

-- 
Peter Jeremy

Received on Sun Oct 07 2007 - 21:13:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:19 UTC