From solr-user-return-144156-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Sat Sep 29 03:08:17 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id C5028180627 for ; Sat, 29 Sep 2018 03:08:16 +0200 (CEST) Received: (qmail 19178 invoked by uid 500); 29 Sep 2018 01:08:14 -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 19166 invoked by uid 99); 29 Sep 2018 01:08:13 -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; Sat, 29 Sep 2018 01:08:13 +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 4A61A18096C for ; Sat, 29 Sep 2018 01:08:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.102 X-Spam-Level: X-Spam-Status: No, score=-0.102 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=elyograg.org 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 2cq478cAxp1T for ; Sat, 29 Sep 2018 01:08:11 +0000 (UTC) Received: from frodo.elyograg.org (frodo.elyograg.org [166.70.79.217]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 019225F1B3 for ; Sat, 29 Sep 2018 01:08:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by frodo.elyograg.org (Postfix) with ESMTP id 393CD1DE2 for ; Fri, 28 Sep 2018 19:08:03 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=elyograg.org; h= content-language:content-transfer-encoding:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject:received :received; s=mail; t=1538183282; bh=A+Z2prFTQ0RFi/0bxE9IqHCoWsfA 2Q+Mp11+PdgjJVM=; b=IahFV2Q8W1k4CYcAcsVnChH2LfcMDug7I7eayOmTt5Nr uM/pd5fvf0uScylL6YxdTkgcrlMjENLp1KPdF61Ic1uTWF2VGciADQbvCcTjxXyw 8ma2RAopVNSb84/p/LfpurxF3cItvI0+Bk3UtxUiBuq+gu/WU8ps8AvIV3Ld3fo= X-Virus-Scanned: Debian amavisd-new at frodo.elyograg.org Received: from frodo.elyograg.org ([127.0.0.1]) by localhost (frodo.elyograg.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id h92imr4e862B for ; Fri, 28 Sep 2018 19:08:02 -0600 (MDT) Received: from [192.168.1.124] (124.int.elyograg.org [192.168.1.124]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: elyograg@elyograg.org) by frodo.elyograg.org (Postfix) with ESMTPSA id CF8AB1DE1 for ; Fri, 28 Sep 2018 19:08:02 -0600 (MDT) Subject: Re: Auto recovery of a failed Solr Cloud Node? To: solr-user@lucene.apache.org References: <51b46b6e-fea7-1841-6c1e-aa1f0379c04a@elyograg.org> From: Shawn Heisey Message-ID: <8497bdf5-0274-ce21-a9aa-e258314d1119@elyograg.org> Date: Fri, 28 Sep 2018 19:08:06 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US On 9/28/2018 4:18 PM, Christopher Schultz wrote: > I thought someone recently mentioned (but I cannot find a reference, > sorry) that Solr would automatically restart if an OutOfMemoryError > was encountered. > > Is that only for single-note Solr (i.e. non-cloud/ZK)? On non-windows systems, Solr includes an "oom killer" script.  This will find the Solr PID and execute "kill -9" on it if OutOfMemoryError is thrown.  We have an issue to add this capability for Windows as well, but the work hasn't been done yet. If somebody has a Solr install that automatically restarts itself, that install has been altered and isn't what the project shipped. Thanks, Shawn