From: Eric Leblond <eleblond@inl.fr>
To: "Michał Sewera" <michal.sewera@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: nf_conntrack -> table full, dropping packet; problem with counting sessions
Date: Sat, 29 Aug 2009 12:22:27 +0200 [thread overview]
Message-ID: <1251541347.31688.5.camel@ice-age> (raw)
In-Reply-To: <875a14c20908270413y3849eabdq3f1465288d024943@mail.gmail.com>
Hi,
Could you please specify your kernel version ?
BR,
Le jeudi 27 août 2009 à 13:13 +0200, Michał Sewera a écrit :
> Hi,
>
> I have a strange problem with nf_conntrack:
>
> If I will try to generate small amount of TCP sessions, (i.e. 10
> sessions), then after closing this sessions (on the client side, by
> closing application) output from:
> wc /proc/net/ip_conntrack
> and
> cat /proc/sys/net/nf_conntrack_count
>
> is the same -> so I can see the same amount of sessions tracked by nf_conntrack.
>
>
> But during testing the system with i.e. 100 new TCP sessions/sec
> (terminated to the same server), after closing the sessions output
> from wc /proc/net/ip_conntrack if correct (near 0), but all this
> sessions seems to be staying in cat /proc/sys/net/nf_conntrack_count.
>
> After exceeding the condition nf_conntrack_count < nf_conntrack_max,
> of course I am getting table full, dropping packet info in log.
>
> Some workaround is to set max value to very huge number i.e.
> 1000000000, but after some times eventually I will get the same
> problem and reebot will be required.
>
> So, if anyone from experts here will know anything about the cause of
> this problem I will be very gratefull,
>
> thanks for any support
>
> m
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Eric Leblond <eleblond@inl.fr>
INL: http://www.inl.fr/
NuFW: http://www.nufw.org/
EdenWall: http://www.edenwall.com/
next prev parent reply other threads:[~2009-08-29 10:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-27 11:13 nf_conntrack -> table full, dropping packet; problem with counting sessions Michał Sewera
2009-08-29 10:22 ` Eric Leblond [this message]
2009-08-31 7:52 ` Michał Sewera
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=1251541347.31688.5.camel@ice-age \
--to=eleblond@inl.fr \
--cc=michal.sewera@gmail.com \
--cc=netfilter@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox