Cyrus restart: ctl_deliver takes very long!

Christoph Nagelreiter Christoph.Nagelreiter at etel.at
Sun Mar 7 20:40:28 EST 2004


Hello,

after restarting Cyrus ctl_cyrusdb and ctl_deliver takes very long. 

- ctl_cyrusdb about 12 Minutes
- ctl_deliver about !!!! 101 Minutes

Mar  8 00:31:28 oscar-mail master[20685]: exiting on SIGTERM
Mar  8 00:31:38 oscar-mail master[16113]: setrlimit: Unable to set file
descriptors limit to -1: Operation not permitted
Mar  8 00:31:38 oscar-mail master[16113]: retrying with 1024 (current
max)
Mar  8 00:31:38 oscar-mail master[16113]: process started
Mar  8 00:31:38 oscar-mail master[16115]: about to exec
/usr/cyrus/bin/ctl_cyrusdb
Mar  8 00:31:38 oscar-mail ctl_cyrusdb[16115]: recovering cyrus
databases
Mar  8 00:43:34 oscar-mail ctl_cyrusdb[16115]: done recovering cyrus
databases
Mar  8 00:43:34 oscar-mail master[18325]: about to exec
/usr/cyrus/bin/ctl_deliver
Mar  8 02:24:01 oscar-mail master[16113]: ready for work
Mar  8 02:24:01 oscar-mail master[5263]: about to exec
/usr/cyrus/bin/ctl_deliver
Mar  8 02:24:01 oscar-mail master[5264]: about to exec
/usr/cyrus/bin/ctl_mboxlist
Mar  8 02:24:01 oscar-mail master[5265]: about to exec
/usr/cyrus/bin/imapd
Mar  8 02:24:01 oscar-mail master[5266]: about to exec
/usr/cyrus/bin/pop3d
Mar  8 02:24:01 oscar-mail ctl_deliver[5263]: duplicate_prune: pruning
back 3 days

ERRORS in cyrus.log  (is this normal???):

Mar  8 02:24:01 oscar-mail ctl_deliver[5263]: DBERROR db4: 5 lockers
Mar  8 02:24:01 oscar-mail imapd[5267]: DBERROR db4: 7 lockers
Mar  8 02:24:01 oscar-mail ctl_deliver[5263]: DBERROR db4: 7 lockers
Mar  8 02:24:01 oscar-mail ctl_deliver[5263]: DBERROR db4: 10 lockers
Mar  8 02:24:01 oscar-mail ctl_deliver[5263]: DBERROR db4: 11 lockers
Mar  8 02:24:01 oscar-mail ctl_deliver[5263]: DBERROR db4: 12 lockers
Mar  8 02:24:01 oscar-mail ctl_deliver[5263]: DBERROR db4: 15 lockers
Mar  8 02:24:01 oscar-mail ctl_deliver[5263]: DBERROR db4: 14 lockers
Mar  8 02:24:01 oscar-mail ctl_deliver[5263]: DBERROR db4: 15 lockers
Mar  8 02:24:01 oscar-mail pop3d[5273]: DBERROR db4: 18 lockers
Mar  8 02:24:01 oscar-mail ctl_deliver[5263]: DBERROR db4: 18 lockers
Mar  8 02:24:01 oscar-mail ctl_deliver[5263]: DBERROR db4: 18 lockers
Mar  8 02:24:57 oscar-mail pop3d[5646]: DBERROR db4: 22 lockers
Mar  8 02:24:57 oscar-mail pop3d[5650]: DBERROR db4: 25 lockers
Mar  8 02:24:57 oscar-mail pop3d[5652]: DBERROR db4: 28 lockers


Cyrus.conf:
===========
START {
   mboxlist cmd="ctl_cyrusdb -r"
   deliver cmd="ctl_deliver -r"
}

SERVICES {
   imap cmd="imapd" listen="imap" prefork=5
   imaps cmd="imapd -s" listen="imaps" prefork=0
   pop3 cmd="pop3d" listen="pop3" prefork=5
   pop3s cmd="pop3d -s" listen="pop3s" prefork=0
   sieve cmd="timsieved" listen="sieve" prefork=0
   lmtpunix cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
}

EVENTS {
   checkpoint cmd="ctl_mboxlist -c" period=5

   delprune cmd="ctl_deliver -E 3" period=1440
}


DB - Files:
===========
-rw-------    1 cyrus    mail     18579456 Mar  8 00:54 deliver.db
-rw-------    1 cyrus    mail       503808 Mar  8 00:54 mailboxes.db
-rw-------    1 cyrus    mail     59301888 Mar  8 00:54 tls_sessions.db

System:
I am using SuSE Linux 8.0 (kernel 2.4.24), Sendmail, Cyrus Vers. 2.1.13

Thanks.
Regards,
Chris

---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list