Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 56523 invoked from network); 16 Mar 2011 17:01:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Mar 2011 17:01:54 -0000 Received: (qmail 80744 invoked by uid 500); 16 Mar 2011 17:01:51 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 80647 invoked by uid 500); 16 Mar 2011 17:01:51 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 80632 invoked by uid 99); 16 Mar 2011 17:01:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Mar 2011 17:01:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Mar 2011 17:01:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 385B53AC784 for ; Wed, 16 Mar 2011 17:01:30 +0000 (UTC) Date: Wed, 16 Mar 2011 17:01:30 +0000 (UTC) From: "Mark Miller (JIRA)" To: dev@lucene.apache.org Message-ID: <914349920.6881.1300294890227.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Resolved: (SOLR-1911) File descriptor leak while indexing, may cause index corruption MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller resolved SOLR-1911. ------------------------------- Resolution: Cannot Reproduce > File descriptor leak while indexing, may cause index corruption > --------------------------------------------------------------- > > Key: SOLR-1911 > URL: https://issues.apache.org/jira/browse/SOLR-1911 > Project: Solr > Issue Type: Bug > Components: update > Affects Versions: 1.5 > Environment: Ubuntu Linux, Java build 1.6.0_16-b01 > Solr Specification Version: 3.0.0.2010.05.12.16.17.46 > Solr Implementation Version: 4.0-dev exported - simon - 2010-05-12 16:17:46 -- bult from updated trunk > Lucene Specification Version: 4.0-dev > Lucene Implementation Version: 4.0-dev exported - 2010-05-12 16:18:26 > Current Time: Thu May 13 12:21:12 EDT 2010 > Server Start Time:Thu May 13 11:45:41 EDT 2010 > Reporter: Simon Rosenthal > Priority: Critical > Attachments: indexlsof.tar.gz, openafteropt.txt > > > While adding documents to an already existing index using this build, the number of open file descriptors increases dramatically until the open file per-process limit is reached (1024) , at which point there are error messages in the log to that effect. If the server is restarted the index may be corrupt > commits are handled by autocommit every 60 seconds or 500 documents (usually the time limit is reached first). > mergeFactor is 10. > It looks as though each time a commit takes place, the number of open files (obtained from " lsof -p `cat solr.pid` | egrep ' [0-9]+r ' ") increases by 40, There are several open file descriptors associated with each file in the index. > Rerunning the same index updates with an older Solr (built from trunk in Feb 2010) doesn't show this problem - the number of open files fluctuates up and down as segments are created and merged, but stays basically constant. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org