All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pasi Kärkkäinen" <pasik@iki.fi>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>,
	Stephen Hemminger <stephen@networkplumber.org>,
	netdev@vger.kernel.org
Subject: Re: Linux 3.6.x kernel crash in tcp_slow_start / bictcp_cong_avoid with wfica
Date: Thu, 24 Jan 2013 08:59:08 +0200	[thread overview]
Message-ID: <20130124065908.GG8912@reaktio.net> (raw)
In-Reply-To: <1358984831.12374.1227.camel@edumazet-glaptop>

On Wed, Jan 23, 2013 at 03:47:11PM -0800, Eric Dumazet wrote:
> On Thu, 2013-01-24 at 00:41 +0100, Hannes Frederic Sowa wrote:
> > On Wed, Jan 23, 2013 at 03:26:42PM -0800, Stephen Hemminger wrote:
> > > I see no problems when using Citrix.
> > > This is a normal strace of the program wifca (in idle loop)
> > 
> > Thanks, could you also have a look at setsockopts while socket creation and
> > connection establishment?
> 
> As I said, tp->snd_cwnd is set to 0 by a bug in TCP stack.
> 
> Probably a combination of changed sysctls, and a genuine bug.
> 
> Please give us /etc/sysctl.conf content.
> 

This is my /etc/sysctl.conf contents:


net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1

net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0

vm.min_free_kbytes = 131072
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.core.wmem_default = 262144
net.core.rmem_default = 262144
net.ipv4.tcp_rmem = 4096 262144 16777216
net.ipv4.tcp_wmem = 4096 262144 16777216


> Adding some BUG_ON(!tp->snd_cwnd) on every writes to tp->snd_cwnd should
> catch the bug.
> 

Hmm, I think I'll try this..


-- Pasi
 

  reply	other threads:[~2013-01-24  6:59 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-23 16:12 Linux 3.6.x kernel crash in tcp_slow_start / bictcp_cong_avoid with wfica Pasi Kärkkäinen
2013-01-23 21:44 ` Hannes Frederic Sowa
2013-01-23 21:51   ` Pasi Kärkkäinen
2013-01-23 22:00     ` Hannes Frederic Sowa
2013-01-24  7:14       ` Pasi Kärkkäinen
2013-01-23 22:25     ` Eric Dumazet
2013-01-23 23:26     ` Stephen Hemminger
2013-01-23 23:41       ` Hannes Frederic Sowa
2013-01-23 23:47         ` Eric Dumazet
2013-01-24  6:59           ` Pasi Kärkkäinen [this message]
2013-01-24 13:51           ` Hannes Frederic Sowa
2013-02-02  3:51             ` Eric Dumazet
2013-02-02 14:28               ` Pasi Kärkkäinen
2013-02-02 15:14                 ` [PATCH] tcp: tcp_process_frto() should not set snd_cwnd to 0 Eric Dumazet
2013-02-02 15:57                   ` Neal Cardwell
2013-02-02 17:32                     ` Eric Dumazet
2013-02-03 19:13                       ` [PATCH] tcp: frto " Eric Dumazet
2013-02-03 21:01                         ` David Miller
2013-02-04 12:14                         ` Ilpo Järvinen
2013-02-04 15:07                           ` Eric Dumazet
2013-02-05 19:44                             ` Eric Dumazet
2013-02-05 19:49                           ` Neal Cardwell
2013-02-06 20:55                             ` David Miller
2013-02-06 21:13                               ` Pasi Kärkkäinen
2013-02-06 21:19                                 ` David Miller
2013-02-06 21:21                                   ` Pasi Kärkkäinen
2013-02-02 15:23                 ` [PATCH] tcp: fix an infinite loop in tcp_slow_start() Eric Dumazet
2013-02-03 21:01                   ` David Miller

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=20130124065908.GG8912@reaktio.net \
    --to=pasik@iki.fi \
    --cc=eric.dumazet@gmail.com \
    --cc=hannes@stressinduktion.org \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.