All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolas Cannasse <ncannasse@motion-twin.com>
To: swivel@shells.gnugeneration.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: poll() blocked / packets not received ?
Date: Mon, 20 Oct 2008 14:39:10 +0200	[thread overview]
Message-ID: <48FC7BEE.1020701@motion-twin.com> (raw)
In-Reply-To: <20081020113942.GJ2811@fc6222126.aspadmin.net>

> TCP being reliable can block indefinitely, you can employ TCP keepalive
> to change indefinite to quite a long time.

Ok, funny thing is that we just found what is occurring...

We had a process that was on a regular basis doing the following :

conntrack -F

This was done in order to prevent the table to grow too big, because we 
were reaching the maximum size as told by :

/proc/sys/net/ipv4/netfilter/ip_conntrack_max
   and
/proc/sys/net/ipv4/netfilter/ip_conntrack_count

Seems like when there are active connections, this will break netfilter 
and stop delivering packets to the socket.

At least I will have nice sleep tonight.

Best,
Nicolas

  parent reply	other threads:[~2008-10-20 12:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-20  8:25 poll() blocked / packets not received ? Nicolas Cannasse
2008-10-20 10:15 ` swivel
2008-10-20 10:46   ` Nicolas Cannasse
2008-10-20 11:39     ` swivel
2008-10-20 12:13       ` Nicolas Cannasse
2008-10-20 12:39       ` Nicolas Cannasse [this message]
2008-10-20 15:53         ` David Schwartz
2008-10-20 17:24           ` Nicolas Cannasse
2008-10-20 23:21             ` David Schwartz
2008-10-21  5:12             ` Willy Tarreau

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=48FC7BEE.1020701@motion-twin.com \
    --to=ncannasse@motion-twin.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=swivel@shells.gnugeneration.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 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.