Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CB1A01756F for ; Tue, 24 Feb 2015 20:43:17 +0000 (UTC) Received: (qmail 61549 invoked by uid 500); 24 Feb 2015 20:35:13 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 61482 invoked by uid 500); 24 Feb 2015 20:35:13 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 61468 invoked by uid 99); 24 Feb 2015 20:35:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2015 20:35:12 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [130.225.24.68] (HELO sbexch03.sb.statsbiblioteket.dk) (130.225.24.68) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2015 20:35:08 +0000 Received: from SBMAILBOX1.sb.statsbiblioteket.dk ([10.150.5.2]) by sbexch03.sb.statsbiblioteket.dk ([10.150.5.3]) with mapi; Tue, 24 Feb 2015 21:34:25 +0100 From: Toke Eskildsen To: "solr-user@lucene.apache.org" Date: Tue, 24 Feb 2015 21:34:24 +0100 Subject: RE: how to debug solr performance degradation Thread-Topic: how to debug solr performance degradation Thread-Index: AQHQUG3EGFIGDcaQ30Got4Q5AnECqp0AP49V Message-ID: <2E6A89A648463A4EBF093A9062C16683062A7CE39226@SBMAILBOX1.sb.statsbiblioteket.dk> References: In-Reply-To: Accept-Language: en-US, da-DK Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, da-DK Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Tang, Rebecca [Rebecca.Tang@ucsf.edu] wrote: [12-15 second response time instead of 0-3] > Solr index size 183G > Documents in index 14364201 > We just have single solr box > It has 100G memory > 500G Harddrive > 16 cpus The usual culprit is memory (if you are using spinning drive as your storag= e). It appears that you have enough raw memory though. Could you check how = much memory the machine has free for disk caching? If it is a relative smal= l amount, let's say below 50GB, then please provide a breakdown of what the= memory is used for (very large JVM heap for example). > I want to pinpoint where the performance issue is coming from. Could I h= ave some suggestions/help on how to benchmark/debug solr performance issues= . Rough checking of IOWait and CPU load is a fine starting point. If if is CP= U load then you can turn on debug in Solr admin, which should tell you wher= e the time is spend resolving the queries. It it is IOWait then ensure a lo= t of free memory for disk cache and/or improve your storage speed (SSDs ins= tead of spinning drives, local storage instead of remote). - Toke Eskildsen, State and University Library, Denmark.