From: Stephen Hemminger <shemminger@vyatta.com>
To: Tekale Sharad-FHJN78 <FHJN78@motorola.com>
Cc: bridge@lists.linux-foundation.org
Subject: Re: [Bridge] Out of memory problem
Date: Mon, 13 Apr 2009 23:04:31 -0700 [thread overview]
Message-ID: <20090413230431.50d58d61@nehalam> (raw)
In-Reply-To: <E9E3926FA9CDBF489EA1684042C8A026012DBC38@zmy16exm72.ds.mot.com>
On Tue, 14 Apr 2009 13:21:13 +0800
"Tekale Sharad-FHJN78" <FHJN78@motorola.com> wrote:
>
>
> Hi Stephen
> > Most likely, you have created a loop and are not running spanning
> tree. When a loop happens, packets multiply until all > resources are
> exhausted.
>
> > you have created a loop.
> Ya, I have bridge named br-lan created by($brctl), and I have attached
> two interfaces to it, and I'm sending traffic from PC1 to PC2. Some
> thing like this
>
> -----------------------
> | ------------ |
> | | br-lan | | <--- AP
> | ------------ |
> | eth0.0 eth0.1 |
> ----|------------|-----
>
> | |
> | |
> PC1 PC2
>
> Previously:
> root@none:/$ brctl show
> bridge name bridge id STP enabled interfaces
> br-lan 8000.001570d8d8fd no eth0.0
> eth0.1
>
> >are not running spanning tree.
> Is it always necessary to enable spanning tree when traffic is sent over
> loop?
>
> I have enabled spanning tree using
>
> root@none:/$ brctl stp br-lan on
> root@none:/$ brctl show
> bridge name bridge id STP enabled interfaces
> br-lan 8000.001570d8d8fd yes eth0.0
> eth0.1
>
> But again, when huge traffic is pumped from PC1 to PC2, The
> skbuff_head_cache value is increased rapidly and even after stop pumping
> the traffic, this value doesn't come down, and system goes for crash or
> reboot because of out of memory.
>
> root@none:/$ cat /proc/slabinfo | grep skbuff_head
> skbuff_head_cache 4560 4560 192 20 1 : tunables 120 60
> 0 : slabdata 228 228 0
>
> One more point, say I have each port attached to there own bridge, and
> when I route traffic from one host to other, I'll not face this
> behavior, This behavior is relevant only in above case.
>
> Do I have to do any other setting to overcome out of memory problem?
> Also, Please let me know if any other information is required to isolate
> this behavior.
What network device driver, that is probably the problem?
next prev parent reply other threads:[~2009-04-14 6:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-13 8:58 [Bridge] Out of memory problem Tekale Sharad-FHJN78
2009-04-13 15:00 ` Stephen Hemminger
2009-04-14 5:21 ` Tekale Sharad-FHJN78
2009-04-14 6:04 ` Stephen Hemminger [this message]
2009-04-14 6:10 ` Tekale Sharad-FHJN78
2009-04-14 15:08 ` Stephen Hemminger
2009-04-14 15:14 ` Tekale Sharad-FHJN78
-- strict thread matches above, loose matches on Subject: below --
2009-04-09 9:46 Tekale Sharad-FHJN78
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=20090413230431.50d58d61@nehalam \
--to=shemminger@vyatta.com \
--cc=FHJN78@motorola.com \
--cc=bridge@lists.linux-foundation.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