I'm running Squatter trying to prune my indexes and see if it helps with performance. Let's face it, that's hard. Cyrus runs SWELL on this Ultra Sparc 5.
But Squatter seems to have problems with HTML encoded mail. I've gdb'd it and here is the trace and i hope this helps. $ gdb /usr/cyrus/bin/squatter GNU gdb 20000314 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-sun-solaris2.8"... (gdb) run -r -v user.damm Starting program: /usr/cyrus/bin/squatter -r -v user.damm Indexing mailbox user.damm... Indexed 6 messages (21735 bytes) into 39525 index bytes in 1 seconds Indexing mailbox user.damm.crap... Indexed 1 messages (5541 bytes) into 17602 index bytes in 1 seconds Indexing mailbox user.damm.orders... Program received signal SIGSEGV, Segmentation fault. 0xff04275c in t_splay () from /usr/lib/libc.so.1 (gdb) bt #0 0xff04275c in t_splay () from /usr/lib/libc.so.1 #1 0xff0425c8 in t_delete () from /usr/lib/libc.so.1 #2 0xff0421fc in realfree () from /usr/lib/libc.so.1 #3 0xff042aa0 in cleanfree () from /usr/lib/libc.so.1 #4 0xff041bd4 in _malloc_unlocked () from /usr/lib/libc.so.1 #5 0xff041ac8 in malloc () from /usr/lib/libc.so.1 #6 0x259ec in dump_index_trie_words (index=0x1529f0, first_char=32, result_offset=0xffbed500) at squat_build.c:1256 #7 0x25ce0 in index_close_internal (index=0x1529f0, OK=32) at squat_build.c:1381 #8 0x25f3c in squat_index_finish (index=0x1529f0) at squat_build.c:1477 #9 0x1c088 in index_me (name=0xffbede08 "/var/spool/imap/user/damm/orders/cyrus.squat.tmp", matchlen=16, maycreate=1, rock=0x0) at squatter.c:371 #10 0x2e72c in find_cb (rockp=0xffbeea48, key=0x147bf0 "user.damm.orders", keylen=16, data=0x149548 "0 default damm\tlrswipcda\tgus\tlrswipcda\t.", datalen=25) at mboxlist.c:1536 #11 0x4342c in foreach (mydb=0x149298, prefix=0xffbeeb88 "user.damm.", prefixlen=10, goodp=0x2e32c <find_p>, cb=0x2e578 <find_cb>, rock=0xffbeea48, mytid=0x0) at cyrusdb_db3.c:545 #12 0x2eac4 in mboxlist_findall (namespace=0x0, pattern=0xffbeeb88 "user.damm.", isadmin=-4265400, userid=0x0, auth_state=0x0, proc=0xa, rock=0x0) at mboxlist.c:1670 #13 0x1c388 in main (argc=4, argv=0xffbefbfc) at squatter.c:470 I realize it did segfault in libc, but i was thinking there is something we can do about this? Thanks.