From owner-freebsd-ports-bugs@freebsd.org Tue Dec 3 11:27:36 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C098D1AAC05 for ; Tue, 3 Dec 2019 11:27:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47S0884r3kz4HSr for ; Tue, 3 Dec 2019 11:27:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A42F41AAC03; Tue, 3 Dec 2019 11:27:36 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A3F221AAC02 for ; Tue, 3 Dec 2019 11:27:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47S0883v8bz4HSn for ; Tue, 3 Dec 2019 11:27:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5025AF069 for ; Tue, 3 Dec 2019 11:27:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xB3BRaIm010666 for ; Tue, 3 Dec 2019 11:27:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xB3BRaUJ010665 for ports-bugs@FreeBSD.org; Tue, 3 Dec 2019 11:27:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 242400] databases/lmdb: cyrus-imapd30 database locking issues Date: Tue, 03 Dec 2019 11:27:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: arcade@b1t.name X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: delphij@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Dec 2019 11:27:36 -0000 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.=