1Mail::SpamAssassin::PluUgsienr::CRoenstoruirbMcuaetiLelid:m:iPStepsra(lm3A)Dsoscausmseinnt:a:tPiloungin::ResourceLimits(3)
2
3
4

NAME

6       Mail::SpamAssassin::Plugin::ResourceLimits - Limit the memory and/or
7       CPU of child spamd processes
8

SYNOPSIS

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

DESCRIPTION

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

ADMINISTRATOR SETTINGS

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.28.0                     M2a0i1l8:-:0S9p-a1m4Assassin::Plugin::ResourceLimits(3)
Impressum