[Dovecot] Set vszlimits for some services to prevent oom situations, fixes #1203

master
André 2018-05-12 08:52:00 +02:00
parent 7f72e44dac
commit a8d9b4359e
1 changed files with 4 additions and 2 deletions

View File

@ -209,19 +209,21 @@ service managesieve-login {
} }
service_count = 1 service_count = 1
process_min_avail = 2 process_min_avail = 2
vsz_limit = 64M vsz_limit = 256 M
} }
service imap-login { service imap-login {
service_count = 1 service_count = 1
vsz_limit = 64M vsz_limit = 256 M
user = dovenull user = dovenull
} }
service pop3-login { service pop3-login {
service_count = 1 service_count = 1
vsz_limit = 256 M
} }
service imap { service imap {
executable = imap imap-postlogin executable = imap imap-postlogin
user = dovenull user = dovenull
vsz_limit = 256 M
} }
service managesieve { service managesieve {
process_limit = 256 process_limit = 256