Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdjustOOMScoreAdj ¶ added in v1.10.5
func AdjustOOMScoreAdj()
AdjustOOMScoreAdj lowers the process oom_score_adj to protect the extension from the Linux OOM-killer under node memory pressure. The target score is read from STEADYBIT_EXTENSION_OOM_SCORE_ADJ (default -998) and clamped to [-1000, 1000]. Lowering the score requires CAP_SYS_RESOURCE; without it the adjustment fails and a warning is logged. This is a no-op on non-Linux platforms.
func GetHostname ¶ added in v1.8.13
func GetUnameInformation ¶ added in v1.8.12
func GetUnameInformation() string
func LogRuntimeInformation ¶
func UnameInformation ¶ added in v1.8.12
func UnameInformation() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.