xeruf
July 22, 2025, 7:46pm
1
We run a HestiaCP instance with over 100 users and over 200 domains, and have hit configuration challenges multiple times which have taken us days to track down.
So I am opening this thread to share settings to be tweaked, including why (typically a log error message) and how to check whether the settings work.
Feel free to enjoy and contribute!
6 Likes
xeruf
July 22, 2025, 7:53pm
2
Dovecot imap-login process_limit
Issue: User logins are erratically rejected
Component: dovecot
Log Message (/var/log/dovecot.log):
master: Warning: service(imap-login): process_limit (100) reached, client connections are being dropped
Configuration
Adjust in /etc/dovecot/conf.d/10-master.conf:
service imap-login {
process_limit = 100
}
Apply with: sudo systemctl reload dovecot
Command to check config value (default seems to be 100, config is not changed by default with HestiaCP):
doveconf -n | grep process_limit || echo 100
1 Like
xeruf
July 22, 2025, 7:57pm
3
Too many open files
Issue: Sporadic nginx restart failures
Detailed thread: Too many open files despite config adjustments - #18 by xeruf
1 Like
xeruf
July 22, 2025, 8:02pm
4
Automatic updates without config prompts
Put the following into /etc/apt/apt.conf.d/force-confold to make apt always keep your current configuration of all services on update:
Dpkg::Options {
"--force-confdef";
"--force-confold";
}
3 Likes