1Mail::SpamAssassin::PluUgsienr::CRoenstoruirbMcuaetiLelid:m:iPStepsra(lm3A)Dsoscausmseinnt:a:tPiloungin::ResourceLimits(3)
2
3
4
6 Mail::SpamAssassin::Plugin::ResourceLimits - Limit the memory and/or
7 CPU of child spamd processes
8
10 # This plugin is for admin only and cannot be specified in user config.
11 loadplugin Mail::SpamAssassin::Plugin::ResourceLimits
12
13 # Sets to RLIMIT_CPU from BSD::Resource. The quota is based on max CPU Time seconds.
14 resource_limit_cpu 120
15
16 # Sets to RLIMIT_RSS and RLIMIT_AS via BSD::Resource.
17 resource_limit_cpu 536870912
18
20 This module leverages BSD::Resource to assure your spamd child
21 processes do not exceed specified CPU or memory limit. If this happens,
22 the child process will die. See the BSD::Resource for more details.
23
24 NOTE: Because this plugin uses BSD::Resource, it will not function on
25 Windows.
26
28 resource_limit_cpu 120 (default: 0 or no limit)
29 How many cpu cycles are allowed on this process before it dies.
30
31 resource_limit_mem 536870912 (default: 0 or no limit)
32 The maximum number of bytes of memory allowed both for:
33
34 • (virtual) address space bytes
35
36 • resident set size
37
38
39
40perl v5.36.0 M2a0i2l3:-:0S1p-a2m1Assassin::Plugin::ResourceLimits(3)