From: Ivan Mitev <imitev@obs.bg>
To: Andi Kleen <andi@firstfloor.org>
Cc: Ivan Dichev <idichev@obs.bg>, Eric Dumazet <dada1@cosmosbay.com>,
Arnaldo Carvalho de Melo <acme@redhat.com>,
netdev@vger.kernel.org
Subject: Re: Slow OOM in netif_RX function
Date: Tue, 05 Feb 2008 11:04:15 +0200 [thread overview]
Message-ID: <47A8268F.6020301@obs.bg> (raw)
In-Reply-To: <20080204155526.GA7988@one.firstfloor.org>
[(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 on
top of that). So openswan/ipsec.ko seems to be the problem here, I will
file a bug report there. Meanwhile we'll try to set up manual keying and
decrypt the encrypted payload to gather more details on the packets.
My apologies, the issue seems to be with an out-of-tree module, but we
really didn't think the problem was there (there's no correlation
between the leak increase and vpn/ike traffic). But it was interesting
to understand slabs, learn how to setup/use crash, and analyze memory
bits :)
Thanks again to all the people who helped !
Ivan Mitev
Andi Kleen wrote:
>> 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 tcpdump or similar to get an idea what kinds
> of packets they are.
>
> -Andi
>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2008-02-05 9:32 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-24 17:28 Slow OOM in netif_RX function Ivan Dichev
2008-01-24 18:29 ` Stephen Hemminger
2008-01-24 19:12 ` Eric Dumazet
2008-01-24 21:18 ` Ivan H. Dichev
2008-01-24 21:51 ` Francois Romieu
2008-01-25 13:21 ` Andi Kleen
2008-01-25 14:12 ` Arnaldo Carvalho de Melo
2008-02-01 12:51 ` Ivan Dichev
2008-02-01 13:16 ` Eric Dumazet
2008-02-01 15:38 ` Ivan Dichev
2008-02-04 14:54 ` Ivan Dichev
2008-02-04 15:55 ` Andi Kleen
2008-02-05 9:04 ` Ivan Mitev [this message]
2008-02-01 14:29 ` Andi Kleen
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=47A8268F.6020301@obs.bg \
--to=imitev@obs.bg \
--cc=acme@redhat.com \
--cc=andi@firstfloor.org \
--cc=dada1@cosmosbay.com \
--cc=idichev@obs.bg \
--cc=netdev@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;
as well as URLs for NNTP newsgroup(s).