This is documentation about a configuration directive, which can be placed within Movable Type’s core configuration file,
mt-config.cgi, to customize the behavior of the system.
Sets a limit on the number of run-periodic-tasks processes that can run simultaneously on this server.
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.
Experience has shown that a good rule of thumb is 1 process per CPU (real or virtual). More processes will increase parallelism, however publishing throughput typically does not substantially increase.
This configuration directive requires that the Perl module Proc::ProcessTable be installed in order for run-periodic-tasks to use it properly. 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. Additionally, it’s not a core Perl module, so an administrator will likely need to install it.
If the Proc::ProcessTable Perl module is not available, this directive will be ignored.
- integer (recommended range 1-10, depending on server setup)
If you want to specify that no more than four run-periodic-tasks processes should run at any one time, use the following :