From: Cong Wang Date: Wed, 14 Nov 2012 12:58:18 +0000 (+0800) Subject: ovs-ctl.in: increase the limit of fd X-Git-Tag: v1.9.0~58 X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fovs.git;a=commitdiff_plain;h=fbb58b68be7c3abb83e8ab72d662d020eaad7d1d 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 --- 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"