how and why to use SQUAT?

Mathieu Arnold mat at mat.cc
Fri Nov 15 02:58:55 EST 2002



--On jeudi 14 novembre 2002 13:05 -0500 Ken Murchison <ken at oceana.com>
wrote:

> 
> 
> Scott Douglass wrote:
>> 
>> Hi Folks,
>> 
>> I've seen a few messages about SQUAT on the list, and I'm wondering if I
>> should use it. I've read through the source code (which is the only
>> documentation I could find...) and it seems like it's intended to speed
>> up searches in the messages. Does this work?
> 
> Yes.
> 
>> How do I set up the
>> indexes? Do I need to add any squatter references in my cyrus.conf?
> 
> Yes.  Add squatter EVENT(s) for the mailboxes that you'd like to index,
> assuming that the mailbox grows (so that new messages get added to the
> index).  If the mailbox is static, just run squatter on it by hand.
> 
> I would only bother doing this for large mailboxes, since that is where
> you will see the greatest performance gain.

I was wondering if there was a way to disable squat, as in the source it
does not seem to be the case as having my logs filling with things like :

Nov 15 08:51:56 ouinch imapd[20922]: open: user mat opened INBOX/Mailing
Lists/lists.andrew.cmu.edu/cyrus-info
Nov 15 08:51:57 ouinch imapd[20922]: SQUAT failed to open index file
Nov 15 08:51:57 ouinch imapd[20922]: SQUAT failed
Nov 15 08:51:57 ouinch imapd[20922]: SQUAT failed to open index file
Nov 15 08:51:57 ouinch imapd[20922]: SQUAT failed
Nov 15 08:51:57 ouinch imapd[20922]: SQUAT failed to open index file
Nov 15 08:51:57 ouinch imapd[20922]: SQUAT failed

is not the mose usefull thing :)

-- 
Mathieu Arnold




More information about the Info-cyrus mailing list