[ovs-discuss] OVS 2.3 udp flood - vswitchd OOM

Alex Wang alexw at nicira.com
Tue Dec 2 22:24:45 UTC 2014


Hey Adam,

Besides the questions just asked,

On Tue, Dec 2, 2014 at 1:11 PM, Alex Wang <alexw at nicira.com> wrote:

> Hey Adam,
>
> Did you use any trick to avoid the arp resolution?
>
> Running your script on my setup causes only arp pkts sent,
>
> Also, there is no change of mem util of ovs.
>
> One more thing, did you see the issue without tunnel?
> This very recent commit fixes some issue about tunneling,
> Could you try again with it?
>
> commit b772066ffd066d59d9ebce092f6665150723d2ad
> Author: Pravin B Shelar <pshelar at nicira.com>
> Date:   Wed Nov 26 11:27:05 2014 -0800
>
>     route-table: Remove Unregister.
>
>     Since dpif registering for routing table at initialization
>     there is no need to unregister it. Following patch removes
>     support for turning routing table notifications on and off.
>     Due to this change OVS always listens for these
>     notifications.
>
>     Reported-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
>     Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
>     Acked-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
>
>


 Want to ask more questions to help debug:

1. Could you post the 'ovs-vsctl show' output on the xenserver?

2. could you post the 'ovs-dpctl dump-flows' output during the run of
script?

3. if oom is activated, you should see the oom log from syslog or dmeg
output, could you provide it?

4. could you provide the route output on the hypervisor


Thanks,
Alex Wang,





> Thanks,
> Alex Wang,
>
> On Mon, Dec 1, 2014 at 2:43 AM, Adam Mazur <adam.mazur at tiktalik.com>
> wrote:
>
>> 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 at openvswitch.org
>> http://openvswitch.org/mailman/listinfo/discuss
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20141202/5535cef0/attachment-0002.html>


More information about the discuss mailing list