[ovs-dev] [PATCH] ovsdb-server: Add limitation for ovsdb-server remotes

wangyunjian wangyunjian at huawei.com
Mon Jan 11 13:27:07 UTC 2021


> -----Original Message-----
> From: Ilya Maximets [mailto:i.maximets at ovn.org]
> Sent: Monday, January 11, 2021 8:40 PM
> To: wangyunjian <wangyunjian at huawei.com>; dev at openvswitch.org
> Cc: i.maximets at ovn.org; Lilijun (Jerry) <jerry.lilijun at huawei.com>; xudingke
> <xudingke at huawei.com>; chenchanghu <chenchanghu at huawei.com>
> Subject: Re: [ovs-dev] [PATCH] ovsdb-server: Add limitation for ovsdb-server
> remotes
> 
> On 12/22/20 12:31 PM, wangyunjian wrote:
> > From: Yunjian Wang <wangyunjian at huawei.com>
> >
> > Currently there is no limit to add ovsdb-server remotes, which will
> > cause all FDs maybe be consumed when we always call
> > ovsdb_server_add_remote() function. And as a result, other connections
> > cannot be created. To fix this issue, we can add limitation for
> > ovsdb-server remotes. It's limited to 64, witch is just an empirical
> > value.
> 
> Hi.  Why do you need so many remotes?
> And why not removing ones that you don't need?

This issue is caused by pressure tests. The remotes are
continuously created. The ovsdb-server service is abnormal
and cannot be recovered.

Thanks,
Yunjian

> 
> Best regards, Ilya Maximets.


More information about the dev mailing list