Statuscache

Bron Gondwana brong at fastmail.fm
Thu Feb 14 06:10:19 EST 2008


On Thu, Feb 14, 2008 at 10:26:50AM +0000, David Carter wrote:
>
> Tried running the status cache on one of my live systems for the first
> time this morning. It ran fine for 90 minutes, and then exploded:
>
>  Feb 14 09:27:06 cyrus-25 imap[13489]: DBERROR db4:
>    Logging region out of memory; you may need to increase its size
>
>  [...]

Yeah, we tune a bit:

set_cachesize 0 2097152 1
set_lg_regionmax 2097152
set_lg_bsize 2097152
set_lg_max 4194304
set_tx_max 200
set_tas_spins 1

>  Feb 14 09:27:06 cyrus-25 master[2791]:
>    service imap pid 13489 in READY state: terminated abnormally
>
> This might be something stupid that I did in porting statuscache to my own 
> source tree, but I didn't touch anything in statuscache_db.c
>
> I'm not convinced that there was any significant preformance gain during 
> the 90 minutes or so that it was running. Our Webmail interface doesn't use 
> the STATUS command at all, so I suspect that we are making a lot of 
> statuscache updates for little gain. Still a useful experiment.

Fair enough.  Ours does, so it matters to us.

Bron.


More information about the Cyrus-devel mailing list