提交 3080834f 编写于 作者: C Christian Ehrhardt 提交者: Michal Privoznik

Increase default file handle limits for virtlockd

The assumption so far was an average of 4 disks per guest.
But some architectures, like s390x, still often use plenty of smaller disks.

To include those in the considerations an assumption of an average of 10
disks is more reasonable.
Signed-off-by: NChristian Ehrhardt <christian.ehrhardt@canonical.com>
上级 d7444764
......@@ -15,8 +15,8 @@ ExecReload=/bin/kill -USR1 $MAINPID
OOMScoreAdjust=-900
# Needs to allow for max guests * average disks per guest
# libvirtd.service written to expect 4096 guests, so if we
# allow for 4 disks per guest, we get:
LimitNOFILE=16384
# allow for 10 disks per guest, we get:
LimitNOFILE=40960
[Install]
Also=virtlockd.socket
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册