Am I going to run out of locks soon?

Igor Brezac igor at ipass.net
Thu Oct 6 17:57:25 EDT 2005


On Thu, 6 Oct 2005, Gary Mills wrote:

> On Thu, Oct 06, 2005 at 05:00:21PM -0400, Igor Brezac wrote:
>>
>> On Thu, 6 Oct 2005, Gary Mills wrote:
>>
>>> Take a look at the first and third numbers here.  The first number
>>> has been increasing.  Will something break when it hits 50000?
>>> Or, are those numbers not related?
>>>
>>> 	# su cyrus -c '/usr/local/BerkeleyDB.3.1/bin/db_stat -c'
>>> 	47690   Last allocated locker ID.
>>> 	3       Number of lock modes.
>>> 	50000   Maximum number of locks possible.
>>> 	0       Current lockers.
>>> 	0       Maximum current lockers.
>
>> This used to be an old bug in cyrus which was fixed quite awhile ago (at
>> least it was fixed for db4).  What version of cyrus-imapd do you use?
>
> Hmm, interesting.  We're still running cyrus-imapd-2.1.14.
> I'm planning on upgrading, but not this month.

Hmm, this was fixed in 2.1.14: 
https://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/master/service.c.diff?r1=1.42&r2=1.43

-- 
Igor



More information about the Info-cyrus mailing list