Cyrus 2.5, xapian, Sphinx and index sizes

Robert Mueller robm at fastmail.fm
Wed Sep 24 01:59:44 EDT 2014


> # Any time the disk gets over 50%, compress -o single down to data
> 13 *  * * * /home/mod_perl/hm/scripts/xapian_compact.pl -a -o -d 50 temp
> data
> # Copy the temporary search databases down to data during the week
> 43 1  * * 1,2,3,4,5,6 /home/mod_perl/hm/scripts/xapian_compact.pl -a
> temp,meta data
> # Sundays repack the entire data directory with filtering of deleted
> messages
> 43 1  * * 0 /home/mod_perl/hm/scripts/xapian_compact.pl -a -F
> temp,meta,data data
> 
> I'll attach the xapian_compact.pl script to this email.

It would be nice if this stuff was done from cyrus.conf for 2.5 users
rather than needing a separate cron job.

That's in the plan right ;)

Rob


More information about the Info-cyrus mailing list