From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.90.117.16 with SMTP id p16cs320137agc; Fri, 30 Oct 2009 15:14:39 -0700 (PDT) Received: by 10.224.58.166 with SMTP id g38mr1330647qah.32.1256940878711; Fri, 30 Oct 2009 15:14:38 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 4si4902015qyk.135.2009.10.30.15.14.38; Fri, 30 Oct 2009 15:14:38 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org; dkim=neutral (body hash did not verify) header.i=@gmail.com Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 58EB23C8057; Fri, 30 Oct 2009 18:14:38 -0400 (EDT) Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by rubyforge.org (Postfix) with ESMTP id DA88A1588063 for ; Fri, 30 Oct 2009 18:14:33 -0400 (EDT) Received: by ewy4 with SMTP id 4so4519962ewy.20 for ; Fri, 30 Oct 2009 15:14:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=WlENIBRfnYoWPkxNvhRHSGzImSA345us32LciQWirNE=; b=CmQQrqwlhUOou29Gbv7/Ue2dipL2A/fOyrdzPU0zbPTOPt5xv+5qayk619q7QNMhJF pVoDaVNi5bFLtBzwXQvhZ2W4V5XROTdxYlqpwf094jpCzHvy5Lz+7/X+fxpmyDU9QO5f mtGJ8sHJtXaTf3CV+hOK2a5iAYQJ356VH0K7I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=NhaOLX3btDkcGDQBzT7WrpaD1Np6CBBNyViKEaXnCSZHLNTbIv7WFUOtrOjh9/t3v3 D/t1isHsv1q6tAnP26smSQrcOzNI6UYGepe+ZxCerH8DrxB3i9RvaSRX0h6ifNDqBcld b8bIeWRX0C/Hx1bAGBha12J7PswVTAJDFNhPM= MIME-Version: 1.0 Received: by 10.216.87.68 with SMTP id x46mr921196wee.2.1256940873122; Fri, 30 Oct 2009 15:14:33 -0700 (PDT) In-Reply-To: <1256939095-sup-4201@masanjin.net> References: <1256939095-sup-4201@masanjin.net> Date: Fri, 30 Oct 2009 18:14:32 -0400 Message-ID: From: Steven Walter To: William Morgan Cc: sup-talk Subject: Re: [sup-talk] Recovering a busted ferret db? X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org On Fri, Oct 30, 2009 at 5:48 PM, William Morgan wrote: > Reformatted excerpts from Steven Walter's message of 2009-10-30: >> I think my ferret db is corrupted. =A0Whenever I do a tag search for a >> specific tag, sup loads 2 messages and then hangs. =A0Actually, it's >> using 100% CPU, but I have to kill -9 it; ctrl-c doesn't work. =A0Is >> there any hope of fixing this without losing all my tag information? > > You can certainly move to the Xapian index without losing all of your > tags. Sup-dump will output everything precious from your index. Looks like sup-dump hangs, too. > Is it possible you have a very large thread with that label? E.g. > thousands of messages, all replying to each other, from some script? Not very likely. I could believe tens, up to a hundred; 200 at the most. I am able to Ctrl-C sup-dump when it hangs. Here's the ruby backtrace: /var/lib/gems/1.8/gems/sup-0.9/lib/sup/util.rb:206:in `split': Interrupt from /var/lib/gems/1.8/gems/sup-0.9/lib/sup/util.rb:206:in `split_on_commas' from /var/lib/gems/1.8/gems/sup-0.9/lib/sup/person.rb:108:in `from_address_list' from /var/lib/gems/1.8/gems/sup-0.9/lib/sup/message.rb:104:in `parse_header' from /var/lib/gems/1.8/gems/sup-0.9/lib/sup/ferret_index.rb:276:in `build_message' from /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' from /var/lib/gems/1.8/gems/sup-0.9/lib/sup/ferret_index.rb:256:in `build_message' from /var/lib/gems/1.8/gems/sup-0.9/lib/sup/index.rb:150:in `each_message' from /var/lib/gems/1.8/gems/sup-0.9/lib/sup/ferret_index.rb:319:in `each_id' from /var/lib/gems/1.8/gems/sup-0.9/lib/sup/ferret_index.rb:319:in = `map' from /var/lib/gems/1.8/gems/sup-0.9/lib/sup/ferret_index.rb:319:in `each_id' from /var/lib/gems/1.8/gems/sup-0.9/lib/sup/index.rb:149:in `each_message' from /var/lib/gems/1.8/gems/sup-0.9/bin/sup-dump:28 -- = -Steven Walter _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk