mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kuznet@ms2.inr.ac.ru
To: magnus.walldal@b-linc.COM (Magnus Walldal)
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.1 errors under heavy network load
Date: Mon, 12 Feb 2001 23:31:17 +0300 (MSK)	[thread overview]
Message-ID: <200102122031.XAA31392@ms2.inr.ac.ru> (raw)
In-Reply-To: <HFEDLHHPHHEOBHLNPJOKMEHECAAA.magnus.walldal@b-linc.com> from "Magnus Walldal" at Feb 12, 1 08:45:07 pm

Hello!

> Then we did the following tuning attempt:

Please, cat /proc/net/tcp and /proc/net/sockstat
and send result to me (gzipped), together with /proc/sys/net/ipv4/tcp_*
values


> echo "20480" > /proc/sys/net/ipv4/tcp_max_orphans

Also, you want to increase memory allowed for TCP
echo "X/2 X/2 X" > /proc/sys/net/ipv4/tcp_mem
where X is memory in pages.

20480 is a crazy number. Valid applications cannot leave
so much of orphans. Do you understand that this is more than
80MB of wasted memory?


> echo "1" > tcp_orphan_retries

Bad idea. Default value is the lowest possible.


> echo 30 > /proc/sys/net/ipv4/tcp_keepalive_time
> echo 2 > /proc/sys/net/ipv4/tcp_keepalive_probes

Bad idea.



> Oh btw. we got what I think is a "bad one" too...
> Feb 12 16:42:35 mcquack kernel: KERNEL: assertion (tp->lost_out == 0) failed
> at tcp_input.c(1202):tcp_remove_reno_sacks

Absolutely harmless. This is debugging message.

Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://vger.kernel.org/lkml/

           reply	other threads:[~2001-02-12 20:32 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <HFEDLHHPHHEOBHLNPJOKMEHECAAA.magnus.walldal@b-linc.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200102122031.XAA31392@ms2.inr.ac.ru \
    --to=kuznet@ms2.inr.ac.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=magnus.walldal@b-linc.COM \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®