Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 63632 invoked from network); 3 Nov 2006 21:48:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Nov 2006 21:48:33 -0000 Received: (qmail 52706 invoked by uid 500); 3 Nov 2006 21:48:37 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 52668 invoked by uid 500); 3 Nov 2006 21:48:37 -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 52657 invoked by uid 99); 3 Nov 2006 21:48:37 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Nov 2006 13:48:37 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ben.dotte@gmail.com designates 64.233.162.199 as permitted sender) Received: from [64.233.162.199] (HELO nz-out-0102.google.com) (64.233.162.199) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Nov 2006 13:48:24 -0800 Received: by nz-out-0102.google.com with SMTP id k1so408698nzf for ; Fri, 03 Nov 2006 13:48:04 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=DHbF5BT7+K30ZGNJeXiOYtBQIYP99KAvM1Ag/BMMJAsqIy8OPcp6yuPROW8xSVjUaaOTL2R224Vv8W2C7XylX5PJlzIvnMSYOcxg4An9hFNxTO/SPwXGuFn7ch0ya4xDEkWtS6CwbUwyxLRFH2+MQENwlt6ux6+HPCBTHurVXQY= Received: by 10.65.23.7 with SMTP id a7mr1513645qbj.1162590483859; Fri, 03 Nov 2006 13:48:03 -0800 (PST) Received: by 10.65.145.3 with HTTP; Fri, 3 Nov 2006 13:48:03 -0800 (PST) Message-ID: <8a29e7880611031348p24c4993dp9e9624c0effc52c6@mail.gmail.com> Date: Fri, 3 Nov 2006 15:48:03 -0600 From: "Ben Dotte" To: java-user@lucene.apache.org Subject: Re: Intermittent search performance problem MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Good suggestion, I tried watching the GCs in YourKit while testing but unfortunately they don't seem to line up with the searches that take forever. They also don't last long enough to make up that kind of time. I have our heap limited to 1GB right now and its using around 768MB of that. On 11/3/06, Ben Dotte wrote: > I'm trying to figure out a way to troubleshoot a performance problem > we're seeing when searching against a memory-based index. What happens > is we will run a search against the index and it generally returns in > 1 second or less. But every once in a while it takes 15-20 seconds for > the exact same search for no apparent reason. Are you sure it's not just a big GC? How big is your heap? -Yonik http://incubator.apache.org/solr Solr, the open-source Lucene search server --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org