[Bridge] br: memory squeeze!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stephen Hemminger wrote:
> On Wed, 21 Apr 2004 12:00:07 -0500
> TC Hough <tchough@xxxxxxxxxxxxx> wrote:
> 
> 
>>I set up a bridge for my network and I'm having some trouble.  At first 
>>everything worked great, but after about 3 days of continuous bridging, 
>>my bridge machine died.  Approximately once a second, the message: "br: 
>>memory squeeze!" would appear on the console.  Keyboard input was mostly 
>>frozen, as well.  I could switch virtual consoles, but I couldn't type.  
>>No traffic would pass through the bridge.  When I rebooted, everything 
>>seemed fine.
> 
> 
> 
> You have a memory leak in the kernel. What kernel and distro are you
> using.  Also, what kind of NIC's and other interfaces (tun, ppp, etc).
> 
> Also, what is the state of the bridge?	br showstp br0
> and the forwarding table?	br showmacs br0

I agree it is probably a memory leak, but it is *possible* to get this
error if you just run out of available memory.  I have been able to
reproduce this type of error by setting my send/receive packet socket
buffers very high and then flooding 200 connections with traffic, for example.
(I had a 256MB RAM machine)

You might want to make sure that your netdev-backlog settings are not too
big, for example.

Thanks,
Ben

-- 
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com



[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux