DBERROR and DB_CONFIG

Igor Brezac igor at ipass.net
Wed Jul 2 07:53:51 EDT 2003


On Wed, 2 Jul 2003, Julien Marchal wrote:

> Hi,
>
> I have problem with cyrus and db berkeley :
>
> DBERROR:lmtpd: unable to init duplicate delivery database
> DBERROR: opening /home/cyrus/conf/mailboxes.db: Cannot allocate memory
> DBERROR: opening /home/cyrus/conf/mailboxes.db: cyrusdb error
> FATAL: can't read mailboxes file
> DBERROR db4: Database handles open during environment close
>
> DBERROR db4: 1136 lockers
>
> I saw this problem in the list :
> http://asg.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrus&searchterm=db_config&msg=19382
>
> But i don't how to tune my cyrus installation to put the good parameter in the DB_CONFIG.
> Has anyone an exemple of DB_CONFIG ?

You do not need to tune berkeley db.

>
> Configuration is:
> cyrus_2.1.13 (one with 1500 users and an other with 20000 students)
> BerkeleyDB.4.1.25
> Linux redhat 7.1

Apply the following patches:
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/master/service.c.diff?r1=1.42&r2=1.43
and
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/master/service-thread.c.diff?r1=1.10&r2=1.11

-- 
Igor




More information about the Info-cyrus mailing list