ctl_cyrusdb -r takes too long

Eric.Doutreleau at int-evry.fr Eric.Doutreleau at int-evry.fr
Sat Dec 14 12:19:51 EST 2002


On Sat, 14 Dec 2002, Jatin Nansi wrote:

Hi

Have you checked if the checkpoint are really done.

I had that kind of problem twice and each time the ctl_cyrusdb -r take 
long because it was several days the checkpoint wasn't made.

I didn ' solve the problem but i never got it again.
I have made a script wich periodically check if the checkpoint is done.

If not the cyrus-imapd is restart the night after.
As the checkpoint is not made for less than a day it take less than an 
hour to restart.

I think this problem is not related to cyrus but moreover of the db3 
database.
It s kind of database corruption that prevet the checkpoint to be made.


> Hi,
> 
> This is for cyrus gurus and for record:
> 
> -------------------------------------------------------
> Dec 13 20:10:21 mail3 master[4574]: process started
> Dec 13 20:10:21 mail3 master[4575]: about to exec /usr/cyrus/bin/ctl_cyrusdb
> Dec 13 20:10:21 mail3 ctl_cyrusdb[4575]: recovering cyrus databases
> Dec 14 06:15:11 mail3 ctl_cyrusdb[4575]: done recovering cyrus databases
> Dec 14 06:15:11 mail3 master[4574]: ready for work
> Dec 14 06:15:11 mail3 master[4979]: about to exec /usr/cyrus/bin/ctl_cyrusdb
> Dec 14 06:15:11 mail3 master[4982]: about to exec /usr/cyrus/bin/imapd
> Dec 14 06:15:11 mail3 master[4983]: about to exec /usr/cyrus/bin/imapd
> Dec 14 06:15:11 mail3 master[4984]: about to exec /usr/cyrus/bin/lmtpd
> Dec 14 06:15:11 mail3 master[4985]: about to exec /usr/cyrus/bin/lmtpd
> Dec 14 06:15:11 mail3 master[4981]: about to exec /usr/cyrus/bin/tls_prune
> Dec 14 06:15:11 mail3 master[4980]: about to exec /usr/cyrus/bin/ctl_deliver
> Dec 14 06:15:11 mail3 ctl_cyrusdb[4979]: checkpointing cyrus databases
> Dec 14 06:15:11 mail3 lmtpunix[4985]: executed
> Dec 14 06:15:11 mail3 lmtp[4984]: executed
> Dec 14 06:15:11 mail3 tls_prune[4981]: mydelete: starting txn 2147483653
> -------------------------------------------------------
> 
> Will ctl_cyrusdb -r take 10 hours ? I dread the day when the system will 
> need downtime again.
> 
> This is on a decent 2 x P3 1 GHz with 100 GB scsi raid and 1 GB RAM, 
> about 2000 users, 50 MB per user.
> 
> I really need reboot times to be between 5 to 10 minutes, as against 10 
> hours. I will set the checkpoint period to 5 minutes as per the FAQ, but 
> are there any other pointers ?
> 
> Jatin
> 
> 
> 
> 
> Jatin Nansi wrote:
> 
> > Hi,
> >
> > I have a cyrus IMAP system here which is taking way too long to start 
> > up, stopping just at ctl_cyrusdb -r. There does not seem to be any 
> > activity going on, but ctl_cyrusdb just doesnot exit.
> >
> > I am running cyrus-imapd-2.1.8 on a redhat 7.3 system. The backend 
> > database is DB3.
> >
> > I need some directions on what could be wrong and where ? Is it normal 
> > for ctl_cyrusdb -r to take as much as 1 hr (and still running) to
> > finish ?
> >
> > Jatin
> >
> 
> 
> 

-- 
Eric Doutreleau
I.N.T			| Tel	: +33 (0) 160764687
9 rue Charles Fourier	| Fax	: +33 (0) 160764321
91011 Evry   France	| email	: Eric.Doutreleau at int-evry.fr





More information about the Info-cyrus mailing list