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:48 +0000 (08:17 -0700)
commit7497e0ec81e8e6faaac91d89e3f3245dfd25dab8
tree587e8b7d37147818c4a101ff9eb15fb23dd69be7
parent2e6b2d5a0d3aab1d4ae7484feabb4946468efb4d
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