mirror of
https://github.com/chatmail/relay.git
synced 2026-05-13 09:24:43 +00:00
Compare commits
1 Commits
fix/multip
...
hpk/increa
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ca0fa2b50 |
@@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
## untagged
|
## untagged
|
||||||
|
|
||||||
|
- Increase dovecot imap-login limits
|
||||||
|
([#577](https://github.com/chatmail/relay/pull/577))
|
||||||
|
|
||||||
- Increase nginx connection limits
|
- Increase nginx connection limits
|
||||||
([#576](https://github.com/chatmail/relay/pull/576))
|
([#576](https://github.com/chatmail/relay/pull/576))
|
||||||
|
|
||||||
|
|||||||
@@ -177,17 +177,20 @@ service auth-worker {
|
|||||||
}
|
}
|
||||||
|
|
||||||
service imap-login {
|
service imap-login {
|
||||||
# High-security mode.
|
# We are not using "high-security-mode" because even if dovecot
|
||||||
# Each process serves a single connection and exits afterwards.
|
# login would be compromised, there are only E2EE messages to be
|
||||||
# This is the default, but we set it explicitly to be sure.
|
# found or sent, and an attacker doesn't have the key used with this address.
|
||||||
# See <https://doc.dovecot.org/admin_manual/login_processes/#high-security-mode> for details.
|
# See <https://doc.dovecot.org/admin_manual/login_processes/#high-security-mode> for details.
|
||||||
service_count = 1
|
|
||||||
|
# Performance Mode. Each process serves up to 100 connections and exits afterwards.
|
||||||
|
service_count = 100
|
||||||
|
|
||||||
# Inrease the number of simultaneous connections.
|
# Inrease the number of simultaneous connections.
|
||||||
#
|
#
|
||||||
# As of Dovecot 2.3.19.1 the default is 100 processes.
|
# As of Dovecot 2.3.19.1 the default is 100 processes.
|
||||||
# Combined with `service_count = 1` it means only 100 connections
|
# Combined with `service_count = 1` it means only 100 connections
|
||||||
# can be handled simultaneously.
|
# can be handled simultaneously.
|
||||||
|
# We allow up to 5000 * 100 = 500K connections
|
||||||
process_limit = 10000
|
process_limit = 10000
|
||||||
|
|
||||||
# Avoid startup latency for new connections.
|
# Avoid startup latency for new connections.
|
||||||
|
|||||||
Reference in New Issue
Block a user