to squat or not to squat?

alex at milivojevic.org alex at milivojevic.org
Fri Jul 8 12:30:22 EDT 2005


Quoting Jules Agee <julesa at pcf.com>:

> alex at milivojevic.org wrote:
>> What "squat" is doing exactly?  What do I gain if I use it?  What do 
>> I loose if
>> I don't use it?  When does it make sense to start using it, and when 
>> I simply
>> should not be bothered with it?
>
> Running squatter indexes the text of all the messages in a particular
> mailbox, and creates an index file in that mailbox that Cyrus will use
> if the mail client makes a SEARCH request. When a user tries to search
> through the content of their messages for a particular string, if
> squatter has been run on that mailbox recently, it will be much, much
> faster.
>
> I run squatter nightly. As far as I know, if squatter fails on a
> mailbox, that generally just means that searches won't be able to use
> the index for that mailbox, and they will be slower than they would
> otherwise.

Thanks for clearing thigns for me.  I currently have (the most common 
suggestion
found on web):

squatter      cmd="squatter -r user" period=1440

Which gives one run daily.  But I like the idea of running it 
explicitly during
night more.  And the "-s" option looks usefull too (to skip inactive
mailboxes).  I guess all I need is to change this to:

squatter      cmd="squatter -rs user" at=0100

Right?

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list