From fbb58b68be7c3abb83e8ab72d662d020eaad7d1d Mon Sep 17 00:00:00 2001 From: Cong Wang Date: Wed, 14 Nov 2012 20:58:18 +0800 Subject: [PATCH] ovs-ctl.in: increase the limit of fd We can't create more than 248 bridges with the current limit 5000, so increase it to 6000 so that at least 256+ bridges could be created. Cc: Ben Pfaff Signed-off-by: Cong Wang Signed-off-by: Ben Pfaff --- utilities/ovs-ctl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/ovs-ctl.in b/utilities/ovs-ctl.in index 9ce4973d1..3a432b593 100755 --- a/utilities/ovs-ctl.in +++ b/utilities/ovs-ctl.in @@ -244,7 +244,7 @@ start_forwarding () { # Increase the limit on the number of open file descriptors. # ovs-vswitchd needs 16 per datapath, plus a few extra, so this # should allow for 256 (or more) bridges. - ulimit -n 5000 + ulimit -n 6000 # Start ovs-vswitchd. set ovs-vswitchd unix:"$DB_SOCK" -- 2.20.1