From dev-return-333493-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Fri Sep 7 19:00:03 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 55B79180672 for ; Fri, 7 Sep 2018 19:00:03 +0200 (CEST) Received: (qmail 59349 invoked by uid 500); 7 Sep 2018 17:00:02 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 59339 invoked by uid 99); 7 Sep 2018 17:00:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2018 17:00:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id B9038C00A9 for ; Fri, 7 Sep 2018 17:00:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Bf2X3fxsOEhf for ; Fri, 7 Sep 2018 17:00:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id D0F185F1F0 for ; Fri, 7 Sep 2018 17:00:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 61016E00D3 for ; Fri, 7 Sep 2018 17:00:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2756123F98 for ; Fri, 7 Sep 2018 17:00:00 +0000 (UTC) Date: Fri, 7 Sep 2018 17:00:00 +0000 (UTC) From: "Erick Erickson (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (SOLR-12753) Async logging ring buffer and OOM error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-12753?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Erick Erickson reassigned SOLR-12753: ------------------------------------- Assignee: Erick Erickson > Async logging ring buffer and OOM error > --------------------------------------- > > Key: SOLR-12753 > URL: https://issues.apache.org/jira/browse/SOLR-12753 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public)=20 > Components: logging > Affects Versions: 7.5 > Reporter: Andrzej Bialecki=20 > Assignee: Erick Erickson > Priority: Major > > I=E2=80=99m using a simulated environment for autoscaling tests, which ma= y create some pretty degenerate cases (like collections with 50,000 replica= s and Policy calculations over these, times 500 nodes). > I noticed that when I turned on debug logging I occasionally would get an= OOM error, and the heap dump showed that the biggest objects were a bunch = of extremely large strings in the async logger=E2=80=99s ring buffer. These= strings were admittedly extremely large (million chars or so) but the prev= iously used sync logging didn=E2=80=99t have any issue with them, because t= hey were consumed one by one. > For sure, Solr should not attempt to be logging multi-megabyte data. But = I also feel like the framework could perhaps help here by enforcing large b= ut sane limits on maximum size of log messages. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org