Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 465DA200D00 for ; Sun, 10 Sep 2017 19:01:52 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 452911609BD; Sun, 10 Sep 2017 17:01:52 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6D2F71609B9 for ; Sun, 10 Sep 2017 19:01:51 +0200 (CEST) Received: (qmail 13104 invoked by uid 500); 10 Sep 2017 17:01:48 -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 13092 invoked by uid 99); 10 Sep 2017 17:01:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Sep 2017 17:01:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 3064F193B76 for ; Sun, 10 Sep 2017 17:01:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.222 X-Spam-Level: X-Spam-Status: No, score=-0.222 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id HLcq17WkjtAW for ; Sun, 10 Sep 2017 17:01:45 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id CB2AC5F6BE for ; Sun, 10 Sep 2017 17:01:44 +0000 (UTC) Received: from mail.small-planet.net ([134.0.27.206]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LvlWS-1dNQfV3Vls-017S7f for ; Sun, 10 Sep 2017 19:01:37 +0200 Subject: Re: Solr memory leak To: solr-user@lucene.apache.org References: <13F9A2B3-FE79-427D-AC6B-667638A18CF0@wunderwood.org> From: Hendrik Haddorp Message-ID: <930f4181-f20e-1c44-7e0e-3de2df31ff7c@gmx.net> Date: Sun, 10 Sep 2017 19:01:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Provags-ID: V03:K0:ELZffsZD7bed0TUGjft89/ISstVibn94ougs5WTpGDQcMaiHKMR tTqtr16rlQHGYTzD9CqSVre1pKGaCk2l1npD0BlEx1Q0ljSJBWxPL1lKC79/6DDCsVmup4f lm/ALs6jxkWy6MZPWaRthqEzWCmO/hpV9xZAZrhHD8Hp7Oz813VNtx90eBLAoTQ4A8IAzX7 S9Rluw5bjk4LzN1ZwbQ+Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:HVqGcoZyqfk=:/GsgwGiHgEkioBiHy/z2c/ g8Ndt6mExOtyxpWuugzBTvnSbMNevmVRU4UP8y+TNLOCU/10wr+ZWr1Wzy3bHU7BNwc5BLlSa OUAVRFG30UWm0osfQYXmcd5e6LrtjJNkAh2Skys6Xt/qSPai6WEr+STjNXBkSl6LhBg7Whj4s jZMdsSF2oeGqNt06ZyL18oKZx5MT/NdKWLdV1449gnqgnR3S4ZkDkZrpTTnnH7p0roLlRx8rA GVFjysJ+gidtcCA28GdQaiXEwdfUXzl8GuXEUHgoZOWhK2pUBMiStB34a/tQIebr3B2nVib74 UdKataoChFjyY+xnWFE1Wx4+2EtDbt1BE/4bC3b1Rllahr/pcKUZfMhtK56ZFr0isSWLhgDck vgqRCJB6MhLN2zhWeb7pAMOK1y9W8NsiepcyoXMy3lTVm/jxWg2No4Klwv9T5zSbQ7D0DIqVn gKtI3lYq6dWqo8u8Y7U8xyqXoSrPHnIlr8higpuRk0yAGtJzT/dXu+m83GBag2FDei6CAY91g 8SdVmOws4x6gDvdw/dnTyEG3fORxKG3H4UF0rTKLhu/maTqehSF2QDm1xi/mZ1bo+biXBd4yl kwscMo0DXwfaLOkGV7gt5P7MQVQ6+jAh73YC36GfrD2u/vW8U0hjTVxEOf9iVtME6MRq7mAj9 yqgMxGB6sXAt1yPkKSvHeZfvsLz77skzg2ca8iWy98xF2puHck9ANBSdQ8M9QR6u1MaSNX9oC /lHl+VKX1RwFlU4h5u+BCmQ3G6YowTNYoUzQtc4iBdKDt8W/gRg2qDxQ8JCOTJAeK6qB2Ba9Q GUn0qNkDJJ8Y0mVBAo9+Cwgc7Xz2xlW/3q+xPJ8DkOgOwtY+Bg= archived-at: Sun, 10 Sep 2017 17:01:52 -0000 I didn't meant to say that the fix is not in 7.0. I just stated that I do not see it listed in the release notes (https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310230&version=12335718). Thanks for explaining the release process. regards, Hendrik On 10.09.2017 17:32, Erick Erickson wrote: > There will be no 6.7. Once the X+1 version is released, all past fixes > are applied to as minor releases to the last released version of the > previous major release. So now that 7.0 has been cut, there might be a > 6.6.2 (6.6.1 was just released) but no 6.7. Current un-released JIRAs > are parked on the 6.x (as opposed to branch_6_6) for convenience. If > anyone steps up to release 6.6.2, they can include ths. > > Why do you say this isn't in 7.0? The "Fix Versions" clearly states > so, as does CHANGES.txt for 7.0. The new file is is in the 7.0 branch. > > > If you need it in 6x you have a couple of options: > > 1> agitate fo ra 6.6.2 with this included > 2> apply the patch yourself and compile it locally > > Best, > Erick > > On Sun, Sep 10, 2017 at 6:04 AM, Hendrik Haddorp > wrote: >> Hi, >> >> looks like SOLR-10506 didn't make it into 6.6.1. I do however also not see >> it listen in the current release notes for 6.7 nor 7.0: >> https://issues.apache.org/jira/projects/SOLR/versions/12340568 >> https://issues.apache.org/jira/projects/SOLR/versions/12335718 >> >> Is there any any rough idea already when 6.7 or 7.0 will be released? >> >> thanks, >> Hendrik >> >> >> On 28.08.2017 18:31, Erick Erickson wrote: >>> Varun Thacker is the RM for Solr 6.6.1, I've pinged him about including >>> it. >>> >>> On Mon, Aug 28, 2017 at 8:52 AM, Walter Underwood >>> wrote: >>>> That would be a really good reason for a 6.7. >>>> >>>> wunder >>>> Walter Underwood >>>> wunder@wunderwood.org >>>> http://observer.wunderwood.org/ (my blog) >>>> >>>> >>>>> On Aug 28, 2017, at 8:48 AM, Markus Jelsma >>>>> wrote: >>>>> >>>>> It is, unfortunately, not committed for 6.7. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> -----Original message----- >>>>>> From:Markus Jelsma >>>>>> Sent: Monday 28th August 2017 17:46 >>>>>> To: solr-user@lucene.apache.org >>>>>> Subject: RE: Solr memory leak >>>>>> >>>>>> See https://issues.apache.org/jira/browse/SOLR-10506 >>>>>> Fixed for 7.0 >>>>>> >>>>>> Markus >>>>>> >>>>>> >>>>>> >>>>>> -----Original message----- >>>>>>> From:Hendrik Haddorp >>>>>>> Sent: Monday 28th August 2017 17:42 >>>>>>> To: solr-user@lucene.apache.org >>>>>>> Subject: Solr memory leak >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> we noticed that triggering collection reloads on many collections has >>>>>>> a >>>>>>> good chance to result in an OOM-Error. To investigate that further I >>>>>>> did >>>>>>> a simple test: >>>>>>> - Start solr with a 2GB heap and 1GB Metaspace >>>>>>> - create a trivial collection with a few documents (I used only 2 >>>>>>> fields and 100 documents) >>>>>>> - trigger a collection reload in a loop (I used SolrJ for this) >>>>>>> >>>>>>> Using Solr 6.3 the test started to fail after about 250 loops. Solr >>>>>>> 6.6 >>>>>>> worked better but also failed after 1100 loops. >>>>>>> >>>>>>> When looking at the memory usage on the Solr dashboard it looks like >>>>>>> the >>>>>>> space left after GC cycles gets less and less. Then Solr gets very >>>>>>> slow, >>>>>>> as the JVM is busy with the GC. A bit later Solr gets an OOM-Error. In >>>>>>> my last run this was actually for the Metaspace. So it looks like more >>>>>>> and more heap and metaspace is being used by just constantly reloading >>>>>>> a >>>>>>> trivial collection. >>>>>>> >>>>>>> regards, >>>>>>> Hendrik >>>>>>>