Currently we set a soft limit while defining the maximum size of core files. If there is already a hard limit set that is lesser than the soft limit we are setting, it will fail.
Since our startup scripts start with root permissions, it looks fine to set the hard limit directly instead. Reported-by: Dan Wendlandt <[email protected]> Signed-off-by: Gurucharan Shetty <[email protected]> --- 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 a7b88ea..6bad187 100755 --- a/utilities/ovs-ctl.in +++ b/utilities/ovs-ctl.in @@ -157,7 +157,7 @@ set_system_ids () { check_force_cores () { if test X"$FORCE_COREFILES" = Xyes; then - ulimit -Sc 67108864 + ulimit -c 67108864 fi } -- 1.7.9.5 _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
