cyrus failed to mmap annotations.db.NEW file: Cannot allocate memory

Jan Kowalsky jankow at datenkollektiv.net
Fri Dec 16 17:49:02 CET 2016


Hi all,

I have a very urgent problem with a kolab cyrus setup:

While trying to create a new mailfolder (or calendar) we reproducable
get the following errors in log.

Dec 16 16:36:24 mail imap[2503]: IOERROR: mapping
/srv/imap/config/annotations.db.NEW file: Cannot allocate memory
Dec 16 16:36:24 mail imap[2503]: Fatal error: failed to mmap
/srv/imap/config/annotations.db.NEW file
Dec 16 16:36:24 mail imap[2503]: twoskip:
/srv/imap/config/annotations.db closed while still locked


If I create e.g. the calendar via roundcube, the created folder seems to
get correct metadata:

  /shared/vendor/cmu/cyrus-imapd/partition          default
  /shared/vendor/cmu/cyrus-imapd/lastupdate         16-Dec-2016 17:44:07
+0100
  /shared/vendor/cmu/cyrus-imapd/duplicatedeliver   false
  /shared/vendor/cmu/cyrus-imapd/pop3newuidl        true
  /shared/vendor/cmu/cyrus-imapd/size               0
  /shared/vendor/cmu/cyrus-imapd/sharedseen         false
  /shared/vendor/kolab/folder-type                  event
  /shared/vendor/cmu/cyrus-imapd/uniqueid           2b4d862e585419d7


If I create the calendar entry from inside the calendar view I get an
error displayed: Fehler beim Speichern.: [SETMETADATA: Fatal error:
failed to mmap /srv/imap/config/annotations.db.NEW file]

While creating it from the -> settings -> folder interface there is no
error but the same in logfile.

We're running
2.5~dev2015021301-0~kolab1
in kolab 3.4 on debian.

The annotations.db is twoscip. All I've found about similar problems
like https://forge.univention.org/bugzilla/show_bug.cgi?id=28464 are
related to berkeley db - not to twoskip.

Any Idea?
Thanks
Jankow


More information about the users mailing list