From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v6] tools/xenconsoled: Increase file descriptor limit Date: Mon, 2 Mar 2015 16:59:28 +0000 Message-ID: <1425315568.24959.14.camel@citrix.com> References: <1425306692.21151.59.camel@citrix.com> <1425308677-11437-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: In-Reply-To: <1425308677-11437-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: Xen-devel List-Id: xen-devel@lists.xenproject.org On Mon, 2015-03-02 at 15:04 +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, attempt to increase the limit. > > Signed-off-by: Andrew Cooper > Acked-by: Ian Jackson > > --- > v6: > * Fix 32bit build. (rlimit_t is an arch-specific width) Successfully applied & pushed this time, thanks.