ctl_cyrusdb checkpoint no longer removing log files

Aidan Evans ae at is.dal.ca
Thu May 22 23:46:18 EDT 2003


  Has anyone run across this before: ctl_cyrusdb is not deleting database
log files (Berkeley 4.0.14) any more.  It used to be that one would see log
message sequences like

	ctl_cyrusdb[32033]: checkpointing cyrus databases
	ctl_cyrusdb[32033]: archiving database file: /imap/mailboxes.db
	ctl_cyrusdb[32033]: removing log file: /imap/db/log.0000000911
	ctl_cyrusdb[32033]: archiving log file: /imap/db/log.0000000912
	ctl_cyrusdb[32033]: done checkpointing cyrus databases

but now there are no more "removing log file" messages and /imap/db (and
/imap/db.backup1 and /imap/db.backup2) has dozens of log files.

  Cyrus (master) has been up since April 9.  The problem appears to have
started on May 8.  "db_stat -c" reports

165845 Last allocated locker ID.
9       Number of lock modes.
50000   Maximum number of locks possible.
50000   Maximum number of lockers possible.
50000   Maximum number of objects possible.
47M     Current locks.
47M     Maximum number of locks so far.
14694   Current number of lockers.
14702   Maximum number  lockers so far.
0       Current number lock objects.
16      Maximum number of lock objects so far.
148M    Number of lock requests.
148M    Number of lock releases.
0       Number of lock requests that would have waited.
4890    Number of lock conflicts.
21      Number of deadlocks.
0       Number of transaction timeouts.
0       Number of lock timeouts.
17MB 232KB      Lock region size (18063360 bytes).
7210    The number of region locks granted after waiting.
211M    The number of region locks granted without waiting.


name       : Cyrus IMAPD
version    : v2.1.11 2002/12/04 14:53:12
vendor     : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os         : Linux
os-version : 2.4.18-19.7.xsmp-san
environment: Cyrus SASL 2.1.2
             Sleepycat Software: Berkeley DB 4.0.14: (November 18, 2001)
             OpenSSL 0.9.6b [engine] 9 Jul 2001
             CMU Sieve 2.2
             TCP Wrappers
             mmap = shared
             lock = fcntl
             nonblock = fcntl
             auth = unix
             idle = poll
             mboxlist.db = skiplist
             subs.db = flat
             seen.db = flat
             duplicate.db = db3-nosync
             tls.db = db3-nosync


Aidan Evans   | Networks & Systems
(902)494-3332 | University Computing & Information Services
              | Dalhousie University, Halifax, N.S., Canada





More information about the Info-cyrus mailing list