Mark Sapiro ha scritto:
I have been running Dovecot 1.2.5 since Sept 14. Beginning at about
03:28 on Sept 21 for no apparent (to me) reason and continuing through
the present, I am seeing log messages like the following and am
experiencing delays logging in.
Same problem here, after about the same time from last server re start.
Last restart log is:
Sep 14 19:05:07 server dovecot: Dovecot v1.2.5 starting up (core dumps
disabled)
First failure is:
Sep 23 06:26:14 server dovecot: pop3-login: Fatal: io_loop_handle_add:
epoll_ctl(1, 5): Operation not permitted
After the attached piece of log, the mail log is full of the same
failure, and no customer can login using pop3 (imap works with no problems)
After a server restart the problem was vanished.
May be there is some kind of resource leakage.
Marco
P.S: This is my configuration is
# 1.2.5: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.26-2-xen-amd64 x86_64 Debian 5.0.3
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap imaps pop3 pop3s managesieve
ssl_cert_file: /etc/ssl/certs/server.pem
ssl_key_file: /etc/ssl/private/server.key
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
first_valid_uid: 2000
last_valid_uid: 2000
first_valid_gid: 2000
last_valid_gid: 2000
mail_privileged_group: mail
mail_location: maildir:~/Maildir
mbox_write_locks: fcntl dotlock
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_executable(managesieve): /usr/lib/dovecot/managesieve
mail_plugins(default): quota imap_quota expire trash
mail_plugins(imap): quota imap_quota expire trash
mail_plugins(pop3): quota expire
mail_plugins(managesieve):
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
imap_client_workarounds(default): delay-newmail
imap_client_workarounds(imap): delay-newmail
imap_client_workarounds(pop3):
imap_client_workarounds(managesieve):
pop3_save_uidl(default): no
pop3_save_uidl(imap): no
pop3_save_uidl(pop3): yes
pop3_save_uidl(managesieve): no
pop3_uidl_format(default): %08Xu%08Xv
pop3_uidl_format(imap): %08Xu%08Xv
pop3_uidl_format(pop3): %f
pop3_uidl_format(managesieve): %08Xu%08Xv
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
pop3_client_workarounds(managesieve):
namespace:
type: private
separator: .
inbox: yes
list: yes
subscriptions: yes
namespace:
type: private
separator: .
prefix: INBOX.
hidden: yes
list: no
subscriptions: yes
lda:
postmaster_address: postmas...@xcon.it
mail_plugins: quota sieve expire
auth_socket_path: /var/run/dovecot/auth-master
auth default:
mechanisms: plain login
passdb:
driver: sql
args: /etc/dovecot/dovecot-sql.conf
userdb:
driver: prefetch
userdb:
driver: sql
args: /etc/dovecot/dovecot-sql.conf
socket:
type: listen
client:
path: /var/spool/postfix/private/auth
mode: 432
user: postfix
group: postfix
master:
path: /var/run/dovecot/auth-master
mode: 384
user: vmail
group: vmail
plugin:
quota: dict:user::proxy::quota
quota2: dict:domain:%d:proxy::quota_domain
trash: /etc/dovecot/dovecot-trash.conf
expire: Trash 7 Trash/* 7 Cestino 7 Cestino/* 7 Junk 30 Spam 30
expire_dict: proxy::expire
sieve: ~/.dovecot.sieve
sieve_dir: ~/sieve
dict:
quota: pgsql:/etc/dovecot/dovecot-dict-quota.conf
quota_domain: pgsql:/etc/dovecot/dovecot-dict-quota-domain.conf
expire: pgsql:/etc/dovecot/dovecot-dict-expire.conf
--
---------------------------------------------------------------------
| Marco Nenciarini | Debian/GNU Linux Developer - Plug Member |
| mnen...@prato.linux.it | http://www.prato.linux.it/~mnencia |
---------------------------------------------------------------------
Key fingerprint = FED9 69C7 9E67 21F5 7D95 5270 6864 730D F095 E5E4
Sep 23 06:26:12 server dovecot: pop3-login: Login: user=<x...@xxx.xx>, method=PLAIN, rip=11.22.33.44 lip=11.22.33.44 TLS
Sep 23 06:26:13 server dovecot: POP3(x...@xxx.xx): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Sep 23 06:26:14 server dovecot: pop3-login: Fatal: io_loop_handle_add: epoll_ctl(1, 5): Operation not permitted
Sep 23 06:26:14 server dovecot: dovecot: Temporary failure in creating login processes, slowing down for now
Sep 23 06:26:14 server dovecot: POP3(x...@xxx.xx): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Sep 23 06:26:15 server dovecot: pop3-login: Login: user=<x...@xxx.xx>, method=PLAIN, rip=11.22.33.44 lip=11.22.33.44 TLS
Sep 23 06:26:15 server dovecot: POP3(x...@xxx.xx): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Sep 23 06:26:15 server dovecot: pop3-login: Login: user=<x...@xxx.xx>, method=PLAIN, rip=11.22.33.44 lip=11.22.33.44 TLS
Sep 23 06:26:17 server dovecot: POP3(x...@xxx.xx): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Sep 23 06:26:18 server dovecot: POP3(x...@xxx.xx): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Sep 23 06:26:19 server dovecot: POP3(x...@xxx.xx): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Sep 23 06:27:14 server dovecot: dovecot: Created login processes successfully, unstalling
Sep 23 06:27:14 server dovecot: pop3-login: Disconnected (no auth attempts): rip=11.22.33.44 lip=11.22.33.44
Sep 23 06:27:14 server dovecot: pop3-login: Fatal: io_loop_handle_add: epoll_ctl(1, 5): Operation not permitted
Sep 23 06:27:14 server dovecot: dovecot: Temporary failure in creating login processes, slowing down for now
Sep 23 06:27:14 server dovecot: pop3-login: Login: user=<x...@xxx.xx>, method=PLAIN, rip=11.22.33.44 lip=11.22.33.44 TLS
Sep 23 06:27:17 server dovecot: POP3(x...@xxx.xx): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Sep 23 06:28:14 server dovecot: dovecot: Created login processes successfully, unstalling
Sep 23 06:28:14 server dovecot: pop3-login: Disconnected (no auth attempts): rip=11.22.33.44 lip=11.22.33.44
Sep 23 06:28:14 server dovecot: pop3-login: Fatal: io_loop_handle_add: epoll_ctl(1, 5): Operation not permitted
Sep 23 06:28:14 server dovecot: dovecot: Temporary failure in creating login processes, slowing down for now
Sep 23 06:28:14 server dovecot: dovecot: Created login processes successfully, unstalling
Sep 23 06:28:14 server dovecot: pop3-login: Disconnected (no auth attempts): rip=11.22.33.44 lip=11.22.33.44
Sep 23 06:28:15 server dovecot: pop3-login: Fatal: io_loop_handle_add: epoll_ctl(1, 5): Operation not permitted
Sep 23 06:28:15 server dovecot: dovecot: Temporary failure in creating login processes, slowing down for now
Sep 23 06:28:15 server dovecot: dovecot: Created login processes successfully, unstalling
Sep 23 06:28:15 server dovecot: pop3-login: Disconnected (no auth attempts): rip=11.22.33.44 lip=11.22.33.44
Sep 23 06:28:15 server dovecot: pop3-login: Login: user=<x...@xxx.xx>, method=PLAIN, rip=11.22.33.44 lip=11.22.33.44
Sep 23 06:28:15 server dovecot: POP3(x...@xxx.xx): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Sep 23 06:28:16 server dovecot: pop3-login: Fatal: io_loop_handle_add: epoll_ctl(1, 5): Operation not permitted
Sep 23 06:28:16 server dovecot: dovecot: Temporary failure in creating login processes, slowing down for now
Sep 23 06:28:16 server dovecot: pop3-login: Disconnected (no auth attempts): rip=11.22.33.44 lip=11.22.33.44
Sep 23 06:28:16 server dovecot: dovecot: Created login processes successfully, unstalling
Sep 23 06:28:16 server dovecot: pop3-login: Disconnected (no auth attempts): rip=11.22.33.44 lip=11.22.33.44
Sep 23 06:28:17 server dovecot: pop3-login: Fatal: io_loop_handle_add: epoll_ctl(1, 5): Operation not permitted
Sep 23 06:28:17 server dovecot: dovecot: Temporary failure in creating login processes, slowing down for now
Sep 23 06:28:17 server dovecot: dovecot: Created login processes successfully, unstalling
Sep 23 06:28:17 server dovecot: pop3-login: Login: user=<x...@xxx.xx>, method=PLAIN, rip=11.22.33.44 lip=11.22.33.44
Sep 23 06:28:17 server dovecot: pop3-login: Disconnected (no auth attempts): rip=11.22.33.44 lip=11.22.33.44
Sep 23 06:28:17 server dovecot: POP3(x...@xxx.xx): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Sep 23 06:28:18 server dovecot: pop3-login: Fatal: io_loop_handle_add: epoll_ctl(1, 5): Operation not permitted
Sep 23 06:28:18 server dovecot: dovecot: Temporary failure in creating login processes, slowing down for now
Sep 23 06:28:18 server dovecot: dovecot: Created login processes successfully, unstalling