[ovs-discuss] [ovs]deleting interfaces connnected to ports results in ovs-vswitchd memory growing

Ben Pfaff blp at nicira.com
Wed Apr 17 16:47:16 UTC 2013


On Wed, Apr 17, 2013 at 01:23:56AM +0000, pengyi Peng(Yi) wrote:
> When using ovs1.7.1, I find something strange: 
> 
>     First, I create br-0 using "ovs-vsctl add-br br-0";
> 
>     Then, I create 1000 taps with "tunctl -t tap$i" and create 1000 ovs ports connected to tap (ovs-vsctl --timeout=5 --no-wait add-port br-0 tap$i vlan_mode=access tag=0 -- set interface tap$i type=system). At this time, the memory of ovs-vswitchd is about 19MB.
> 
>     After I delete all taps at one time, the memory of ovs-vswitchd is slowly growing with the count of ports decreasing. This moment, ovs keeps printing logs as below in ovs-vswitchd log:

I see that there are some memory leak fixes in branch-1.7.  Could you
try the newest commit from that branch or, failing that, at least
upgrade to 1.7.3?

Thanks,

Ben.



More information about the discuss mailing list