RPTProcessCap
Sets a limit on the number of run-periodic-tasks processes that can run simultaneously on this server.
If RPTProcessCap is set, run-periodic-tasks will count all currently-running processes of the form "perl.*run-periodic-tasks.*" immediately after it is launched, including itself. If that number exceeds RPTProcessCap, the newly-launched RPT process will cleanly exit.
Special System Requirements
This configuration directive requires that the Perl module Proc::ProcessTable table be installed in order for run-periodic-tasks to use it properly. At this time, Proc::ProcessTable is not listed as a Required Module or an Optional Module for Movable Type installation. So it may not be present on a running Movable Type server.
If Proc::ProcessTable Perl module is not available, this directive will be ignored.
Default
disabled
Values
- integer (recommended range 2-10, depending on server setup)
Example
If you want to specify that no more than five run-periodic-tasks processes should run at any one time, use the following :
RPTProcessCap 5