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 <b...@nicira.com>
Signed-off-by: Cong Wang <xiyou.wangc...@gmail.com>

---
diff --git a/utilities/ovs-ctl.in b/utilities/ovs-ctl.in
index 7febd1c..45cbbc1 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"
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to