SchwartzFreeMemoryLimit
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.
SchwartzFreeMemoryLimit
is identical to RPTFreeMemoryLimit
, except that instead of checking on initial launch of run-periodic-tasks, it checks after every MT::TheSchwartz->work_once cycle while the Schwartz queue is being processed. If free memory has fallen below the SchwartzFreeMemoryLimit
, it ends the work_until_done loop, allowing the RPT job to exit.
Default
disabled
Values
Memory size, in the form of:
- #GB
- #MB
- #KB
- # (indicating literal bytes)
The “B” is optional
Example
Specify 50 megabytes:
SchwartzFreeMemoryLimit 50M
Specify 8000 kilobytes:
SchwartzFreeMemoryLimit 8000K