Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultFDLimit = 32 * 1024
Variables ¶
This section is empty.
Functions ¶
func Set ¶
Set attempts to bump the Rlimit which has a soft (Cur) and a hard (Max) value. The soft limit is what is used by the kernel to report EMFILE errors. The hard limit is a secondary limit which the process can be bumped to without additional privileges. Bumping the Max limit further would require superuser privileges. If the current Max is below our recommendation we will warn on start. see: http://0pointer.net/blog/file-descriptor-limits.html
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.