|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v3 2/2] tools/xenstore: set open file descriptor limit for xenstored
Juergen Gross writes ("Re: [PATCH v3 2/2] tools/xenstore: set open file
descriptor limit for xenstored"):
> On 31.08.21 16:22, Ian Jackson wrote:
> > ISTM that the following scheme is in the intersection of everyone's
> > requirements:
> >
> > * The limit will be adjusted/imposed in the startup script.
> > * An /etc/{default,sysconfig} parameter will be provided to
> > adjust the setting.
> > * The default should be `unlimtied` since we cannot calculate
> > a safe upper bound for all configurations.
> > * Systems like Citrix Hypervisor (XenServer) which can calculate
> > a safe upper bound can do so, and adjust the default, enabling
> > them to spot fd leaks.
>
> Makes sense for me.
>
> So this would mean:
> - the sysconfig parameter will no longer be "number of domains", but the
> fd limit of the Xenstore daemon
> - default should be "unlimited"
> - the comment should mention the current number of fds needed per domain
> (5 for HVM, 2 for PV/PVH) plus some headroom in dom0 (without any
> guest running on my test system 21 fds are active, so I guess a value
> of 50 seems appropriate)
>
> Is this okay?
Sounds good to me, thanks.
Ian.
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |