1

Topic: pop3-login Too many references: cannot splice

iRedmail version: 0.8.6
Deployed with iRedMail Easy or the downloadable installer?  yes
System version: CentOS 6.10
Store mail accounts in which backend: MySQL
Web server : Apache

The problems are as follows
tail /var/log/dovecot.log |grep Error

Jan 06 17:43:14 pop3-login: Error: fd_send(pop3, 16) failed: Too many references: cannot splice
Jan 06 17:43:17 pop3-login: Error: fd_send(pop3, 16) failed: Too many references: cannot splice
Jan 06 17:43:18 pop3-login: Error: fd_send(pop3, 16) failed: Too many references: cannot splice
Jan 06 17:43:19 pop3-login: Error: fd_send(pop3, 16) failed: Too many references: cannot splice
Jan 06 17:43:21 pop3-login: Error: fd_send(pop3, 16) failed: Too many references: cannot splice

[root@mail log]# ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 63560
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 65535
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 16384
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
[root@mail log]# cat /etc/security/limits.d/90-nproc.conf
# Default limit for number of user's processes to prevent
# accidental fork bombs.
# See rhbz #432903 for reasoning.

*          soft    nproc     unlimited
root       soft    nproc     unlimited

Can help to locate the problem?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: pop3-login Too many references: cannot splice

[root@mail log]# dovecot -n
# 2.1.17: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-754.35.1.el6.x86_64 x86_64 CentOS release 6.10 (Final)
auth_master_user_separator = *
auth_mechanisms = PLAIN LOGIN
default_client_limit = 65535
default_process_limit = 20480
dict {
  acl = mysql:/etc/dovecot/dovecot-share-folder.conf
  quotadict = mysql:/etc/dovecot/dovecot-used-quota.conf
}
disable_plaintext_auth = no
first_valid_uid = 2000
last_valid_uid = 2000
listen = *
log_path = /var/log/dovecot.log
mail_gid = 2000
mail_location = maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/
mail_max_userip_connections = 2048
mail_plugins = quota
mail_uid = 2000
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave
namespace {
  inbox = yes
  location =
  prefix =
  separator = /
  type = private
}
namespace {
  list = children
  location = maildir:/%%Lh/Maildir/:INDEX=/%%Lh/Maildir/Shared/%%u
  prefix = Shared/%%u/
  separator = /
  subscriptions = yes
  type = shared
}
passdb {
  args = /etc/dovecot/dovecot-mysql.conf
  driver = sql
}
passdb {
  args = /etc/dovecot/dovecot-master-users-password
  driver = passwd-file
  master = yes
}
plugin {
  acl = vfile
  acl_shared_dict = proxy::acl
  auth_socket_path = /var/run/dovecot/auth-master
  autocreate = INBOX
  autocreate2 = Sent
  autocreate3 = Trash
  autocreate4 = Drafts
  autocreate5 = Junk
  autosubscribe = INBOX
  autosubscribe2 = Sent
  autosubscribe3 = Trash
  autosubscribe4 = Drafts
  autosubscribe5 = Junk
  quota = dict:user::proxy::quotadict
  quota_rule = *:storage=1G
  quota_warning = storage=85%% quota-warning 85 %u
  quota_warning2 = storage=90%% quota-warning 90 %u
  quota_warning3 = storage=95%% quota-warning 95 %u
  sieve = /%Lh/sieve/dovecot.sieve
  sieve_dir = /%Lh/sieve
  sieve_global_dir = /home/vmail/sieve
  sieve_global_path = /home/vmail/sieve/dovecot.sieve
}
protocols = pop3 imap sieve
service auth {
  unix_listener /var/spool/postfix/dovecot-auth {
    group = postfix
    mode = 0666
    user = postfix
  }
  unix_listener auth-master {
    group = vmail
    mode = 0666
    user = vmail
  }
  unix_listener auth-userdb {
    group = vmail
    mode = 0660
    user = vmail
  }
}
service dict {
  unix_listener dict {
    group = vmail
    mode = 0660
    user = vmail
  }
}
service imap-login {
  process_limit = 4096
  process_min_avail = 8
  service_count = 0
  vsz_limit = 1 G
}
service pop3-login {
  service_count = 1
}
service quota-warning {
  executable = script /usr/local/bin/dovecot-quota-warning.sh
  unix_listener quota-warning {
    group = vmail
    mode = 0660
    user = vmail
  }
}
ssl_cert = </etc/pki/keys/dovecot/4264653_mail.ucap.com.cn.pem
ssl_key = </etc/pki/keys/dovecot/4264653_mail.ucap.com.cn.key
userdb {
  args = /etc/dovecot/dovecot-mysql.conf
  driver = sql
}
protocol lda {
  auth_socket_path = /var/run/dovecot/auth-master
  lda_mailbox_autocreate = yes
  log_path = /var/log/sieve.log
  mail_plugins = quota sieve autocreate
  postmaster_address = root
}
protocol imap {
  imap_client_workarounds = tb-extra-mailbox-sep
  mail_max_userip_connections = 2048
  mail_plugins = quota imap_quota autocreate
}
protocol pop3 {
  mail_max_userip_connections = 2048
  mail_plugins = quota
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
  pop3_uidl_format = %08Xu%08Xv
}

3

Re: pop3-login Too many references: cannot splice

seems this was fixed in newer dovecot versions, but centOS6 run out of support long time ago:

2017-05-10

so, why don't you keep your servers up to date?

4

Re: pop3-login Too many references: cannot splice

Cthulhu wrote:

seems this was fixed in newer dovecot versions, but centOS6 run out of support long time ago:

2017-05-10

so, why don't you keep your servers up to date?

Will the upgrade fix this?