Re: Slow OOM in netif_RX function

2008-02-05 Thread Ivan Mitev
[(the other) Ivan took a few days holidays, so I'm replacing him for this issue.] Andi, you spotted it, it was really the start of an IP header, and it shows up that these are ESP packets for a quite complicated VPN tunnel we have (re-routing packets from an office to another, with some NAT

Re: Slow OOM in netif_RX function

2008-02-04 Thread Andi Kleen
> Nothing that looks like a struct net_device. All the dumped leaked slab > look the same until "45 20 05 d8" (the ascii 'E' on the 3rd line). 45 ... is often the start of an IP header (IPv4, 5*4=20 bytes length) You could dump them to a file (e.g. using a sial script) and then look at them with

Re: Slow OOM in netif_RX function

2008-02-04 Thread Ivan Dichev
Hi, Thanks again for your help... Here's more debug info (long email !): We installed crash, compiled a kernel with debug symbols, dumped all the allocated size-2048 slabs, waited some time, and re-dumped them. Then we compared both dumps: we assumed that slab dumps which were not modified could

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 Andi Kleen
On Fri, Feb 01, 2008 at 02:51:40PM +0200, Ivan Dichev wrote: > Arnaldo Carvalho de Melo wrote: > > Em Fri, Jan 25, 2008 at 02:21:08PM +0100, Andi Kleen escreveu: > > > >> "Ivan H. Dichev" <[EMAIL PROTECTED]> writes: > >> > >>> What could happen if I put different Lan card in every slot? > >

Re: Slow OOM in netif_RX function

2008-02-01 Thread Eric Dumazet
Ivan Dichev a écrit : Arnaldo Carvalho de Melo wrote: Em Fri, Jan 25, 2008 at 02:21:08PM +0100, Andi Kleen escreveu: "Ivan H. Dichev" <[EMAIL PROTECTED]> writes: What could happen if I put different Lan card in every slot? In ex. to-private -> 3com to-inet-> VI

Re: Slow OOM in netif_RX function

2008-02-01 Thread Ivan Dichev
Arnaldo Carvalho de Melo wrote: > Em Fri, Jan 25, 2008 at 02:21:08PM +0100, Andi Kleen escreveu: > >> "Ivan H. Dichev" <[EMAIL PROTECTED]> writes: >> >>> What could happen if I put different Lan card in every slot? >>> In ex. to-private -> 3com >>> to-inet-> VIA >>> to-dmz

Re: Slow OOM in netif_RX function

2008-01-25 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 25, 2008 at 02:21:08PM +0100, Andi Kleen escreveu: > "Ivan H. Dichev" <[EMAIL PROTECTED]> writes: > > > > What could happen if I put different Lan card in every slot? > > In ex. to-private -> 3com > > to-inet-> VIA > > to-dmz -> rtl8139 > > And then to look which RX

Re: Slow OOM in netif_RX function

2008-01-25 Thread Andi Kleen
"Ivan H. Dichev" <[EMAIL PROTECTED]> writes: > > What could happen if I put different Lan card in every slot? > In ex. to-private -> 3com > to-inet-> VIA > to-dmz -> rtl8139 > And then to look which RX function is consuming the memory. > (boomerang_rx, rtl8139_rx, ... etc) The

Re: Slow OOM in netif_RX function

2008-01-24 Thread Francois Romieu
Ivan H. Dichev <[EMAIL PROTECTED]> : [...] > Any other ideas appreciated. Plot the slab values and the counters of the iptables rules against time ? -- Ueimor -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info a

Slow OOM in netif_RX function

2008-01-24 Thread Ivan H. Dichev
Eric Dumazet writes: Ivan Dichev a écrit : 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 /

Re: Slow OOM in netif_RX function

2008-01-24 Thread Eric Dumazet
Ivan Dichev a écrit : 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 tha

Re: Slow OOM in netif_RX function

2008-01-24 Thread Stephen Hemminger
On Thu, 24 Jan 2008 19:28:09 +0200 Ivan Dichev <[EMAIL PROTECTED]> wrote: > 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 > afte

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