[Dovecot] Set vszlimits for some services to prevent oom situations, fixes #1203
parent
7f72e44dac
commit
a8d9b4359e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue