[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v5 2/2] tools/xenstore: set open file descriptor limit for xenstored
On 28.09.21 17:26, Ian Jackson wrote: Juergen Gross writes ("Re: [PATCH v5 2/2] tools/xenstore: set open file descriptor limit for xenstored"):Hmm, maybe I should just use: prlimit --nofile=$XENSTORED_MAX_OPEN_FDS \ $XENSTORED --pid-file @XEN_RUN_DIR@/xenstored.pid $XENSTORED_ARGSI guess that would probably work (although it involves another exec) but I don't understand what's wrong with ulimit, which is a shell builtin. My main concern with ulimit is that this would set the open file limit for _all_ children of the script. I don't think right now this is a real problem, but it feels wrong to me (systemd-notify ought to be fine, but you never know ...). Juergen Attachment:
OpenPGP_0xB0DE9DD628BF132F.asc Attachment:
OpenPGP_signature
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |