mremap_anon() failed: Not enough space

Dave McGuire mcguire at neurotica.com
Wed Jun 19 22:13:39 EEST 2019


  Hey folks.  Suddenly I'm getting lots and lots of messages like this
in my logs:

Jun 19 14:47:31 <hostname> dovecot: [ID 583609 local0.error]
imap(<address>): Error:
mremap_anon(/var/mail/<domain>/<uname>/mailboxes/INBOX/Trash/dbox-Mails/dovecot.index.cache,
255557632) failed: Not enough space

  I'm running 2.2.36.1 under Solaris 10 (patched to current) on
UltraSPARC.  There's plenty of memory, plenty of swap, and plenty of
disk, but this is a fairly busy mail server.

  Can anyone point me in the right direction?  I'm guessing I have to
increase a vsz_limit somewhere, but where?  It's not clear to me exactly
what is running out of what here.  The output of doveconf -n is pasted
below.

           Thanks,
           -Dave

--------------------------------------------------
$ doveconf -n
# 2.2.36.1 (5d621cf65): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.24 (124e06aa)
# OS: SunOS 5.10 sun4v
# Hostname: mail.neurotica.com
auth_failure_delay = 5 secs
auth_mechanisms = plain login
base_dir = /var/run/dovecot/
debug_log_path = /var/log/dovecot-debug
disable_plaintext_auth = no
first_valid_uid = 200
login_access_sockets = tcpwrap
mail_fsync = never
mail_plugins = fts fts_solr
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 index ihave duplicate mime foreverypart
extracttext editheader
mdbox_rotate_size = 64 M
mmap_disable = yes
namespace inbox {
  inbox = yes
  location =
  mailbox uncaught-spam {
    auto = subscribe
    special_use = \Junk
  }
  prefix =
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql
}
plugin {
  fts = solr
  fts_solr = break-imap-search url=http://localhost:8983/solr/
  sieve = /var/sieve-scripts/%u.sieve
  sieve_dir = ~/sieve
  sieve_extensions = +editheader
  sieve_global_dir = /var/lib/dovecot/sieve/global/
  sieve_global_path = /var/lib/dovecot/sieve/default.sieve
}
protocols = imap pop3 sieve
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-master {
    group = vmail
    mode = 0600
    user = vmail
  }
  user = root
}
service imap-login {
  process_min_avail = 10
  service_count = 10
  vsz_limit = 512 M
}
service imap {
  executable = /usr/local/libexec/dovecot/imap
  vsz_limit = 512 M
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
  process_min_avail = 1
  service_count = 1
  vsz_limit = 64 M
}
service managesieve {
  process_limit = 10
}
service pop3-login {
  process_min_avail = 10
  service_count = 10
  vsz_limit = 512 M
}
service pop3 {
  executable = /usr/local/libexec/dovecot/pop3
}
service tcpwrap {
  unix_listener login/tcpwrap {
    group = $default_login_user
    mode = 0600
    user = $default_login_user
  }
}
ssl_cert = </etc/letsencrypt/live/mail.neurotica.com/fullchain.pem
ssl_key =  # hidden, use -P to show it
syslog_facility = local0
userdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql
}
protocol pop3 {
  pop3_uidl_format = %08Xu%08Xv
}
protocol sieve {
  info_log_path = /var/log/dovecot-sieve.log
  log_path = /var/log/dovecot-sieve-errors.log
  managesieve_implementation_string = dovecot
  managesieve_max_line_length = 65536
}
protocol lda {
  mail_fsync = optimized
  mail_plugins = fts fts_solr sieve
  postmaster_address = postmaster at neurotica.com
}
protocol imap {
  imap_capability = IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND
UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 ESEARCH
ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS
  imap_client_workarounds = tb-extra-mailbox-sep
  mail_max_userip_connections = 40
  mail_plugin_dir = /usr/local/lib/dovecot
  mail_plugins = fts fts_solr
}
protocol lmtp {
  info_log_path = /var/log/dovecot-lmtp.log
  log_path = /var/log/dovecot-lmtp-errors.log
  mail_plugins = fts fts_solr sieve
}
--------------------------------------------------

-- 
Dave McGuire, AK4HZ
New Kensington, PA


More information about the dovecot mailing list