Dict lookup took too long time.

czarrekplpl

New member
Joined
Oct 3, 2015
Messages
3
Hello.
Please help to fix the dict lookup problem.

Code:
 **Unmatched Entries**
    dovecot: auth: Warning: auth client 0 disconnected with 1 pending requests: Connection reset by peer: 2 Time(s)
    dovecot: imap([email protected]): Warning: read(/var/run/dovecot/dict): dict lookup took 7 seconds: 1 Time(s)
    dovecot: imap([email protected]): Warning: read(/var/run/dovecot/dict): dict lookup took 7 seconds: 1 Time(s)
    dovecot: imap([email protected]): Warning: read(/var/run/dovecot/dict): dict lookup took 7 seconds: 1 Time(s)
    dovecot: imap([email protected]): Warning: read(/var/run/dovecot/dict): dict lookup took 7 seconds: 1 Time(s)
    dovecot: imap([email protected]): Warning: read(/var/run/dovecot/dict): dict lookup took 10 seconds: 1 Time(s)
    dovecot: imap([email protected]): Warning: read(/var/run/dovecot/dict): dict lookup took 7 seconds: 1 Time(s)
    dovecot: imap([email protected]): Warning: read(/var/run/dovecot/dict): dict lookup took 10 seconds: 1 Time(s)
    dovecot: imap([email protected]): Warning: read(/var/run/dovecot/dict): dict lookup took 10 seconds: 1 Time(s)

dovecont -n
Code:
# 2.2.10: /etc/dovecot/dovecot.conf
# OS: Linux 3.10.0-327.3.1.el7.x86_64 x86_64 CentOS Linux release 7.2.1511 (Core                                      )  ext4
auth_mechanisms = plain login
dict {
  quotadict = mysql:/etc/dovecot/dovecot-dict-quota.conf
}
first_valid_gid = 12
first_valid_uid = 507
last_valid_uid = 507
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
lmtp_save_to_detail_mailbox = yes
mail_location = maildir:/home/vmail/%d/%n
mail_plugins = " autocreate"
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacati                                      on subaddress comparator-i;ascii-numeric relational regex imap4flags copy includ                                      e variables body enotify environment mailbox date ihave
passdb {
  args = /etc/dovecot/dovecot-mysql.conf
  driver = sql
}
plugin {
  acl = vfile:/etc/dovecot/acls
  autocreate = Trash
  autocreate2 = Junk
  autocreate3 = Drafts
  autocreate4 = Sent
  autosubscribe = Trash
  autosubscribe2 = Junk
  autosubscribe3 = Drafts
  autosubscribe4 = Sent
  quota = dict:user::proxy::quotadict
  sieve = ~/dovecot.sieve
  sieve_dir = ~/sieve
  sieve_global_dir = /home/sieve/
  sieve_global_path = /home/sieve/globalfilter.sieve
  sieve_max_script_size = 1M
  trash = /etc/dovecot/trash.conf
}
protocols = imap pop3 lmtp sieve
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-userdb {
    group = mail
    mode = 0666
    user = vmail
  }
}
service dict {
  unix_listener dict {
    group = mail
    mode = 0666
    user = vmail
  }
}
service imap-login {
  inet_listener imap {
    port = 143
  }
  inet_listener imaps {
    port = 993
    ssl = yes
  }
}
service imap {
  vsz_limit = 256 M
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
  process_min_avail = 0
  service_count = 1
  vsz_limit = 64 M
}
service pop3-login {
  inet_listener pop3 {
    port = 110
  }
  inet_listener pop3s {
    port = 995
    ssl = yes
  }
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
  driver = prefetch
}
userdb {
  args = /etc/dovecot/dovecot-mysql.conf
  driver = sql
}
protocol lda {
  mail_plugins = quota sieve
  postmaster_address = [email protected]
}
protocol imap {
  imap_client_workarounds = delay-newmail
  mail_plugins = quota imap_quota trash
}
protocol lmtp {
  mail_plugins = sieve
}
protocol pop3 {
  mail_plugins = quota
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
protocol sieve {
  managesieve_implementation_string = Dovecot Pigeonhole
  managesieve_max_compile_errors = 5
  managesieve_max_line_length = 65536
}

Thanks in advance
Czarek.
 
Back
Top