RPTFreeMemoryLimit
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.
Defines a lower bound on the of free memory that must be available for new run-periodic-tasks to launch; if the Perl module Sys::MemInfo is installed and RPTFreeMemoryLimit
is set, launching run-periodic-tasks will check the amount of free memory available on the server. If that value is below RPTFreeMemoryLimit
, the newly launched RPT process will cleanly exit. (If Sys::MemInfo is not available, this directive will be ignored.)
Default
disabled
Values
Memory size, in the form of:
- #GB
- #MB
- #KB
- # (indicating literal bytes)
The “B” is optional
Example
Specify one gigabyte:
RPTFreeMemoryLimit 1G
Specify 512 megabytes:
RPTFreeMemoryLimit 512MB
Specify 1024 kilobytes:
RPTFreeMemoryLimit 1024K
Specify 512000 bytes:
RPTFreeMemoryLimit 512000