initial commit of file from CVS for e-smith-pop3 on Wed 12 Jul 09:03:33 BST 2023
This commit is contained in:
9
root/etc/e-smith/templates/var/service/pop3/runenv/20Mem
Normal file
9
root/etc/e-smith/templates/var/service/pop3/runenv/20Mem
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
# memory limit to catch any memory leak before it kills the system
|
||||
my $MIN_MEMORY_LIMIT = 40000000;
|
||||
|
||||
# The MIN_MEMORY_LIMIT is returned unless the DB variable is defined and greater than MIN_MEMORY_LIMIT
|
||||
my $limit = $pop3{MemLimit} || $MIN_MEMORY_LIMIT;
|
||||
$limit = $MIN_MEMORY_LIMIT if $limit < $MIN_MEMORY_LIMIT;
|
||||
$OUT = "MEM=$limit";
|
||||
}
|
Reference in New Issue
Block a user