Show the nofile hard limit value in the warning message
If increasing the nofile rlimit to 1M fails, try the hard limit, let's display the value of this limit in the warning message.
If increasing the nofile rlimit to 1M fails, try the hard limit, let's display the value of this limit in the warning message.