[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3] tools/xenconsoled: Increase file descriptor limit
Wei Liu writes ("Re: [PATCH v3] tools/xenconsoled: Increase file descriptor limit"): > On Tue, Feb 17, 2015 at 05:55:52PM +0000, Andrew Cooper wrote: > > XenServer's VM density testing uncovered a regression when moving from > > sysvinit to systemd where the file descriptor limit dropped from 4096 to > > 1024. (XenServer had previously inserted a ulimit statement into its > > initscripts.) I think that putting something like this in the initscripts is a good idea. I don't like the idea of this kind of resource limit mangling (quite vigorous, too!) being buried in the C code. > > One solution is to use LimitNOFILE=4096 in xenconsoled.service to match the > > lost ulimit, but that is only a stopgap solution. Why is this only a stopgap solution ? > > As Xenconsoled genuinely needs a large number of file descriptors > > if a large number of domains are running, and is well behaved with > > its descriptors, attempt to up the limit to the system maximum. Perhaps you mean it should be "unlimited" but that doesn't seem right either. The value should be some multiple of the maximum number of domains. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |