From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Liu Subject: Re: [PATCH v3] tools/xenconsoled: Increase file descriptor limit Date: Thu, 19 Feb 2015 11:04:57 +0000 Message-ID: <20150219110457.GQ2159@zion.uk.xensource.com> References: <20150217164811.GI2159@zion.uk.xensource.com> <1424195752-10842-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1424195752-10842-1-git-send-email-andrew.cooper3@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Wei Liu , Ian Jackson , Ian Campbell , Xen-devel List-Id: xen-devel@lists.xenproject.org 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.) > > One solution is to use LimitNOFILE=4096 in xenconsoled.service to match the > lost ulimit, but that is 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. > > Signed-off-by: Andrew Cooper > CC: Ian Campbell > CC: Ian Jackson > CC: Wei Liu Acked-by: Wei Liu