Linux Netfilter discussions
 help / color / mirror / Atom feed
* nf_conntrack -> table full, dropping packet; problem with counting  sessions
@ 2009-08-27 11:13 Michał Sewera
  2009-08-29 10:22 ` Eric Leblond
  0 siblings, 1 reply; 3+ messages in thread
From: Michał Sewera @ 2009-08-27 11:13 UTC (permalink / raw)
  To: netfilter

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: nf_conntrack -> table full, dropping packet; problem with counting   sessions
  2009-08-27 11:13 nf_conntrack -> table full, dropping packet; problem with counting sessions Michał Sewera
@ 2009-08-29 10:22 ` Eric Leblond
  2009-08-31  7:52   ` Michał Sewera
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Leblond @ 2009-08-29 10:22 UTC (permalink / raw)
  To: Michał Sewera; +Cc: netfilter

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/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: nf_conntrack -> table full, dropping packet; problem with  counting sessions
  2009-08-29 10:22 ` Eric Leblond
@ 2009-08-31  7:52   ` Michał Sewera
  0 siblings, 0 replies; 3+ messages in thread
From: Michał Sewera @ 2009-08-31  7:52 UTC (permalink / raw)
  To: Eric Leblond; +Cc: netfilter

Hi,

the kernel version is linux-2.6.20. I've tryed also 2.6.23 - and the same story.

thanks
m

2009/8/29 Eric Leblond <eleblond@inl.fr>:
> 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/
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-31  7:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-27 11:13 nf_conntrack -> table full, dropping packet; problem with counting sessions Michał Sewera
2009-08-29 10:22 ` Eric Leblond
2009-08-31  7:52   ` Michał Sewera

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox