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


Manual Reference Pages  -  PPROTECTD (8)

NAME

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

CONTENTS

Synopsis
Description
See Also
Authors
Bugs

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 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:
-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 syslog.
-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


.An Andrey Zonov Aq andrey@zonov.org

BUGS

Please send bug reports and suggestions to <andrey@zonov.org>.
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 manServer 1.07.