parent
952bf0e709
commit
20f8d3181a
1 changed files with 18 additions and 0 deletions
@ -0,0 +1,18 @@ |
|||||||
|
{ |
||||||
|
|
||||||
|
my $ConcurrencyLimit = $imap{ConcurrencyLimit} || '400'; |
||||||
|
my $ConcurrencyLimitPerIP = $imap{ConcurrencyLimitPerIP} || '12'; |
||||||
|
my $ProcessMemoryLimit = $imap{ProcessMemoryLimit} || '256000000'; |
||||||
|
|
||||||
|
$OUT .=<<"END"; |
||||||
|
|
||||||
|
service imap { |
||||||
|
process_limit = $ConcurrencyLimit |
||||||
|
vsz_limit = $ProcessMemoryLimit |
||||||
|
} |
||||||
|
protocol imap { |
||||||
|
mail_max_userip_connections = $ConcurrencyLimitPerIP |
||||||
|
} |
||||||
|
END |
||||||
|
|
||||||
|
} |
Loading…
Reference in new issue