package fdlimit
import "github.com/ethereum/go-ethereum/common/fdlimit"
Index ¶
Functions ¶
func Current ¶
Current retrieves the number of file descriptors allowed to be opened by this process.
func Maximum ¶
Maximum retrieves the maximum number of file descriptors this process is allowed to request for itself.
func Raise ¶
Raise tries to maximize the file descriptor allowance of this process to the maximum hard-limit allowed by the OS. Returns the size it was set to (may differ from the desired 'max')
Source Files ¶
- Version
- v1.15.11 (latest)
- Published
- May 5, 2025
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 1 day ago –
Tools for package owners.