<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hello,<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I&#8217;m using:<o:p></o:p></p><p class=MsoNormal>cyrus-imapd-2.3.7<o:p></o:p></p><p class=MsoNormal>db4-4.3.29<o:p></o:p></p><p class=MsoNormal>The operating system is Linux RedHat 5.3<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Sometimes, the number of locker<span style='color:#1F497D'>s</span> increases until no more lockers are left.<o:p></o:p></p><p class=MsoNormal>I searched for lock in the maillog file (grep lock mailog):<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span style='font-size:9.0pt;color:#1F497D'>imap[12470]: DBMSG: 25913 lockers<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:#1F497D'>imap[7497]: DBMSG: 26052 lockers<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:#1F497D'>imap[5295]: DBMSG: 26528 lockers<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:#1F497D'>imap[5305]: DBMSG: 26552 lockers<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:#1F497D'>.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:#1F497D'>.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:#1F497D'>.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:#1F497D'>.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:#1F497D'>imap[13438]: DBMSG: 49823 lockers<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:#1F497D'>imap[13357]: DBMSG: 49910 lockers<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:#1F497D'>imap[25643]: DBMSG: 49955 lockers<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:#1F497D'>imap[10874]: DBERROR db4: Lock table is out of available locker entries<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:#1F497D'>imap[10875]: DBERROR db4: Lock table is out of available locker entries<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:#1F497D'>imap[10876]: DBERROR db4: Lock table is out of available locker entries<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Eventually I see the following errors:<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span style='font-size:9.0pt;color:#1F497D'>imap[16719]: DBERROR db4: PANIC: fatal region error detected; run recovery<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:#1F497D'>imap[16719]: DBERROR: critical database situation<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:#1F497D'>master[22961]: process 16719 exited, status 75<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:#1F497D'>master[22961]: service imap pid 16719 in READY state: terminated abnormally<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:#1F497D'>master[16720]: about to exec /usr/lib/cyrus-imapd/imapd<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>The number of lockers was growing for more than a week<o:p></o:p></p><p class=MsoNormal>Why this is happening?<o:p></o:p></p><p class=MsoNormal>How can I fix it?<o:p></o:p></p><p class=MsoNormal>How can I reproduce it?<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Thank you,<o:p></o:p></p><p class=MsoNormal>Dudi<o:p></o:p></p></div></body></html>