From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 13 Apr 2009 08:00:09 -0700 From: Stephen Hemminger Message-ID: <20090413080009.034a5e7f@nehalam> In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Bridge] Out of memory problem List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Tekale Sharad-FHJN78 Cc: bridge@lists.linux-foundation.org On Mon, 13 Apr 2009 16:58:20 +0800 "Tekale Sharad-FHJN78" wrote: > Hi, I'm using linux 2.6.21.5 and our kernel is freeze. > > The problem is, if I create a Software bridge using $brctl command. and > add two interfaces say, eth0.0 and eth0.1 using > > $brctl addbr br-lan > $brctl addif br-lan eth0.0 > $brctl addif br-lan eth0.1 > > and when i send traffic from a host connected to one port to host > connected at other end, soon all the memory is dried up and and kernel > crashes, > then oom-killer gets invoked which kills all the processes finally > system reboots. > > Can any one help me to refer to some patch or point some location in > code from where memory is failed to deallocate. > > Thanks, > Sharad. Most likely, you have created a loop and are not running spanning tree. When a loop happens, packets multiply until all resources are exhausted.