GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PPROTECTD(8) FreeBSD System Manager's Manual PPROTECTD(8)

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

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

The pprotectd utility sets the P_PROTECTED flag for each PID from pidfiles 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:

debug level
Set debug level (0 - off, 1 - errors, 2 - warnings, 3 - debug). The default is 1.
pidfile1, pidfile2, ...
List of pidfiles that contain PIDs for protection.
logfile
Set filename for log messages. If argument equals syslog, daemon log messages will be logged via syslog(3). The default is syslog.
Do not daemonize.
timeout
Set timeout in seconds. The default is 10.

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

Andrey Zonov ⟨andrey@zonov.org⟩

Please send bug reports and suggestions to ⟨andrey@zonov.org⟩.
August 19, 2010 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.