Change in vdsm[master]: Multiply amount of open file descriptor for vdsm user

ybronhei at redhat.com ybronhei at redhat.com
Thu Apr 4 08:05:06 UTC 2013


Yaniv Bronhaim has uploaded a new change for review.

Change subject: Multiply amount of open file descriptor for vdsm user
......................................................................

Multiply amount of open file descriptor for vdsm user

As part of fixing fds leak we increase the amount of available open fds
to allow stability in large scale of simultaneously operations.
Currently lv operations can't run simultaneously and
wait for pior operation to end. Simultaneously attach sd requests open
fds and close them only after end, when operation waits on lv operation
vdsm keeps the fds open for long time.

Change-Id: Ide73b075c56c83d0298a9cd3a0892b0ce7cd46f6
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=920532
Signed-off-by: Yaniv Bronhaim <ybronhei at redhat.com>
---
M vdsm/limits.conf
1 file changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/66/13566/1

diff --git a/vdsm/limits.conf b/vdsm/limits.conf
index 287f70d..fc018a6 100644
--- a/vdsm/limits.conf
+++ b/vdsm/limits.conf
@@ -1,6 +1,7 @@
 # This limits are intended for medium VDSM hosts, for large hosts scale these
 # numbers appropriately.
 
-# nproc\nofile should be at least 150 + (3 * <The maximum amount of running VMs>)
+# nproc should be at least 150 + The maximum amount of running VMs (640) + The maximum amount of storage operations
+# nofile should be at least 3(stdin,stdour,stderr) * each external process. Each VM run or storage operation initiates external process.
 vdsm - nproc 4096
-vdsm - nofile 4096
+vdsm - nofile 8192


--
To view, visit http://gerrit.ovirt.org/13566
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ide73b075c56c83d0298a9cd3a0892b0ce7cd46f6
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <ybronhei at redhat.com>


More information about the vdsm-patches mailing list