[Bug 242400] databases/lmdb: cyrus-imapd30 database locking issues

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 3 11:27:36 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242400

            Bug ID: 242400
           Summary: databases/lmdb: cyrus-imapd30 database locking issues
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: regression
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: delphij at FreeBSD.org
          Reporter: arcade at b1t.name
             Flags: maintainer-feedback?(delphij at FreeBSD.org)
          Assignee: delphij at FreeBSD.org

I'll try to summarize what I'm facing since the last lmdb update:

Dec  3 13:07:45 limbo httpd[65465]: unable to tell master 1: Broken pipe
Dec  3 13:08:33 limbo ctl_cyrusdb[76556]: skiplist: clean shutdown file
missing, updating recovery stamp
Dec  3 13:08:33 limbo ctl_cyrusdb[76556]: recovering cyrus databases
Dec  3 13:08:33 limbo ctl_cyrusdb[76556]: cyrusdb_lmdb(/var/imap/quotas.db): No
such file or directory
Dec  3 13:08:33 limbo ctl_cyrusdb[76556]: cyrusdb_lmdb(/var/imap/quotas.db): No
such file or directory
Dec  3 13:08:33 limbo ctl_cyrusdb[76556]: DBERROR: opening /var/imap/quotas.db:
cyrusdb error
Dec  3 13:08:33 limbo ctl_cyrusdb[76556]: cyrusdb_lmdb: closing stray database
/var/imap/mailboxes.db

This is happening for some time to me now. I checked databases, nagged cyrus
people on IRC but generally without any results. The whole problem is somewhere
around LMDB usage. During night when backups start the database gets locked and
is not released. All processes spawned by master died. The only ones staying
alive are 'master' and 'idled'. Starting processes gives file not found error.
The file is indeed in place, it's just not detected or not properly locked...

Also when the processes are holding there I can't restart 'master' to make
everything work, I need to also kill all stray processes.

Currently I have only LMDB to blame so I reverted to previous version. Moving
quota from LMDB also works, but that's kindda funny cause whole quota db is
like 8k only.

I'll try to update if I find something else.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list