Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D66E9DDAF for ; Mon, 10 Sep 2012 01:04:22 +0000 (UTC) Received: (qmail 55553 invoked by uid 500); 10 Sep 2012 01:04:20 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 55364 invoked by uid 500); 10 Sep 2012 01:04:20 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 55351 invoked by uid 99); 10 Sep 2012 01:04:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2012 01:04:20 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gullyburns@gmail.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-ob0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2012 01:04:13 +0000 Received: by obbtb18 with SMTP id tb18so2761813obb.35 for ; Sun, 09 Sep 2012 18:03:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Rz2c/JQzuwVWLcW/O9rJA3nA28SlHiUVl+I/m2Km8h4=; b=gkkQdN4EWOYpTZaw0wyrxTnqvBUn6X1DPOTh2Ca1asZbFJcrFtj7cdOnbtN7xsIV6Y gA76qeLRcJKmvabl2CoJiXCof4qoh/F3Fv+nlroPf5Z+wG1HRPtRQ3nGGAtZDmwiUqXI DM/6M4bILtUSXO8d+TfmFYfOlXeOXjVPjC6qMb+kLSEfXrFswoOswIECQTZZ6FTzFmWp ObKZYpJUmKyUusS5/ReCLX2oxBFHI4+X2QKq67f9jJ1eu244COOiU7zfP1s31ienjlhO T+3WrbAppdDOPR1aiYCqc+KGc2d12wOCx7n8F0latFivxeYPfnxnxrcG+ck3XkA2YcuJ XHaw== MIME-Version: 1.0 Received: by 10.182.72.9 with SMTP id z9mr12511811obu.5.1347239033167; Sun, 09 Sep 2012 18:03:53 -0700 (PDT) Received: by 10.76.11.132 with HTTP; Sun, 9 Sep 2012 18:03:53 -0700 (PDT) Date: Sun, 9 Sep 2012 18:03:53 -0700 Message-ID: Subject: MergeException: java.io.IOException: File too large From: Gully Burns To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=f46d04462fbcffde9e04c94e8752 X-Virus-Checked: Checked by ClamAV on apache.org --f46d04462fbcffde9e04c94e8752 Content-Type: text/plain; charset=ISO-8859-1 Hey Everyone, I'm building a solr store on version 3.6.1 and I encounter the following error when the system gets to about 1,000,000 documents. commit{dir=/lfs1/code/apache-solr-3.6.1/vpdmfSolr/digitalLibrary/articlecitation/data/index,segFN=segments_3jki,version=1345856472880,generation=165330,filenames=[.... LONG LIST OF INDEX FILES .... ] Sep 8, 2012 9:30:11 PM org.apache.solr.core.SolrDeletionPolicy updateCommits INFO: newest commit = 1345856472880 Sep 8, 2012 9:30:11 PM org.apache.solr.update.processor.LogUpdateProcessor finish INFO: {add=[8343524, 8343525, 8343526, 8343527, 8343528, 8343529, 8343530, 8343531, ... (100 adds)]} 0 60 Sep 8, 2012 9:30:11 PM org.apache.solr.core.SolrCore execute INFO: [ArticleCitation] webapp=/solr path=/update params={wt=xml&version=2.2} status=0 QTime=60 Sep 8, 2012 9:30:11 PM org.apache.solr.update.DirectUpdateHandler2 commit INFO: start commit(optimize=false,waitFlush=true,waitSearcher=true,expungeDeletes=false) Exception in thread "Lucene Merge Thread #0" org.apache.lucene.index.MergePolicy$MergeException: java.io.IOException: File too large at org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(ConcurrentMergeScheduler.java:509) at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:482) Caused by: java.io.IOException: File too large at java.io.RandomAccessFile.writeBytes(Native Method) at java.io.RandomAccessFile.write(RandomAccessFile.java:499) at org.apache.lucene.store.FSDirectory$FSIndexOutput.flushBuffer(FSDirectory.java:448) at org.apache.lucene.store.BufferedIndexOutput.flushBuffer(BufferedIndexOutput.java:99) at org.apache.lucene.store.BufferedIndexOutput.flush(BufferedIndexOutput.java:88) at org.apache.lucene.store.BufferedIndexOutput.close(BufferedIndexOutput.java:113) at org.apache.lucene.store.FSDirectory$FSIndexOutput.close(FSDirectory.java:458) at org.apache.lucene.util.IOUtils.close(IOUtils.java:141) at org.apache.lucene.index.FieldsWriter.close(FieldsWriter.java:139) at org.apache.lucene.index.SegmentMerger.mergeFields(SegmentMerger.java:232) at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:107) at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4263) at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3908) at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:388) at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:456) Sep 8, 2012 9:30:12 PM org.apache.solr.core.SolrDeletionPolicy onCommit INFO: SolrDeletionPolicy.onCommit: commits:num=2 My solrconfig.xml file has the following indexing parameters: 10000 1000 2048 false 25 There are 451 separate index files, the largest of which is 60GB. The system is redhat linux simply running the jetty version of the solr server. Note that the system seems to work fine, even with the error. The number of files in the index seems very large. Having these exceptions worries me, but the system seems to operate fine even then. Any help would be very appreciated. --f46d04462fbcffde9e04c94e8752--