Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 79287 invoked from network); 4 Jun 2009 10:43:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Jun 2009 10:43:23 -0000 Received: (qmail 58538 invoked by uid 500); 4 Jun 2009 10:43:33 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 58421 invoked by uid 500); 4 Jun 2009 10:43:33 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 58324 invoked by uid 99); 4 Jun 2009 10:43:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2009 10:43:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2009 10:43:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 75F1F234C055 for ; Thu, 4 Jun 2009 03:43:07 -0700 (PDT) Message-ID: <1289496472.1244112187482.JavaMail.jira@brutus> Date: Thu, 4 Jun 2009 03:43:07 -0700 (PDT) From: "Olivier Dony (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-772) Lucene infinite loop? In FieldsReader.uncompress called from IndexSearcher.doc In-Reply-To: <14749811.1168637487677.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716229#action_12716229 ] Olivier Dony commented on LUCENE-772: ------------------------------------- I know this sounds silly on a 2y+ old issue, but I have a legacy server running in production on linux with jdk1.5.0_11, tomcat 5.0.28, and lucene-core-2.1.0 on which this very problem has just occured (same symptoms and thread dump). This issue has been marked as fixed in 2.1, but with apparently not much evidence that something was explicitly done to fix it? I have no idea how to reproduce it, and it has only happened once. Can I assume that switching to Lucene 2.4.1 will automatically fix the likely index corruption that triggered this or that something else will prevent trying to deflate a non-zipped field? Or is this a wild guess? I guess I'll have to switch to 2.4.1 anyway before reporting it, but I was wondering if there's a chance this has been explicitly addressed *after* 2.1.0... Thanks to anyone that would still be reading this...! > Lucene infinite loop? In FieldsReader.uncompress called from IndexSearcher.doc > ------------------------------------------------------------------------------ > > Key: LUCENE-772 > URL: https://issues.apache.org/jira/browse/LUCENE-772 > Project: Lucene - Java > Issue Type: Bug > Components: Search > Affects Versions: 2.1 > Environment: Linux (gentoo 2.6.17 at least), jdk 1.5.0_06 and _08 at least, tomcat 5.5. IndexSearcher searching index mounted via NFS; using new lockless commits... We're using the 01-05-07 nightly build of lucene > Reporter: Arthur Smith > Fix For: 2.1 > > > Unfortunately I don't have a reproducible case of this (yet), but it's happened twice now on our production servers in the past few days, after we switched to the new lockless commits (thanks!). What we're seeing is the search thread running away in the middle of a seemingly ordinary search, after several hundred thousand queries that worked just fine. The search index is NFS mounted, and is updated every minute or so during the day by an indexing process running on a separate server. We do get occasional I/O errors, but we catch and retry and it seems ok after a few seconds. > But twice now we've had run-away threads; the thread dump in both cases was caught in the middle of java.util.zip.Inflater: > "http-8080-3" daemon prio=1 tid=0x08294688 nid=0x1f0d runnable [0x1f17c000..0x1f17e0b0] > at java.util.zip.Inflater.inflateBytes(Native Method) > at java.util.zip.Inflater.inflate(Inflater.java:215) > - locked <0x3d73cba8> (a java.util.zip.Inflater) > at java.util.zip.Inflater.inflate(Inflater.java:232) > at org.apache.lucene.index.FieldsReader.uncompress(FieldsReader.java:388) > at org.apache.lucene.index.FieldsReader.addField(FieldsReader.java:222) > at org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:105) > at org.apache.lucene.index.SegmentReader.document(SegmentReader.java:324) > - locked <0x3cefbdd8> (a org.apache.lucene.index.SegmentReader) at org.apache.lucene.index.MultiReader.document(MultiReader.java:108) > at org.apache.lucene.index.IndexReader.document(IndexReader.java:360) at org.apache.lucene.search.IndexSearcher.doc(IndexSearcher.java:84) > at org.apache.lucene.search.Hits.doc(Hits.java:104) > [...] > Any ideas what this could be? Thanks! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org