function ov rootfs oom

NAME [edit section]

ov_rootfs_oom

SYNOPSIS [edit section]

DESCRIPTION [edit section]

This sets the value of ood_score_adj for the current process (likely sshd?) so that it will be the first one killed if the system runs out of memory.

EXAMPLES [edit section]

Here are some sample invocations:

ENVIRONMENT and ARGUMENTS [edit section]

No positional arguments are used in this function, and no environment variables are referenced.

RETURN [edit section]

This function aborts the job if it can't set the oom_score_adj in /proc

SOURCE [edit section]

Located in engine/overlays/base/base-distrib.fuegoclass

SEE ALSO [edit section]