The soft limit is the value that the kernel enforces for the corresponding resource
The hard limit acts as a ceiling for the soft limit
an unprivileged process may only set its soft limit to a value
in the range from 0 up to the hard limit.
So in order to make the change in fds count without any error we should
inform the user to make the process have CAP_SYS_RESOURCE capability
in order to set the hard limit.
License: MIT
Signed-off-by:
hoenirvili <hoenirvili@gmail.com>
| 名称 |
最后提交
|
最后更新 |
|---|---|---|
| .. | ||
| ulimit.go | 正在载入提交数据... | |
| ulimit_freebsd.go | 正在载入提交数据... | |
| ulimit_test.go | 正在载入提交数据... | |
| ulimit_unix.go | 正在载入提交数据... | |
| ulimit_windows.go | 正在载入提交数据... |