[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 2/2] tools/xenstore: set open file descriptor limit for xenstored


  • To: Juergen Gross <jgross@xxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Mon, 27 Sep 2021 15:13:35 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=tlVgqlUaCwykdxCPmHzNbthKGv0kqdLyw1pCdry7ZAU=; b=GPxTxGprj5UqSTB6Ik78QfGhA9c6BJR1j+FDpe4tj7YGrDZ5Ndfgbe4MuipDczKS/NsfUfAk4cwuKHomF3vxfWYL9R2RWC8oHcgcKKCgWH3cjezUscM0OGW+Dmz6Aef4we+Ge0Z+K4xd4/jq50f5HTOR8T8orisw20wsJ/3Y6KSm0q9sRnfV5frlxeIRGbeNq+mtLKLGY5T8ICDXXbJurx1OsIl9s2OMpTZIj6qrb/eEp6D3RNBaGYktkQi0OHoR64UhsVEC+mLeD7+We6YIYdV6q8wTvA68SLrZhQquJceYQn/AJsndd873Fioo++8eWTHvikwsHLMQ+/5Wu2g5nQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CY9UD5M/WlEmMf6dvno5ysP8IH8eKCxL0eFympj4KD7J5dbzG2sR+TMviL0ltai0i0rb4l4xSSn6J3weVPnkxSS4XXOJYHfyCNShLv4b6nLFDfPyUGwtZGF/gGzvoYneN/AlRRbJNWlMQEy+HdD6W67Gj9fiAGG1GgrHrXC+nvRIwxcvo6q536FEXY8f7lpcg1dum2RhqBQJ3EwlLEkVr/j0qbXYGx07Qt2dDR2VWpCUcf8KKbLsi9iqGtIS74EQQt0QHbURjISdP09D5hh1vMM5HWl3anXf7vAZ3YWg8UfCsP3DKA0eLfO5PxjlCi6DJvbrQfXr+QgT5sURZuNUXQ==
  • Authentication-results: esa4.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: Ian Jackson <iwj@xxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Mon, 27 Sep 2021 14:14:24 +0000
  • Ironport-data: A9a23:r8ZRzqPxL2puu7PvrR1UkMFynXyQoLVcMsEvi/4bfWQNrUp23jxWn DRJCGGHbqmNYTSneNh/OYrlp0oO7MOEyN9gQQto+SlhQUwRpJueD7x1DKtR0wB+jCHnZBg6h ynLQoCYdKjYdpJYz/uUGuCJQUNUjMlkfZKhTr6ZUsxNbVU8En552Eg8w7dRbrNA2rBVPSvc4 bsenOWHULOV82Yc3rU8sv/rRLtH5ZweiRtA1rAMTakjUGz2zhH5OKk3N6CpR0YUd6EPdgKMq 0Qv+5nilo/R109F5tpICd8XeGVSKlLZFVDmZna7x8FOK/WNz8A/+v9TCRYSVatYo2W0x81Y4 t5OjKKhEEAGPfTWltUdUAYNRkmSPYUekFPGCX22sMjVxEzaaXr8hf5pCSnaP6VBpLwxWzsXs 6VFdnZdNXhvhMrvqF6/YsBqit4uM4/AO4QHt2s75TrYEewnUdbIRKCiCdpwgWpt3ZsXQK62i 8wxMgo1YkvHfDp0OBQrCNFjwrauqmCjWmgNwL6SjfVuuDWCpOBr65D9PdyQdtGUSMF9mkeDu nmA72n/GgsdNtGU1XyC6H3Eru3AhyTgQ6oJCaa1sPVthTW72Wg7GBAQE1yhrpGRi1G8c8JSL VQO/SgjprR081akJuQRRDXh/iTC5ERFHYMNTatqs2lh15Y4/S7JOzAZZxRKa+UYpZZxaj9zz FG4n9D2UGkHXKKudVqR8bKdrDWXMCcTLHMfaSJscTbp8+UPs6lp0EuQH48L/Lqdy42tQG6sk 1hmuQBk390uYdg3O7JXF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8FGbCAoqh4mAdzQ4dtmGg+eOuIPtYBYACRJiwA6SjQmw4Lq/NxSDxB8RXx5G3L9nqA H+4kPEz5Tml8v+5g7X1mfV4ZgTsNz9yuFbDMjJrsQOMD3jhiuheYwkcbyfuzIepv2p9T8R4Z XxiiZlG/42x2Laf2mzrxeo8w780Aw243un8lOciWuLm72weBsKT+56wa5JeBrQ7EQt+Ptm1r hQ4m6fv51LSTvdgSXU/bHzJlFXv3vxhUBnvf8YjnRZX4dbQqRWt5Yj8ERcF4pFND7m6bogDP JlAKjnlbdrmGuhHjLkV1RUsZmRtixZJGbDfqFCgL3a79FupgE786NCr/Zv2Uvp9/oGOtB5Dq r/Q+JVfYp1P7orhJRGdZE8qPuMex7wqC33QRavyHTcZeo60iH22tTKCItc3pDcRHVP9upqpK j8
  • Ironport-sdr: EpbPAmmryCrun1GMsck/hO0TaDRfQsfSjxwTo0Jkuc7IAyNV5AI14z+Ts+PpJ3h/M+yLCXwUoe L8XtiUlsh185UQ7m4T8HLIFxHzIPkUqHYqTLLKARvp0iIIeek/pV3dgbclmqj7yQ/6ktIDPbJI upi00q1+XfOD1LaKdPoT0dM5xVMkJXkSKx0VK0byUiRIUIxF43H/L2aTra0E/U4xOZKP4As4qT yoz//A3dST+nzrFRWQpYF70Fp0vbjRDkNEErEGdyMSwTu89ffPKWYXJvloHnRuhBXXITTNHBmq Thvgojj3flYVmDzsllBwjvEg
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 27/09/2021 11:48, Juergen Gross wrote:
> Add a configuration item for the maximum number of open file
> descriptors xenstored should be allowed to have.
>
> The default should be "unlimited" in order not to restrict xenstored
> in the number of domains it can support, but unfortunately the prlimit
> command requires specification of a real value for the number of files,
> so use 262144 as the default value.

Citation needed.

prlimit -nunlimited

prlimit --nofile=unlimited

both work fine, and strace confirms they issue correct system calls.

Support for "unlimited" as a parameter has existed for the entire
lifetime of the utility,
https://github.com/karelzak/util-linux/commit/6bac2825af7216c5471148e219dbcf62ec5ede84

~Andrew




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.