mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* nf_conntrack: table full
@ 2014-04-01 20:41 Pietro Paolini
  2014-04-03 13:51 ` /proc/kmalloc Pietro Paolini
  0 siblings, 1 reply; 2+ messages in thread
From: Pietro Paolini @ 2014-04-01 20:41 UTC (permalink / raw)
  To: linux-kernel

Hello,
I am doing some investigation regarding an error I am experiencing 
using my linux embedded device as router in my home network.

If I try to push the number the connections to around 20K I will se a 
lot of messages from the kernel saying :

nf_conntrack: table full, dropping packet.                              

nf_conntrack: table full, dropping packet.                              

nf_conntrack: table full, dropping packet.                              

nf_conntrack: table full, dropping packet.                              

nf_conntrack: table full, dropping packet.                              

nf_conntrack: table full, dropping packet.                              

nf_conntrack: table full, dropping packet.

Actually this is fine for me since the number of allowed conntrack is 
/proc/sys/net/netfilter/nf_conntrack_max  is around 7844, the
strange thing is that the device will reboot after a while - actually 
my watchdog reboots the device since is not able to allocate memory -
I have a try with slabtop running and I have seen that  but monitoring 
the /proc/slabinfo:
3968 nf_conntrack_c0d4eacc
4392 size-8192
6360 skbuff_head_cache
15356 size-4096
31808 size-1024

Well size-1024 is quite high, do you know where is that from and how is 
that related to the packets coming in ? Even point me at the right
folder in the source code could be great since I am really lost here.

Thanks in advance,
Pietro.

"And therefore never send to know for whom the bell tolls"
pulsarpietro@aol.com

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

* /proc/kmalloc
  2014-04-01 20:41 nf_conntrack: table full Pietro Paolini
@ 2014-04-03 13:51 ` Pietro Paolini
  0 siblings, 0 replies; 2+ messages in thread
From: Pietro Paolini @ 2014-04-03 13:51 UTC (permalink / raw)
  To: linux-kernel

Hello everyone,

I have read here  - http://lwn.net/Articles/124374/ - a way to debug 
the kmalloc allocation() and free() which are performed in my system, 
that patch could really help me in solving a problem I am facing. By 
the way that patch does not work for my kernel and I can see that 
sources
are really different, I am using 2.6.33.5, is that patch provided for 
that version as well or do we have similar ways to achieve the same 
result  ?


Thanks in advance,
Pietro.



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

end of thread, other threads:[~2014-04-03 13:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-01 20:41 nf_conntrack: table full Pietro Paolini
2014-04-03 13:51 ` /proc/kmalloc Pietro Paolini

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®