Skiplist feedback (was: BerkeleyDB problems, converting away)

Tuomas Toropainen tuomas.toropainen at lanwan.fi
Thu Mar 15 01:46:57 EST 2007


Good morning

I understood that you wanted to hear feedback from users about skiplist. 
A couple of weeks ago I converted all remaining cyrus databases to 
skiplist. The conversion went fine and skiplist is working very well. I 
got rid of berleleydb errors and I am happy :) I can recommend this to 
anybody who does not like berkeleydb.

I used this simple conversion script

---8<---
#!/bin/sh

/etc/init.d/cyrus2.2 stop

cd /root/cyrus-tietokantakonversio/

cp /var/lib/cyrus/deliver.db 
/root/cyrus-tietokantakonversio/berkeleydb-vanhat
cp /var/lib/cyrus/tls_sessions.db 
/root/cyrus-tietokantakonversio/berkeleydb-vanhat

cp -r /var/lib/cyrus/db/ /root/cyrus-tietokantakonversio/berkeleydb-vanhat

cp berkeleydb-vanhat/deliver.db ./deliver.db.berkeley
cp berkeleydb-vanhat/tls_sessions.db ./tls_sessions.db.berkeley

/usr/sbin/cvt_cyrusdb 
/root/cyrus-tietokantakonversio/deliver.db.berkeley berkeley 
/root/cyrus-tietokantakonversio/deliver.db.skiplist skiplist
/usr/sbin/cvt_cyrusdb 
/root/cyrus-tietokantakonversio/tls_sessions.db.berkeley berkeley 
/root/cyrus-tietokantakonversio/tls_sessions.db.skiplist skiplist

cp imapd.conf.skiplist /etc/imapd.conf

cp deliver.db.skiplist /var/lib/cyrus/deliver.db
cp tls_sessions.db.skiplist /var/lib/cyrus/tls_sessions.db

rm -f /var/lib/cyrus/db/log.*

/etc/init.d/cyrus2.2 start
---8<---

Cyrus developers, please, change the defaults to skiplist, or anything 
else than berkeleydb. At least in this use berkeleydb seems to be really 
crappy, and I personally find stupid defaults very annoying, especially 
when changing them afterwards might be risky.

Some background info about server: ~50 users, ~50 GB mail, ~1500 
incoming messages/day. So not very busy one. Decent server hardware.


More information about the Info-cyrus mailing list