diff options
| author | Stefan Hajnoczi | 2020-05-01 16:06:43 +0200 |
|---|---|---|
| committer | Dr. David Alan Gilbert | 2020-05-01 19:41:55 +0200 |
| commit | 6dbb716877728ce4eb51619885ef6ef4ada9565f (patch) | |
| tree | 440fe374e3fe9616b76b7ec7e9f48a91cec90628 /python/qemu | |
| parent | Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging (diff) | |
| download | qemu-6dbb716877728ce4eb51619885ef6ef4ada9565f.tar.gz qemu-6dbb716877728ce4eb51619885ef6ef4ada9565f.tar.xz qemu-6dbb716877728ce4eb51619885ef6ef4ada9565f.zip | |
virtiofsd: add --rlimit-nofile=NUM option
Make it possible to specify the RLIMIT_NOFILE on the command-line.
Users running multiple virtiofsd processes should allocate a certain
number to each process so that the system-wide limit can never be
exhausted.
When this option is set to 0 the rlimit is left at its current value.
This is useful when a management tool wants to configure the rlimit
itself.
The default behavior remains unchanged: try to set the limit to
1,000,000 file descriptors if the current rlimit is lower.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20200501140644.220940-2-stefanha@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'python/qemu')
0 files changed, 0 insertions, 0 deletions
