Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
PPROTECTD(8)		FreeBSD	System Manager's Manual		  PPROTECTD(8)

NAME
     pprotectd -- daemon which protect processes from killing by the kernel
     when memory is exhausted

SYNOPSIS
     pprotectd [-n] [-d	debug level] [-l logfile] [-t timeout] -F pidfile1,
	       pidfile2, ...

DESCRIPTION
     The pprotectd utility sets	the P_PROTECTED	flag for each PID from pid-
     files that	list as	an argument.  If all given pidfiles exist and the
     P_PROTECTED flag is set successfully for each PID,	daemon blocks on
     kevent(2) and will	wait untill some process becomes terminated.  When
     some process has terminated, the pprotectd	wakes up and gets a new	PID
     from pidfile, then	pprotectd sets the P_PROTECTED flag for	it.  If	any
     given pidfile does	not exist, the pprotectd will retry to read it after
     timeout.

     The options are as	follows:

     -d	debug level
	     Set debug level (0	- off, 1 - errors, 2 - warnings, 3 - debug).
	     The default is 1.

     -F	pidfile1, pidfile2, ...
	     List of pidfiles that contain PIDs	for protection.

     -l	logfile
	     Set filename for log messages.  If	argument equals	syslog,	daemon
	     log messages will be logged via syslog(3).	 The default is	sys-
	     log.

     -n	     Do	not daemonize.

     -t	timeout
	     Set timeout in seconds.  The default is 10.

SEE ALSO
     ps(1), kevent(2), madvise(2), mmap(2), kvm(3), kmem(4), mem(4)

AUTHORS
     Andrey Zonov <andrey@zonov.org>

BUGS
     Please send bug reports and suggestions to	<andrey@zonov.org>.

FreeBSD	13.0			August 19, 2010			  FreeBSD 13.0

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | AUTHORS | BUGS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=pprotectd&sektion=8&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help