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 5405D200B80 for ; Wed, 14 Sep 2016 19:05:58 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 52A5B160AB4; Wed, 14 Sep 2016 17:05:58 +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 9BC0F160AB3 for ; Wed, 14 Sep 2016 19:05:57 +0200 (CEST) Received: (qmail 59853 invoked by uid 500); 14 Sep 2016 17:05:56 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 59844 invoked by uid 99); 14 Sep 2016 17:05:56 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2016 17:05:56 +0000 Received: from mail-qk0-f170.google.com (mail-qk0-f170.google.com [209.85.220.170]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 209601A0046 for ; Wed, 14 Sep 2016 17:05:56 +0000 (UTC) Received: by mail-qk0-f170.google.com with SMTP id h8so20580182qka.1 for ; Wed, 14 Sep 2016 10:05:56 -0700 (PDT) X-Gm-Message-State: AE9vXwP2dIhW5UqAk2ZoAV8my9oHMS0WU+leVspLID4Lkj8ar0eKaw9tgiXkiNJJ9qEhwz2dT/tmxDHWKwkXEubg X-Received: by 10.55.138.66 with SMTP id m63mr4577774qkd.159.1473872754978; Wed, 14 Sep 2016 10:05:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.34.146 with HTTP; Wed, 14 Sep 2016 10:05:54 -0700 (PDT) In-Reply-To: <1473872036525-7749.post@n6.nabble.com> References: <1473814418681-7726.post@n6.nabble.com> <1473858746821-7746.post@n6.nabble.com> <1473872036525-7749.post@n6.nabble.com> From: Nikolai Tikhonov Date: Wed, 14 Sep 2016 20:05:54 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Apache Ignite cluster freeze after a period of time To: user@ignite.apache.org Content-Type: multipart/alternative; boundary=94eb2c060f220184ad053c7abe0b archived-at: Wed, 14 Sep 2016 17:05:58 -0000 --94eb2c060f220184ad053c7abe0b Content-Type: text/plain; charset=UTF-8 Hi, How I see from logs you are performing putAll from many threads and I think that you got deadlock because try to get locks on keys in random order. For example: first thread try to lock K1 and K2 and second thread K2 and K1. Please, make sure that you pass sorted map to putAll (for example TreeMap instead of HashMap). On Wed, Sep 14, 2016 at 7:53 PM, qwertywx wrote: > Hello, > > I got the thread dump but in there I found something strange. dump.log > > > It seems there is a deadlock as the dump says. But I do not know the reason > of it :( > > Any ideas? > > > > -- > View this message in context: http://apache-ignite-users. > 70518.x6.nabble.com/Apache-Ignite-cluster-freeze-after-a- > period-of-time-tp7726p7749.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > --94eb2c060f220184ad053c7abe0b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

How I see from logs you are performi= ng putAll from many threads and I think that you got deadlock because try t= o get locks on keys in random order. For example: first thread try to lock = K1 and K2 and second thread K2 and K1. Please, make sure that you pass sort= ed map to putAll (for example TreeMap instead of HashMap).
<= /div>

On Wed= , Sep 14, 2016 at 7:53 PM, qwertywx <qwertywx@hotmail.com> wrote:
Hello,

I got the thread dump but in there I found something strange.=C2=A0 dump.lo= g
<http://apache-ignite-users.70518.x6.nabble.com/file/n7749/dump.log>

It seems there is a deadlock as the dump says. But I do not know the reason=
of it :(

Any ideas?



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Apache-Ignite-cluster-freeze-after-a-period= -of-time-tp7726p7749.html
Sent from the Apache Ignite Users m= ailing list archive at Nabble.com.

--94eb2c060f220184ad053c7abe0b--