e-smith-pop3/root/etc/e-smith/templates/var/service/pop3s/runenv/20Mem

10 lines
338 B
Plaintext
Raw Permalink Normal View History

{
# memory limit to catch any memory leak before it kills the system
my $MIN_MEMORY_LIMIT = 80000000;
# The MIN_MEMORY_LIMIT is returned unless the DB variable is defined and greater than MIN_MEMORY_LIMIT
my $limit = $pop3s{MemLimit} || $MIN_MEMORY_LIMIT;
$limit = $MIN_MEMORY_LIMIT if $limit < $MIN_MEMORY_LIMIT;
$OUT = "MEM=$limit";
}