Dovecot Problem

Reikor

Verified User
Joined
Aug 27, 2009
Messages
35
I have a webserver with aprox 2k of domains.
A lot of this domains use the webmail or the imap connection for those annoying blackberrys. This generally make my server to recieve a lot and i mean a lot of connections to the imap. The problem is time to time imap stop answering, no one can check emails or login or connect to the port it seems like imap goes down but is not totally true is like an overload and past few minutes imap start responding again.
When this hapend a lot of clients connect again to the imap and it gets screw again. No errors shown. i solve this restarting dovecot from cron jobs 1 time per hour. Anyone have some idea what is hapening or someone experienced something like this?
 
Hello,

You might need to enable debugging and see log:

Code:
debug_log_path = /var/log/dovecot.log
auth_verbose = yes
auth_debug = yes
mail_debug = yes

ulimits? Limits on open files?
 
I add to the configuration of dovecot this lines.
It seems this 2 lines i add solve the problem, i dont need to restart and it seems the imap server doesnt hang up anymore.
login_max_processes_count = 128
login_max_connections = 256

Whats the default of this process and connections by default? are less?

Regards.
 
Back
Top