In our environment when applied this patch can solve this problem. For the root 
cause we are still analyzing, can you help us?
Through our analysis, we suspect that when the ovs-vsctl cmd (ex: ovs-vsctl 
list interface) sticking, but unix socket link still exists. At this time if 
the ovsdb data updated, it will continue to send the updated data to ovs-vsctl. 
Resulting in continuous allocate rpc, but these rpcs cannot be released.

BR.
Zeng Ganghui
Huawei Technologies Co., Ltd.

-----Original Message-----
From: Ben Pfaff [mailto:[email protected]] 
Sent: Sunday, August 27, 2017 6:33 AM
To: zengganghui
Cc: [email protected]
Subject: Re: [PATCH] fix ovsdb-server memory growth issues when ovs-vsctl cmd 
stucking.

On Sat, Aug 26, 2017 at 07:44:53PM +0800, ZengGanghui wrote:
> When rpc sends message failed with return EAGIN, it will try to send again 
> unlimitly.
> Finally, the memory of ovsdb-server will grow infinitly.
> 
> Signed-off-by: ZengGanghui <[email protected]>

This patch doesn't make sense to me.  A failed stream send should not use 
memory.  Can you explain the problem and why this solves it?
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to