Frequent DBERROR DB4

Igor Brezac igor at ipass.net
Wed Nov 9 17:23:57 EST 2005


On Wed, 9 Nov 2005, Stephen Conway wrote:

> Hello Igor:
>
> The locker number does indeed continue to grow, in the 500s one time even
> into the 1000s.  My next problem is this, I have it installed 2.1.12 from
> the tar source, what steps should I take to install the new version?  Should
> I download the source, or is it possible for me to use the rpm on RH8?  I
> saw the readme from the rpms and it said not to install it if you have
> previously tried to install from source.  What should I backup prior to
> trying to install either the source or the rpm?

If you do not change berkeley api, the upgraded cyrus imapd should just 
work (this does not mean you should not backup)  I install everything 
from sources.

-Igor

>
> Thanks,
>
> Steve
>
> -----Original Message-----
> From: Igor Brezac [mailto:igor at ipass.net]
> Sent: Wednesday, November 09, 2005 3:25 PM
> To: Stephen Conway
> Cc: info-cyrus at lists.andrew.cmu.edu
> Subject: RE: Frequent DBERROR DB4
>
>
> On Wed, 9 Nov 2005, Stephen Conway wrote:
>
>> Hello:
>>
>> But, can these cause the server to eventually stop responding?  POP and
> IMAP
>
> Not unless the locker number continues to grow.
>
>> connections are no longer possible, and after a restart it comes back.  So
>> the next question is, should I consider an upgrade, and if so, what steps
>> should I consider?  What should I backup prior to installing?  Am I able
> to
>> use the rpm?
>
> Upgrade cyrus will fix your problem.
>
> -Igor
>
>>
>> Thanks,
>>
>> Steve
>>
>> -----Original Message-----
>> From: Marcelo H. Terres [mailto:mhterres at gmail.com]
>> Sent: Wednesday, November 09, 2005 2:25 PM
>> To: Stephen Conway
>> Subject: Re: Frequent DBERROR DB4
>>
>> http://asg.web.cmu.edu/cyrus/download/imapd/faq.html
>>
>> Q: I'm getting messages in imapd.log like:
>>
>> Sep 11 17:23:55 ogg lmtpd[773]: DBERROR db3: 16 lockers
>> Sep 11 17:23:55 ogg lmtpd[1409]: DBERROR db3: 17 lockers
>> Sep 11 17:23:56 ogg lmtpd[1508]: DBERROR db3: 9 lockers
>> Sep 11 17:23:56 ogg lmtpd[776]: DBERROR db3: 9 lockers
>>
>> What's wrong?
>>
>>   A: Nothing is wrong. These messages are logged whenever Berkeley
>> db encounters lock contention, but isn't necessarily a problem by
>> themselves. This is especially likely when you have an empty or small
>> duplicate delivery database and are receiving a large volume of
>> e-mail.
>>
>>   Berkeley db 4.0 has a bug where the number of lockers isn't
>> decremented properly, causing this number to be unreliable.
>>
>> []
>>
>>
>> 2005/11/9, Stephen Conway <sconway at wlnet.com>:
>>> Hello:
>>>
>>> We have a Cyrus IMAPD server version 2.1.12 running on a RH 8 server.
> All
>>> is working find up until last week, now we are getting increasing errors
>> as
>>> follows:
>>>
>>> Nov  7 22:36:33 antar lmtpd[1057]: DBERROR db4: 50 lockers
>>>
>>> The number before lockers keeps going higher and higher until eventually
>> the
>>> server stops receiving pop and imap connections.  After a restart of the
>>> server, it starts over again.  My question is, how can I stop these, and
>> why
>>> after a reboot does it reset down to 1 again?  I have read a bit in the
>>> archives and it seems that this has something to do with Berkley DB and
>> that
>>> updating to newest version of Cyrus should fix this, is this correct?  If
>>> so, what are the necessary steps to install the latest version,
> preserving
>>> the existing system, users, messages, etc.
>>>
>>> In addition, previous version was not installed with the RPM, can you let
>> me
>>> know where to find the RPM for RH8?
>>>
>>> Any light you can shed is appreciated.
>>>
>>> Regards,
>>>
>>> Steve
>>>
>>>
>>> --
>>> ShipMail Now 30% Faster
>>>
>>> ----
>>> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
>>> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
>>> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>>>
>>
>>
>> --
>> Marcelo H. Terres
>> mhterres at gmail.com
>>
>>
>>
>
>

-- 
Igor



More information about the Info-cyrus mailing list