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 25FF02004F1 for ; Wed, 30 Aug 2017 20:55:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 228ED169C8A; Wed, 30 Aug 2017 18:55:23 +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 C0302169C7F for ; Wed, 30 Aug 2017 20:55:21 +0200 (CEST) Received: (qmail 71760 invoked by uid 500); 30 Aug 2017 18:55:20 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 71748 invoked by uid 99); 30 Aug 2017 18:55:19 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2017 18:55:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 310A2CDD49 for ; Wed, 30 Aug 2017 18:55:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.792 X-Spam-Level: *** X-Spam-Status: No, score=3.792 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gridgain-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 84M9IhHKeHuD for ; Wed, 30 Aug 2017 18:55:16 +0000 (UTC) Received: from mail-ua0-f174.google.com (mail-ua0-f174.google.com [209.85.217.174]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 2111961260 for ; Wed, 30 Aug 2017 18:55:16 +0000 (UTC) Received: by mail-ua0-f174.google.com with SMTP id 105so21539164uad.3 for ; Wed, 30 Aug 2017 11:55:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gridgain-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=CP7skJZyY0zLrHUqYNuMBif55MsMVCwphrrludOMVvQ=; b=xyBIzVFS5YTDbaWqxjwaHLyBx2n3xZJxphg48j++GHjoO+6vz/SOc87i4oFdFoFIQu ElI0uECzKUZMyGrJ3IfAF83rUGbddQhLARoThehxXdrOFSUG/oT/wLoASzQWUGIggbof wxgPMCGZ+enRtO1nQOhoKbtKO/WJOYDGxfDJ8mq81gz/AfrkGKIPp6TWkj9OxN7O3OWp C2PfDPnt68tTTK/ewMn/O0qS6Op3UcLUlA6uVJP77EfZllwJQKLwOoIkw3hY9ZCrGvgH bol+guqVwl1iQlc8ph0kHZ1P8XY3TV0FAEuXIyDqgFIc+wlzElat+K8vNj5+rZmqEw05 b/ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=CP7skJZyY0zLrHUqYNuMBif55MsMVCwphrrludOMVvQ=; b=TYeA2SCJo938jooqxNn1WkhuLCaWJ3E5bCIl5ZIOUzA3bVq371TviPffZrfUrOs5dU u850FeC55I2BsG75ynbxkPhojiVAuno08xKsFEF6HjfP+XH/VCEoG6kMV8BFUO8x2G8b nBGAfSJH9y9bhWXNab9pO8xfX/lNnNXbp0NaF7NZ4LO4PZxuDHNg8Pf3rtndv0usZH5v RNmgm/yPfYr/tzdpVQCA+HfLOMsfibeL3FPSBv/etdMtHNNz0Ot/GkgFApPCPAGWn28H lyqTvk1mvfP6HWmyRFCDkfcnlT17GLc68NG+y81r+e6KNNR0kkgkoQ+/w8wGjf8fEDyn /ljg== X-Gm-Message-State: AHYfb5hoGAC4kmMtxP7WMT2Dpw4XJ/OQK/IXFSq3C3IUMAFX1irsHBg3 XlQjFHhCKBUOloewB1y/+BOTbAvWSClZ X-Received: by 10.176.28.65 with SMTP id o1mr1815159uaj.28.1504119314991; Wed, 30 Aug 2017 11:55:14 -0700 (PDT) MIME-Version: 1.0 References: <37bcdef8-15d3-d7c5-45a7-b8ee003a372e@gmail.com> <55FF3F2B-53CC-4CEB-9728-BE72A9227CC0@apache.org> <6CD5CF2A-4919-4729-A982-F0F7985E2E1A@apache.org> <284140A5-C6D5-43DA-8FA6-4F7F907711C4@apache.org> In-Reply-To: <284140A5-C6D5-43DA-8FA6-4F7F907711C4@apache.org> From: Vladimir Ozerov Date: Wed, 30 Aug 2017 18:55:04 +0000 Message-ID: Subject: Re: [DISCUSSION] Urgent Ignite bug fix release To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary="f403043e3c5078b7360557fd113d" archived-at: Wed, 30 Aug 2017 18:55:23 -0000 --f403043e3c5078b7360557fd113d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable IGNITE-6128 is not merged yet. I already raised my concerns, please chime in. =D1=81=D1=80, 30 =D0=B0=D0=B2=D0=B3. 2017 =D0=B3. =D0=B2 21:45, Denis Magda= : > Have the all pre-release tests passed? If so, let=E2=80=99s kick off the = vote. > > =E2=80=94 > Denis > > > On Aug 30, 2017, at 4:29 AM, Anton Vinogradov > wrote: > > > > 1) Fixes for: > > - https://issues.apache.org/jira/browse/IGNITE-6204 > > - https://issues.apache.org/jira/browse/IGNITE-6193 > > merged > > > > 2) https://issues.apache.org/jira/browse/IGNITE-6003 resolved as > duplicate > > to https://issues.apache.org/jira/browse/IGNITE-6182 > > > > 3) Current list if issues related to release 2.2: > > > https://issues.apache.org/jira/issues/?jql=3Dproject%20%3D%20Ignite%20and= %20fixVersion%20%3D%202.2 > > > > On Wed, Aug 30, 2017 at 1:24 PM, Vladimir Ozerov > > wrote: > > > >> I looked at the code of IGNITE-6182 (memory policy suggestions), and I > do > >> not like it. Too complex. My proposal: > >> 1) Do not take in count JVM heap. First, we do not need whether it wil= l > be > >> really used or not. Second, we never checked it in heap-based Ignite > 1.x, > >> and never had a single compliant. > >> 2) We need to sum up all memory policies and *checkpoint buffer size*. > If > >> it exceeds 80% of machine's RAM - print a warning > >> > >> On Mon, Aug 28, 2017 at 7:26 PM, Denis Magda wrote= : > >> > >>> Anton, thanks for stepping in! The tickets set looks complete for me! > >>> > >>> Let=E2=80=99s start the vote once the fixes are merged and tests pass= . > >>> > >>> =E2=80=94 > >>> Denis > >>> > >>>> On Aug 28, 2017, at 7:19 AM, Anton Vinogradov < > >> avinogradov@gridgain.com> > >>> wrote: > >>>> > >>>> Igniters, > >>>> > >>>> Seems 2.2 is a urgent bugfix release, so it should be based on 2.1, > >>>> In this case all other issues with fixVersion =3D 2.2 should be move= d to > >>> 2.3. > >>>> > >>>> Currently, I see 835 issues with fixVersion =3D 2.2 > >>>> > >>>> Seems we should have only 4 issues with fixVersion =3D 2.2: > >>>> - Change default max memory size from 80% to 20% - > >>>> https://issues.apache.org/jira/browse/IGNITE-6182 > >>>> - Detecting low memory on ignite node startup - > >>>> https://issues.apache.org/jira/browse/IGNITE-6003 > >>>> - Backport of improvements to checkpoint algorithm - > >>>> https://issues.apache.org/jira/browse/IGNITE-???? > >>>> - ML profile is missing in 2.1 binary release - > >>>> https://issues.apache.org/jira/browse/IGNITE-6193 > >>>> > >>>> Please correct me in case I've missed something. > >>>> > >>>> Ivan, > >>>>> Let's include to the release tickets with optimizations of > >> checkpointing > >>>> algorithm: > >>>>> https://issues.apache.org/jira/browse/IGNITE-6178 > >>>>> https://issues.apache.org/jira/browse/IGNITE-6033 > >>>>> https://issues.apache.org/jira/browse/IGNITE-5961 > >>>>> This will help users who are experiencing problems with slow > >>> checkpoints. > >>>>> Also, let's include > https://issues.apache.org/jira/browse/IGNITE-6183 > >>> to > >>>> soften "Ignite node crashed in the middle of checkpoint" message as > per > >>>> discussion < > >>>> http://apache-ignite-developers.2346864.n4.nabble. > >>> com/Ignite-close-G-stop-name-true-Change-flag-cancel-to- > >> false-td20473.html > >>>>> . > >>>> > >>>> All of these issues should have fixVersion 2.3. > >>>> Please create backport issue and link it to all necessary issues. > >>>> > >>>> P.s. I've created branch ignite-2.2, currently it equals to > ignite-2.1. > >>>> > >>>> On Mon, Aug 28, 2017 at 4:05 PM, Anton Vinogradov < > >>> avinogradov@gridgain.com> > >>>> wrote: > >>>> > >>>>> Denis, > >>>>> > >>>>>> BTW, who is considered to be the release manager of this release? > >>>>> I'll do it. > >>>>> > >>>>> On Mon, Aug 28, 2017 at 3:54 PM, Seliverstov Igor < > >> gvvinblade@gmail.com > >>>> > >>>>> wrote: > >>>>> > >>>>>> Ok, the check happens at the node start time or on NODE_JOIN event > >>>>>> > >>>>>> in general it looks like: > >>>>>> > >>>>>> 1) calculate expected used memory =3D heap max + system cache max = + > all > >>>>>> custom policies max + default policy size and put it into a node > >>> attribute > >>>>>> > >>>>>> 2) get total physycal memory, calculate expected safe to be used > >> memory > >>>>>> amount (leave 4 gb min or 20% of available memory for OS) > >>>>>> > >>>>>> 3) if expected used memory + expected used memory of other nodes o= n > >> the > >>>>>> host > than safe to be used memory amount, start calculating > >>> suggestions > >>>>>> > >>>>>> 4) Each ignite instance needs at least 512mb heap + 40mb system > >> cache + > >>>>>> 100mb default polycy, if available memory is less we cannot sugges= t > >>>>>> anything reasonable, print warning, stop calculation. > >>>>>> > >>>>>> 5) check heap size (shouldn't exceed 30% of available memory > >>> (total_memory > >>>>>> - reserved for OS memory) * 30% for all JVMs, if it exeedes, sugge= st > >>> just > >>>>>> calculated value or 512MB minimal) > >>>>>> > >>>>>> 6) check if system cache size changed, suggest default value if it= 's > >> so > >>>>>> > >>>>>> 7) in case 100 mb * policies count < available memory, suggest usi= ng > >>>>>> default policy with max size equals to remaining memory (available= - > >>> heap > >>>>>> - > >>>>>> system cache) > >>>>>> > >>>>>> 8) calculate new size for each memory policy ( it's user defined > >> size * > >>>>>> (remaining / (all_policies_size * nodes_cnt)); in proportion to > >>>>>> remaining memory, devided by nodes number on the host or 100 mb > >>> minimal) > >>>>>> > >>>>>> 9) print suggestions > >>>>>> > >>>>>> > >>>>>> > >>>>>> 2017-08-28 15:10 GMT+03:00 Dmitriy Setrakyan >>> : > >>>>>> > >>>>>>> Igor, can you please describe the algorithm with all the > thresholds? > >>>>>>> > >>>>>>> On Mon, Aug 28, 2017 at 4:56 AM, Seliverstov Igor < > >>> gvvinblade@gmail.com > >>>>>>> > >>>>>>> wrote: > >>>>>>> > >>>>>>>> The suggestion here is based on initial settings, and it's so > >> because > >>>>>>> there > >>>>>>>> is no other nodes on the host in the example. > >>>>>>>> > >>>>>>>> The algorithm tries to preserve the original ratio of memory > >> policies > >>>>>>>> keeping numbers reasonable (for example after some thresshold it > >> will > >>>>>>>> suggest not to use several memory policies if there is not enoug= h > >> of > >>>>>>> memory > >>>>>>>> for all of them) and taking into consideration nodes count on th= e > >>>>>> host, > >>>>>>>> each jvm heap, needed memory for OS, etc > >>>>>>>> > >>>>>>>> 2017-08-28 14:38 GMT+03:00 Dmitriy Setrakyan < > >> dsetrakyan@apache.org > >>>> : > >>>>>>>> > >>>>>>>>> Looks good, but why in the example provided are we suggesting > >> 8GB? 2 > >>>>>>>> nodes > >>>>>>>>> with 8GB will completely exhaust the available memory. I would > >>>>>> suggest > >>>>>>> 6 > >>>>>>>> or > >>>>>>>>> 7GB. > >>>>>>>>> > >>>>>>>>> Also, why 100MB for default policy. Anything under 1GB seems to= o > >>>>>> small. > >>>>>>>>> > >>>>>>>>> Can you please comment? > >>>>>>>>> > >>>>>>>>> D. > >>>>>>>>> > >>>>>>>>> On Mon, Aug 28, 2017 at 3:31 AM, Seliverstov Igor < > >>>>>>> gvvinblade@gmail.com> > >>>>>>>>> wrote: > >>>>>>>>> > >>>>>>>>>> One more example of possible warning: > >>>>>>>>>> > >>>>>>>>>> ----------------------------------------------------- > >>>>>>>>>> Excessive memory usage by Ignite node process (performance may > >>>>>> drop) > >>>>>>>>>> [requested=3D44613MB, available=3D15942MB]. > >>>>>>>>>> > >>>>>>>>>> Please tune the folowing settings as suggested: > >>>>>>>>>> MemoryPolicyConfiguration.initialSize for bigPlc: 8102MB > >>>>>>>>>> MemoryPolicyConfiguration.maxSize for bigPlc: 8102MB > >>>>>>>>>> MemoryPolicyConfiguration.initialSize for dfltPlc: 100MB > >>>>>>>>>> MemoryPolicyConfiguration.maxSize for dfltPlc: 100MB > >>>>>>>>>> > >>>>>>>>>> Current settings: > >>>>>>>>>> Java Heap maxSize: 3543MB > >>>>>>>>>> Java Heap initSize: 250MB > >>>>>>>>>> MemoryPolicyConfiguration.initialSize for bigPlc: 256MB > >>>>>>>>>> MemoryPolicyConfiguration.maxSize for bigPlc: 40960MB > >>>>>>>>>> MemoryPolicyConfiguration.initialSize for dfltPlc: 10MB > >>>>>>>>>> MemoryPolicyConfiguration.maxSize for dfltPlc: 10MB > >>>>>>>>>> The overall expected memory usage by all Ignite nodes on the > >>>>>> host: > >>>>>>>>>> 44613MB > >>>>>>>>>> ----------------------------------------------------- > >>>>>>>>>> > >>>>>>>>>> Your thoughts? > >>>>>>>>>> > >>>>>>>>>> 2017-08-28 5:06 GMT+03:00 Denis Magda : > >>>>>>>>>> > >>>>>>>>>>> Guys, > >>>>>>>>>>> > >>>>>>>>>>> ML lib profile is missing in 2.1 release! That must be fixed > and > >>>>>>>> rolled > >>>>>>>>>>> out in this emergency release: > >>>>>>>>>>> https://issues.apache.org/jira/browse/IGNITE-6193 < > >>>>>>>>>>> https://issues.apache.org/jira/browse/IGNITE-6193> > >>>>>>>>>>> > >>>>>>>>>>> Oleg, Yuri, please step in and handle the issue. > >>>>>>>>>>> > >>>>>>>>>>> BTW, who is considered to be the release manager of this > >>>>>> release? > >>>>>>>>>>> > >>>>>>>>>>> =E2=80=94 > >>>>>>>>>>> Denis > >>>>>>>>>>> > >>>>>>>>>>>> On Aug 25, 2017, at 2:29 PM, Dmitriy Setrakyan < > >>>>>>>>> dsetrakyan@apache.org> > >>>>>>>>>>> wrote: > >>>>>>>>>>>> > >>>>>>>>>>>> I like the format proposed by Denis, very clear. > >>>>>>>>>>>> > >>>>>>>>>>>> However, I also do not understand why a user should change t= he > >>>>>>> size > >>>>>>>>> of > >>>>>>>>>>> some > >>>>>>>>>>>> system cache. How would a user ever know what value to put > >>>>>> there? > >>>>>>>>> This > >>>>>>>>>>>> value should be configured by Ignite automatically. > >>>>>>>>>>>> > >>>>>>>>>>>> D. > >>>>>>>>>>>> > >>>>>>>>>>>> On Fri, Aug 25, 2017 at 2:24 PM, Denis Magda < > >>>>>> dmagda@apache.org> > >>>>>>>>>> wrote: > >>>>>>>>>>>> > >>>>>>>>>>>>> Igor, > >>>>>>>>>>>>> > >>>>>>>>>>>>> Let me suggest this format. > >>>>>>>>>>>>> > >>>>>>>>>>>>> --------------------------------------------- > >>>>>>>>>>>>> Excessive memory usage by Ignite node process (performance > >>>>>> may > >>>>>>>> drop) > >>>>>>>>>>>>> [requested=3D29251MB, available=3D15942MB] > >>>>>>>>>>>>> > >>>>>>>>>>>>> Please tune the following settings: > >>>>>>>>>>>>> [MemoryConfiguration.defaultMemoryPolicySize =3D suggested > >>>>>>> value] > >>>>>>>>>>>>> MemoryConfiguration.systemCacheMaxSize =3D suggested value > >>>>>>>>>>>>> [MemoryPolicyConfiguration.maxSize for {policy_name_1} =3D > >>>>>>>> suggested > >>>>>>>>>>>>> value] > >>>>>>>>>>>>> [MemoryPolicyConfiguration.maxSize for {policy_name_2} =3D > >>>>>>>> suggested > >>>>>>>>>>>>> value] > >>>>>>>>>>>>> > >>>>>>>>>>>>> Current settings: > >>>>>>>>>>>>> [DefaultMemoryPolicySize =3D value] > >>>>>>>>>>>>> [{policy_name_1} size =3D value] > >>>>>>>>>>>>> [{policy_name_1} size =3D value] > >>>>>>>>>>>>> SystemCacheInitialSize =3D value > >>>>>>>>>>>>> SystemCacheMaxSize =3D value > >>>>>>>>>>>>> Java Heap Init Size =3D value > >>>>>>>>>>>>> Java Heap Max Size =3D value > >>>>>>>>>>>>> > >>>>>>>>>>>>> The overall memory usage by all Ignite nodes on the host: > >>>>>> value > >>>>>>>>>>>>> ------------------------------------------- > >>>>>>>>>>>>> > >>>>>>>>>>>>> Records in [=E2=80=A6] are optional. If custom memory polic= y is not > >>>>>> set > >>>>>>> or > >>>>>>>>> the > >>>>>>>>>>>>> default memory policy is overridden the output will miss > >>>>>> some of > >>>>>>>> the > >>>>>>>>>>> rows. > >>>>>>>>>>>>> > >>>>>>>>>>>>> As for systemCacheMaxSize, it should be show ONLY if the > >>>>>>> parameter > >>>>>>>>> was > >>>>>>>>>>> set > >>>>>>>>>>>>> explicitly by user code. Otherwise, the platform should be > >>>>>> wise > >>>>>>>>> enough > >>>>>>>>>>> to > >>>>>>>>>>>>> instantiate it properly depending on the host memory usage. > >>>>>>>>>>>>> > >>>>>>>>>>>>> =E2=80=94 > >>>>>>>>>>>>> Denis > >>>>>>>>>>>>> > >>>>>>>>>>>>>> On Aug 25, 2017, at 1:49 PM, Seliverstov Igor < > >>>>>>>>> gvvinblade@gmail.com> > >>>>>>>>>>>>> wrote: > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> The message without logging layout: > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> Not enough memory for current process [required=3D29251MB, > >>>>>>>>>>>>> available=3D15942MB]. > >>>>>>>>>>>>>> Please change MemoryConfiguration.systemCacheMaxSize and > >>>>>>>>>>>>>> MemoryConfiguration.defaultMemoryPolicySize to decrease > >>>>>> memory > >>>>>>>>>>> allocated > >>>>>>>>>>>>>> for each node. > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> Current settings: > >>>>>>>>>>>>>> HeapInit=3D250MB > >>>>>>>>>>>>>> HeapMax=3D3543MB > >>>>>>>>>>>>>> DefaultMemoryPolicySize=3D12753MB > >>>>>>>>>>>>>> SystemCacheInitialSize=3D40MB > >>>>>>>>>>>>>> SystemCacheMaxSize=3D100MB > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> Other ignite instanses on the server require: 12853MB > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> I think it's make sense to describe what these numbers are > >>>>>>>> consist > >>>>>>>>>> of. > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> We simple say which parameters have an impact on how much > >>>>>>> memory > >>>>>>>>> the > >>>>>>>>>>>>>> instance needs and their (parameters) actual values. > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> Also we notice that more than one Ignite instance are ran = on > >>>>>>> the > >>>>>>>>>> server > >>>>>>>>>>>>> or > >>>>>>>>>>>>>> workstation and it also consumes memory. > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> 25 =D0=B0=D0=B2=D0=B3. 2017 =D0=B3. 21:30 =D0=BF=D0=BE=D0= =BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Dmitriy Setrakya= n" < > >>>>>>>>>>>>>> dsetrakyan@apache.org> =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0= =B0=D0=BB: > >>>>>>>>>>>>>> > >>>>>>>>>>>>>>> Igor, what is this flood of WARN messaging coming after t= he > >>>>>>>> text? > >>>>>>>>>> Are > >>>>>>>>>>> we > >>>>>>>>>>>>>>> really going to print this whole thing out? > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> On Fri, Aug 25, 2017 at 9:49 AM, Seliverstov Igor < > >>>>>>>>>>> gvvinblade@gmail.com > >>>>>>>>>>>>>> > >>>>>>>>>>>>>>> wrote: > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> This message appears on topology change in case the > >>>>>> available > >>>>>>>>>> memory > >>>>>>>>>>> is > >>>>>>>>>>>>>>>> exceeded > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> 2017-08-25 19:47 GMT+03:00 Seliverstov Igor < > >>>>>>>>> gvvinblade@gmail.com > >>>>>>>>>>> : > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> An example of current impl: > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> [2017-08-25 19:44:37,740][WARN ][disco-event-worker-#29= % > >>>>>>>>> internal. > >>>>>>>>>>>>>>>>> GridHomePathSelfTest0%][GridDiscoveryManager] > >>>>>>>>>>>>>>>>> [2017-08-25 19:44:37,740][WARN ][disco-event-worker-#29= % > >>>>>>>>> internal. > >>>>>>>>>>>>>>>>> GridHomePathSelfTest0%][GridDiscoveryManager] Not enoug= h > >>>>>>>> memory > >>>>>>>>>> for > >>>>>>>>>>>>>>>>> current process [required=3D29251MB, available=3D15942M= B]. > >>>>>>>>>>>>>>>>> [2017-08-25 19:44:37,740][WARN ][disco-event-worker-#29= % > >>>>>>>>> internal. > >>>>>>>>>>>>>>>>> GridHomePathSelfTest0%][GridDiscoveryManager] Please > >>>>>> change > >>>>>>>>>>>>>>>>> MemoryConfiguration.systemCacheMaxSize and > >>>>>>>> MemoryConfiguration. > >>>>>>>>>>>>>>>> defaultMemoryPolicySize > >>>>>>>>>>>>>>>>> to decrease memory allocated for each node. > >>>>>>>>>>>>>>>>> [2017-08-25 19:44:37,740][WARN ][disco-event-worker-#29= % > >>>>>>>>> internal. > >>>>>>>>>>>>>>>>> GridHomePathSelfTest0%][GridDiscoveryManager] > >>>>>>>>>>>>>>>>> [2017-08-25 19:44:37,740][WARN ][disco-event-worker-#29= % > >>>>>>>>> internal. > >>>>>>>>>>>>>>>>> GridHomePathSelfTest0%][GridDiscoveryManager] Current > >>>>>>>> settings: > >>>>>>>>>>>>>>>>> [2017-08-25 19:44:37,740][WARN ][disco-event-worker-#29= % > >>>>>>>>> internal. > >>>>>>>>>>>>>>>>> GridHomePathSelfTest0%][GridDiscoveryManager] > >>>>>>>> HeapInit=3D250MB > >>>>>>>>>>>>>>>>> [2017-08-25 19:44:37,741][WARN ][disco-event-worker-#29= % > >>>>>>>>> internal. > >>>>>>>>>>>>>>>>> GridHomePathSelfTest0%][GridDiscoveryManager] > >>>>>>>> HeapMax=3D3543MB > >>>>>>>>>>>>>>>>> [2017-08-25 19:44:37,741][WARN ][disco-event-worker-#29= % > >>>>>>>>> internal. > >>>>>>>>>>>>>>>>> GridHomePathSelfTest0%][GridDiscoveryManager] > >>>>>>>>>>>>>>> DefaultMemoryPolicySize=3D > >>>>>>>>>>>>>>>>> 12753MB > >>>>>>>>>>>>>>>>> [2017-08-25 19:44:37,741][WARN ][disco-event-worker-#29= % > >>>>>>>>> internal. > >>>>>>>>>>>>>>>>> GridHomePathSelfTest0%][GridDiscoveryManager] > >>>>>>>>>>>>>>>>> SystemCacheInitialSize=3D40MB > >>>>>>>>>>>>>>>>> [2017-08-25 19:44:37,741][WARN ][disco-event-worker-#29= % > >>>>>>>>> internal. > >>>>>>>>>>>>>>>>> GridHomePathSelfTest0%][GridDiscoveryManager] > >>>>>>>>>>>>>>> SystemCacheMaxSize=3D100MB > >>>>>>>>>>>>>>>>> [2017-08-25 19:44:37,741][WARN ][disco-event-worker-#29= % > >>>>>>>>> internal. > >>>>>>>>>>>>>>>>> GridHomePathSelfTest0%][GridDiscoveryManager] > >>>>>>>>>>>>>>>>> [2017-08-25 19:44:37,741][WARN ][disco-event-worker-#29= % > >>>>>>>>> internal. > >>>>>>>>>>>>>>>>> GridHomePathSelfTest0%][GridDiscoveryManager] Other > >>>>>> ignite > >>>>>>>>>>> instanses > >>>>>>>>>>>>>>> on > >>>>>>>>>>>>>>>>> the server require: 12853MB > >>>>>>>>>>>>>>>>> [2017-08-25 19:44:37,741][WARN ][disco-event-worker-#29= % > >>>>>>>>> internal. > >>>>>>>>>>>>>>>>> GridHomePathSelfTest0%][GridDiscoveryManager] > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> 2017-08-25 17:40 GMT+03:00 Sergey Kozlov < > >>>>>>>> skozlov@gridgain.com > >>>>>>>>>> : > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> I suppose we should not forget JVM heap size and > >>>>>> suggest to > >>>>>>>>>> reduce > >>>>>>>>>>>>>>> both > >>>>>>>>>>>>>>>>>> options > >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> On Fri, Aug 25, 2017 at 5:24 PM, Dmitriy Setrakyan < > >>>>>>>>>>>>>>>> dsetrakyan@apache.org > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> wrote: > >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> Igor, I would change the message. How about this: > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> Required RAM size is larger than total physical memor= y > >>>>>>>>> available > >>>>>>>>>>> for > >>>>>>>>>>>>>>>> OS. > >>>>>>>>>>>>>>>>>>>> Please change MemoryConfiguration.WhichProperty and > >>>>>>>>>>>>>>>>>>>> MemoryPolicyConfiguration.WhichProperty to decrease > >>>>>>> memory > >>>>>>>>>>>>>>>> allocated > >>>>>>>>>>>>>>>>>> for > >>>>>>>>>>>>>>>>>>>> each node. > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> Also, can we calculate what the memory size allocated > >>>>>> for > >>>>>>>> each > >>>>>>>>>>> node > >>>>>>>>>>>>>>>>>> should > >>>>>>>>>>>>>>>>>>> be? In that case we should suggest it. > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> D. > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> On Fri, Aug 25, 2017 at 7:20 AM, Seliverstov Igor < > >>>>>>>>>>>>>>>> gvvinblade@gmail.com > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> wrote: > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> What do you, guys think about next warning? > >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> [2017-08-25 17:17:04,718][INFO > >>>>>>>>>>>>>>>>>>>> ][test-runner-#1%internal.GridHomePathSelfTest%][ > >>>>>>>> GridHomePat > >>>>>>>>>>>>>>>>>> hSelfTest0] > >>>>>>>>>>>>>>>>>>>> System cache's MemoryPolicy size is configured to 40 > >>>>>> MB. > >>>>>>>> Use > >>>>>>>>>>>>>>>>>>>> MemoryConfiguration.systemCacheMemorySize property t= o > >>>>>>>> change > >>>>>>>>>> the > >>>>>>>>>>>>>>>>>>> setting. > >>>>>>>>>>>>>>>>>>>> [2017-08-25 17:17:04,718][WARN > >>>>>>>>>>>>>>>>>>>> ][test-runner-#1%internal.GridHomePathSelfTest%][ > >>>>>>>> GridHomePat > >>>>>>>>>>>>>>>>>> hSelfTest0] > >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>> Required RAM size is larger than total physical > >>>>>> memory > >>>>>>>>>>>>>>> available > >>>>>>>>>>>>>>>>>> for > >>>>>>>>>>>>>>>>>>>> OS. > >>>>>>>>>>>>>>>>>>>>>>> Check your configuration to avoid swap partition > >>>>>>> usage. > >>>>>>>>>>>>>>>>>>>>>>> Use MemoryConfiguration and > >>>>>> MemoryPolicyConfiguration > >>>>>>> to > >>>>>>>>>>>>>>> change > >>>>>>>>>>>>>>>>>> the > >>>>>>>>>>>>>>>>>>>> settings. > >>>>>>>>>>>>>>>>>>>>>>> Physical memory [required=3D16397MB, > >>>>>> available=3D15942MB] > >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> [2017-08-25 17:17:04,726][WARN > >>>>>>>>>>>>>>>>>>>> ][test-runner-#1%internal.GridHomePathSelfTest%][ > >>>>>>>> GridHomePat > >>>>>>>>>>>>>>>>>> hSelfTest0] > >>>>>>>>>>>>>>>>>>>> Peer class loading is enabled (disable it in > >>>>>> production > >>>>>>> for > >>>>>>>>>>>>>>>>>> performance > >>>>>>>>>>>>>>>>>>> and > >>>>>>>>>>>>>>>>>>>> deployment consistency reasons) > >>>>>>>>>>>>>>>>>>>> [2017-08-25 17:17:04,726][INFO > >>>>>>>>>>>>>>>>>>>> ][test-runner-#1%internal.GridHomePathSelfTest%][ > >>>>>>>> GridHomePat > >>>>>>>>>>>>>>>>>> hSelfTest0] > >>>>>>>>>>>>>>>>>>>> Configured caches [in 'sysMemPlc' memoryPolicy: > >>>>>>>>>>>>>>>> ['ignite-sys-cache']] > >>>>>>>>>>>>>>>>>>>> [2017-08-25 17:17:04,731][INFO > >>>>>>>>>>>>>>>>>>>> ][test-runner-#1%internal.GridHomePathSelfTest%][ > >>>>>>>> GridHomePat > >>>>>>>>>>>>>>>>>> hSelfTest0] > >>>>>>>>>>>>>>>>>>>> 3-rd party licenses can be found at: > >>>>>>>>>>>>>>>>>>>> /home/gvvinblade/projects/igni > >>>>>> te/incubator-ignite/libs/ > >>>>>>>>>> licenses > >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> 2017-08-25 13:26 GMT+03:00 Yakov Zhdanov < > >>>>>>>>> yzhdanov@apache.org > >>>>>>>>>>> : > >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> Agree, let's release new version including tickets > >>>>>>>> mentioned > >>>>>>>>>> by > >>>>>>>>>>>>>>>>>> Denis > >>>>>>>>>>>>>>>>>>> and > >>>>>>>>>>>>>>>>>>>>> Ivan. > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> --Yakov > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> -- > >>>>>>>>>>>>>>>>>> Sergey Kozlov > >>>>>>>>>>>>>>>>>> GridGain Systems > >>>>>>>>>>>>>>>>>> www.gridgain.com > >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>> > >>>>>>>>> > >>>>>>>> > >>>>>>> > >>>>>> > >>>>> > >>>>> > >>> > >>> > >> > > --f403043e3c5078b7360557fd113d--