summaryrefslogtreecommitdiffstats
path: root/share/man/man8
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2016-02-24 01:32:12 +0000
committeraraujo <araujo@FreeBSD.org>2016-02-24 01:32:12 +0000
commitbd6a91854eae451ea33663192a4183e0e2b8d2dd (patch)
tree7283f29397f0b9e2ec643a5b81c186aee1b19d71 /share/man/man8
parentc2197759a2059fe92bc16e6763e6b3a0c7e4e5c4 (diff)
downloadFreeBSD-src-bd6a91854eae451ea33663192a4183e0e2b8d2dd.zip
FreeBSD-src-bd6a91854eae451ea33663192a4183e0e2b8d2dd.tar.gz
- Add a global option where we can protect processes when swap space
is exhausted. How to use: Basically we need to add on rc.conf an another option like: If we want to protect only the main processes. syslogd_oomprotect="YES" If we want to protect all future children of the specified processes. syslogd_oomprotect="ALL" PR: 204741 (based on) Submitted by: eugen@grosbein.net Reviewed by: jhb, allanjude, rpokala and bapt MFC after: 4 weeks Relnotes: Yes Sponsored by: gandi.net Differential Revision: https://reviews.freebsd.org/D5176
Diffstat (limited to 'share/man/man8')
-rw-r--r--share/man/man8/rc.subr.812
1 files changed, 11 insertions, 1 deletions
diff --git a/share/man/man8/rc.subr.8 b/share/man/man8/rc.subr.8
index 47457ea..47959f3 100644
--- a/share/man/man8/rc.subr.8
+++ b/share/man/man8/rc.subr.8
@@ -29,7 +29,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd October 12, 2014
+.Dd February 4, 2016
.Dt RC.SUBR 8
.Os
.Sh NAME
@@ -604,6 +604,16 @@ as.
Only supported after
.Pa /usr
is mounted.
+.It Va ${name}_oomprotect
+.Xr protect 1
+.Va command
+from being killed when swap space is exhausted.
+If
+.Em YES
+is used, no child processes are protected.
+If
+.Em ALL ,
+protect all child processes.
.It Va ${name}_program
Full path to the command.
Overrides
OpenPOWER on IntegriCloud