Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Dec 2019 11:27:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 242400] databases/lmdb: cyrus-imapd30 database locking issues
Message-ID:  <bug-242400-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242400

            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@FreeBSD.org
          Reporter: arcade@b1t.name
             Flags: maintainer-feedback?(delphij@FreeBSD.org)
          Assignee: delphij@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 datab=
ase
/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 somew=
here
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 err=
or.
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. Movi=
ng
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242400-7788>