ovs-ctl: Don't decrease max open fds if already set higher
authorThomas Graf <tgraf@suug.ch>
Thu, 8 May 2014 18:45:25 +0000 (20:45 +0200)
committerBen Pfaff <blp@nicira.com>
Fri, 9 May 2014 15:17:44 +0000 (08:17 -0700)
commitf067987973facf28916a2f5ee48bf02ce5938bf8
tree3e512429fdbdc68575106d5e45da3fe5f73271e8
parent7fb489fb84483f7d3336e7572afc2c288f91ea33
ovs-ctl: Don't decrease max open fds if already set higher

A user may set LimitNOFILE through systemd or other means to set
the maximum number of open file descriptors. Only modify the ulimit
if not already set to a higher value by the user.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Andy Gospodarek <gospo@redhat.com>
utilities/ovs-ctl.in