Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 37290 invoked from network); 24 Jun 2009 18:54:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Jun 2009 18:54:24 -0000 Received: (qmail 65525 invoked by uid 500); 24 Jun 2009 18:54:33 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 65475 invoked by uid 500); 24 Jun 2009 18:54:33 -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 65465 invoked by uid 99); 24 Jun 2009 18:54:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2009 18:54:33 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nigelspleen@gmail.com designates 209.85.218.222 as permitted sender) Received: from [209.85.218.222] (HELO mail-bw0-f222.google.com) (209.85.218.222) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2009 18:54:23 +0000 Received: by bwz22 with SMTP id 22so99577bwz.5 for ; Wed, 24 Jun 2009 11:54:03 -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:content-type; bh=ht4r0tYIPgintjDAol9m6N0bz+nWfJ1LjmduTIZbTvo=; b=TeudajD/sqHFzqF7z5N0ZNBYI0o5DGPI20dllVGGlFf8zcbUGBjKg3F/ZlZPI47BBa nz/5g0gc8S3dcuqnpx6GYTBpaDZ3lLZAxzBEmG5h/h6xRgS9yOJzFp+VEzzF4jZuAi1W OgH3hp4M3/K6izop/vH/HwD7xANdfgkAyJCeg= 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 :content-type; b=i5JGioK03iPvl8ci+a2f45OFMUWpQokdaJNsVH63J8GJECY7nAxXjr9ctfbjv9nXuZ 59/OETWQkeFantNpVfkHraqLTvCng3thTmX128NrmLQwTIusva+h8Ypl18UCHiRC6Wn5 O7lm8BKg74Z5U6qirZrMh5N9DEeiqeFjXCot4= MIME-Version: 1.0 Received: by 10.204.55.140 with SMTP id u12mr1534368bkg.127.1245869643357; Wed, 24 Jun 2009 11:54:03 -0700 (PDT) In-Reply-To: <5A007EE2ACD1449297B14DEB2CE02C9B@VEGA> References: <843920a30906231353n6021c4bcl4fa7d14512c5f1b2@mail.gmail.com> <5A007EE2ACD1449297B14DEB2CE02C9B@VEGA> Date: Wed, 24 Jun 2009 14:54:03 -0400 Message-ID: <843920a30906241154m66f477f1n970aad5cc75e6371@mail.gmail.com> Subject: Re: Analyzing performance and memory consumption for boolean queries From: Nigel To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=001636c924d9875d3b046d1ca1c4 X-Virus-Checked: Checked by ClamAV on apache.org --001636c924d9875d3b046d1ca1c4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Uwe, Good points, thank you. The obvious place where GC really has to work hard is when index changes are rsync'd over and we have to open the new index and close the old one. Our slow performance times don't seem to be directly correlated with the index rotation, but maybe it just appears that way, since it may take a little while before GC kicks in to try to recover the objects used by the closed index. Chris On Wed, Jun 24, 2009 at 3:33 AM, Uwe Schindler wrote: > I had similar problems with our configuration, too. Suddenly sometimes the > server even did not respond. The problem was (I think is the same here): > the > GC. The standard Java GC is not multithreaded, so if you have lots of > traffic at some time, the JVM halts all threads and starts to GC, which can > take very long time with so big heap sizes. > > On our server with indexes of similar disk space size (not documents), I > changed the JVM options to use: > > -Xms4096M -Xmx8192M -XX:MaxPermSize=512M -Xrs -XX:+UseConcMarkSweepGC > -XX:+UseParNewGC -verbosegc -XX:+PrintGCDetails -XX:+UseLargePages > > --001636c924d9875d3b046d1ca1c4--