fdlimit

package
Version: v0.0.0-...-f3c1660 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2021 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Current

func Current() (int, error)

Current retrieves the number of file descriptors allowed to be opened by this process.

func Maximum

func Maximum() (int, error)

Maximum retrieves the maximum number of file descriptors this process is allowed to request for itself.

func Raise

func Raise(max uint64) (uint64, error)

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')

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL