Try to raise the file descriptor limit to the requested number.
Synopsis
Declared in <util/fs_helpers.h>
int
RaiseFileDescriptorLimit(int min_fd);
Return Value
The actual file descriptor limit. It may be lower or higher than min_fd. Returns std::numeric_limits<int>::max() if the OS imposes no limit (RLIM_INFINITY).
Parameters
Name |
Description |
min_fd [in] |
The requested minimum number of file descriptors. |
Created with MrDocs