diff options
| author | Stefan Hajnoczi <stefanha@redhat.com> | 2020-05-01 15:06:43 +0100 |
|---|---|---|
| committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-05-01 18:41:55 +0100 |
| commit | 6dbb716877728ce4eb51619885ef6ef4ada9565f (patch) | |
| tree | 440fe374e3fe9616b76b7ec7e9f48a91cec90628 /util/qemu-timer.c | |
| parent | 1c47613588ccff44422d4bdeea0dc36a0a308ec7 (diff) | |
| download | focaccia-qemu-6dbb716877728ce4eb51619885ef6ef4ada9565f.tar.gz focaccia-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 'util/qemu-timer.c')
0 files changed, 0 insertions, 0 deletions