Error: conn unix:/run/dovecot/stats-writer : Timeout waiting for handshake response
Hi, I'm using ubuntu 22.04 and installed dovecot 2.3.16.
I did some initial testing with 100 email accounts and everything seemed to work perfectly the same as dovecot version 2.3.16 on another server. So I performed the migration of approximately 30 thousand email accounts, but the following error started to appear and I know well what to do:
Jul 14 18:55:29 box5 dovecot: pop3: Error: conn
unix:/run/dovecot/stats-writer (pid=3733995,uid=0): Timeout waiting
for handshake response
Jul 14 18:55:29 box5 dovecot: imap: Error: conn
unix:/run/dovecot/stats-writer (pid=3733995,uid=0): Timeout waiting
for handshake response
Jul 14 18:55:29 box5 dovecot: managesieve: Error: conn
unix:/run/dovecot/stats-writer (pid=3733995,uid=0): Timeout waiting
for handshake response
Jul 14 18:55:29 box5 dovecot: lmtp: Error: conn
unix:/run/dovecot/stats-writer (pid=3733995,uid=0): Timeout waiting
for handshake response
Jul 14 18:55:29 box5 dovecot: imap-login: Error: conn
unix:/run/dovecot/stats-writer (pid=3733995,uid=0): Timeout waiting
for handshake response
Jul 14 18:55:29 box5 dovecot: imap: Error: conn
unix:/run/dovecot/stats-writer (pid=3733995,uid=0): Timeout waiting
for handshake response
Jul 14 18:55:29 box5 dovecot: imap-login: Error: conn
unix:/run/dovecot/stats-writer (pid=3733995,uid=0): Timeout waiting
for handshake response
Jul 14 18:55:29 box5 dovecot: message repeated 3 times: [
imap-login: Error: conn unix:/run/dovecot/stats-writer
(pid=3733995,uid=0): Timeout waiting for handshake response]
Jul 14 18:55:29 box5 dovecot: imap: Error: conn
unix:/run/dovecot/stats-writer (pid=3733995,uid=0): Timeout waiting
for handshake response
Jul 14 18:55:29 box5 dovecot: message repeated 2 times: [ imap:
Error: conn unix:/run/dovecot/stats-writer (pid=3733995,uid=0):
Timeout waiting for handshake response]
Permissions on files
79411 srw------- 1 root root 0 Jul 14 18:55 stats-reader
79412 srw-rw---- 1 root dovecot 0 Jul 14 18:55 stats-writer
Does anyone know anything about this problem that can help me?
On 14/07/2022 22:09 EEST filipe@digirati.com.br filipe@digirati.com.br wrote:
Hi, I'm using ubuntu 22.04 and installed dovecot 2.3.16.
I did some initial testing with 100 email accounts and everything seemed to work perfectly the same as dovecot version 2.3.16 on another server. So I performed the migration of approximately 30 thousand email accounts, but the following error started to appear and I know well what to do:
Jul 14 18:55:29 box5 dovecot: pop3: Error: conn unix:/run/dovecot/stats-writer (pid=3733995,uid=0): Timeout waiting for handshake response Jul 14 18:55:29 box5 dovecot: imap: Error: conn unix:/run/dovecot/stats-writer (pid=3733995,uid=0): Timeout waiting for handshake response Jul 14 18:55:29 box5 dovecot: managesieve: Error: conn unix:/run/dovecot/stats-writer (pid=3733995,uid=0): Timeout waiting for handshake response Jul 14 18:55:29 box5 dovecot: lmtp: Error: conn unix:/run/dovecot/stats-writer (pid=3733995,uid=0): Timeout waiting for handshake response Jul 14 18:55:29 box5 dovecot: imap-login: Error: conn unix:/run/dovecot/stats-writer (pid=3733995,uid=0): Timeout waiting for handshake response Jul 14 18:55:29 box5 dovecot: imap: Error: conn unix:/run/dovecot/stats-writer (pid=3733995,uid=0): Timeout waiting for handshake response Jul 14 18:55:29 box5 dovecot: imap-login: Error: conn unix:/run/dovecot/stats-writer (pid=3733995,uid=0): Timeout waiting for handshake response Jul 14 18:55:29 box5 dovecot: message repeated 3 times: [ imap-login: Error: conn unix:/run/dovecot/stats-writer (pid=3733995,uid=0): Timeout waiting for handshake response] Jul 14 18:55:29 box5 dovecot: imap: Error: conn unix:/run/dovecot/stats-writer (pid=3733995,uid=0): Timeout waiting for handshake response Jul 14 18:55:29 box5 dovecot: message repeated 2 times: [ imap: Error: conn unix:/run/dovecot/stats-writer (pid=3733995,uid=0): Timeout waiting for handshake response]
Permissions on files
79411 srw------- 1 root root 0 Jul 14 18:55 stats-reader 79412 srw-rw---- 1 root dovecot 0 Jul 14 18:55 stats-writer
Does anyone know anything about this problem that can help me?
Do you have anything else in the logs? Did you increase client_limit for stats service?
Aki
soon after starting dovecot these errors start to appear. I will send the first errors after doing a service dovecot start
Jul 15 10:08:16 box5 dovecot: pop3: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: managesieve: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: imap: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: auth: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: imap-login: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: lmtp: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: imap-login: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response ul 15 10:08:16 box5 dovecot: imap: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: managesieve: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: imap-login: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: imap: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: managesieve: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: imap-login: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: message repeated 5 times: [ imap-login: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response] Jul 15 10:08:16 box5 dovecot: imap: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: message repeated 4 times: [ imap: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response] Jul 15 10:08:16 box5 dovecot: managesieve: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: message repeated 3 times: [ managesieve: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response] Jul 15 10:08:16 box5 dovecot: lmtp: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: lmtp: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: imap-login: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: lmtp: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: imap: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: managesieve: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: pop3: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: imap: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: lmtp: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: message repeated 2 times: [ lmtp: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response] Jul 15 10:08:16 box5 dovecot: pop3: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: message repeated 6 times: [ pop3: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response] Jul 15 10:08:16 box5 dovecot: managesieve: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: managesieve: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: lmtp: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: message repeated 2 times: [ lmtp: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response] Jul 15 10:08:16 box5 dovecot: pop3: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response Jul 15 10:08:16 box5 dovecot: pop3-login: Error: conn unix:/run/dovecot/stats-writer (pid=4137823,uid=0): Timeout waiting for handshake response
All stats configuration is as default seeing by dovecot -a
service stats {
chroot =
client_limit = 0
drop_priv_before_exec = no
executable = stats
extra_groups =
group =
idle_kill = 4294967295 secs
privileged_group =
process_limit = 1
process_min_avail = 0
protocol =
service_count = 0
type =
unix_listener stats-reader {
group =
mode = 0600
user =
}
unix_listener stats-writer {
group = $default_internal_group
mode = 0660
user =
}
user = $default_internal_user
vsz_limit = 18446744073709551615 B
}
I don't use this dovecot stats service and I don't have metrics configured. Actually I wanted to know if it is possible to deactivate it because we do not use it here in the company.
On 15/07/2022 06:45, Aki Tuomi wrote:
Do you have anything else in the logs? Did you increase client_limit for stats service?
participants (2)
-
Aki Tuomi
-
filipe@digirati.com.br