Only set ulimit, if the user has configured a limit. Check for errors after setting ulimit and emit a warning.