Hi,

We are testing on kernel 3.18, ovs current master, gre tunnels / xen server. Following python script leads to fast ovs-vswitchd memory grow (1GB / minute) and finally OOM kill:


import random, socket, struct, time
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
while True:
    ip_raw = struct.pack('>I', random.randint(1, 0xffffffff))
    ip = socket.inet_ntoa(ip_raw)
    try:
        sock.sendto("123", (ip, 12345))
    except:
        pass
    #time.sleep(0.001)


During this test ovs did not show growing flow number, but memory still grows.

If packets are sent too slow, then memory never grows - uncomment time.sleep line above.

Best,
Adam
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to