Re: Slow OOM in netif_RX function

2008-02-04 Thread Ivan Dichev
|| continue echo $i done > same_slabs extract_slabs.awk: / *\[[a-f0-9]+\] */ { beg_hex = strtonum(gensub(/ *\[([a-f0-9]+)\] */, "0x\\1", "g", $1)); printf("dump memory /home/slab_analysis/memdump/memdump-%x 0x%x 0x%x\n", beg_hex, beg_hex, beg_hex

Re: Slow OOM in netif_RX function

2008-02-01 Thread Ivan Dichev
> I understand you dont want to tell us exact firewall rules you have. > > Maybe you could post at least following infos : > > # cat /proc/slabinfo > # lsmod > I have changed slab with slub. firewall # cat /sys/slab/kmalloc-2048/alloc_calls 1 add_sect_attrs+0x57/0x120 age=20565254 pid=111

Re: Slow OOM in netif_RX function

2008-02-01 Thread Ivan Dichev
Thanks to everyone for the given ideas. I am not kernel guru so writing patch is difficult. This is a production server and it is quite difficult to debug (only at night) I removed some iptables exotics - recent , ulog, string , but no effect. Since we can reach OOM most of the memory is going to b

Slow OOM in netif_RX function

2008-01-24 Thread Ivan Dichev
Hello, I got problem with my linux router. It has slow persistent OOM problems from few months ago. Every working(I mean days when more traffic is generated) day my router is leaking with 15-20 MB memory and after 2 weeks the restart is a MUST. >From /proc/slabinfo I saw that size-2048 and size-512