Tokyo Tyrant ulog / update log management.

Posted by Nathan Milford on Server Fault See other posts from Server Fault or by Nathan Milford
Published on 2009-06-16T18:37:20Z Indexed on 2010/04/28 16:13 UTC
Read the original article Hit count: 664

Filed under:
|

I'm testing Tokyo Tyrant in a master-master setup and have found the ulog grows out of control and locks up the disk.

At first I found the -ulim option useful and limited the logfile size, however it simply rolls over to a new log, leaving the old ones to clutter up the partition.

I suppose I'll write a shell script that will delete ulogs older than X, once I find out how far back Tokyo Tyrant needs in the update log in order to failover.

Does anyone have any experience with this Tokyo Tyrant? Do you have a feel (acknowledging that every install is different based on what is being stored) for the optimal ulog size vs how far back a Tokyo Tyrant instance needs to look in the ulog to assume master status?

Thanks, nathan

© Server Fault or respective owner

Related posts about log

Related posts about management