From mboxrd@z Thu Jan 1 00:00:00 1970 From: rlane@club.cc.cmu.edu (Rich Lane) Date: Mon, 07 Sep 2009 15:15:08 -0400 Subject: [sup-talk] sup-sync and xapian memory usage In-Reply-To: <1252350686-sup-8800@ntdws12.chass.utoronto.ca> References: <20090907170450.GO14010@pimlott.net> <1252348258-sup-415@zyrg.net> <1252350686-sup-8800@ntdws12.chass.utoronto.ca> Message-ID: <1252350896-sup-5026@zyrg.net> Excerpts from Ben Walton's message of Mon Sep 07 15:11:58 -0400 2009: > Excerpts from Rich Lane's message of Mon Sep 07 14:33:06 -0400 2009: > > Xapian keeps writes buffered in memory. Try setting the environment > > variable XAPIAN_FLUSH_THRESHOLD to a smaller value (the default is 10000 > > documents) and see if that helps. > > Does this explain the lag at shutdown? Xapian is flushing writes to > disk? Yep.