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 0A3C4200D2E for ; Tue, 31 Oct 2017 11:11:21 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 08CAB1609EC; Tue, 31 Oct 2017 10:11:21 +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 24D511609EB for ; Tue, 31 Oct 2017 11:11:19 +0100 (CET) Received: (qmail 2171 invoked by uid 500); 31 Oct 2017 10:11:19 -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 2155 invoked by uid 99); 31 Oct 2017 10:11:19 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Oct 2017 10:11:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 46F9E1A06EB for ; Tue, 31 Oct 2017 10:11:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-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] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id vuGHGX3tmP69 for ; Tue, 31 Oct 2017 10:11:17 +0000 (UTC) Received: from mail-qk0-f182.google.com (mail-qk0-f182.google.com [209.85.220.182]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id EF23C61119 for ; Tue, 31 Oct 2017 10:11:16 +0000 (UTC) Received: by mail-qk0-f182.google.com with SMTP id f199so19716087qke.2 for ; Tue, 31 Oct 2017 03:11:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=J2OYPXiWpspQnt65HHsDraAsDP5kyHQwKMi7UaQuFRg=; b=h4KxAmfBzLlgwLCiONoEcB7kZRKE7mln+CEoYglxvcBHA50YFtwpgIV4+xyzc/GqvZ 515eDgJqg7F7B7yGRRHbCUSgJH0cLNzdByXgc+Dci1fSSL4bqiicftjejpcAtEh0K8es WLuoLoe15xpVqQlCQTBzxIGfQpaQqaH1rXX85ZWdAeIIQZ/8+SgMmcG1NM5tY9HmIife JhC+Mg0BSOiJycmthmVAVkv3sn75ljoKkBWbIFL3qRRogYxf7Wxi0BGVTzgapY/PC5JL vpM6OqXqX994xyLZ5ZDQ4VeC1OF9pBLmucxKy4RMSHS/MkXiCg6wP4xdtHkSuEZWKBFk H40g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=J2OYPXiWpspQnt65HHsDraAsDP5kyHQwKMi7UaQuFRg=; b=dDPFZmCYa6777iRpkuZRAu7JKh6zQv54okm9LWtcWRHuP/7OOCN4BvyTfsi4E+A4DW jZkYMPiU+SW8MvTZjN4/j3D6NtXqDNFB6bIBuPlfp4Q4msh5zOf8ARoYw24tQrQzY+9y K+fgG+IcDYMp8k9RhT19/JmPPnaEkc2sXzkwCHI51q4z8s/gwzxFsuhnr7Zq6pQFK2oz X2hgi4MrBBZH/GwMSw4GNI3Lk/lmm2/SHKdKeoAgPO80GVMiVUrAImCQJ0WQwEBDN1Fj dNVqM7jDLs/spGytOUzUV/d0xBqvlBuTpHdu/DnKiKh7HMznKiFRtT1Fp01KEaLf6FXr R1/A== X-Gm-Message-State: AMCzsaXxrtaMXEX9DEz3IMEjBnu7UUzths5FTj8o09tbkt/mxrmfWLTo N/gSyQr5VzWRlb6gZEvDf2VyS2GqgqyaO6BmA80= X-Google-Smtp-Source: ABhQp+QyZrA2PUEYQkTT7gbhxXrM6AM21vQZy+R5UdZ4jzaOq8EnRWTShR2BX/Gk52E911QWK+wEGRus4DbGhmnj40c= X-Received: by 10.55.24.170 with SMTP id 42mr1695334qky.220.1509444676295; Tue, 31 Oct 2017 03:11:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.9.23 with HTTP; Tue, 31 Oct 2017 03:11:15 -0700 (PDT) In-Reply-To: References: From: Evgenii Zhuravlev Date: Tue, 31 Oct 2017 13:11:15 +0300 Message-ID: Subject: Re: deadlock To: user@ignite.apache.org Content-Type: multipart/alternative; boundary="001a11440fbcbd2332055cd4f926" archived-at: Tue, 31 Oct 2017 10:11:21 -0000 --001a11440fbcbd2332055cd4f926 Content-Type: text/plain; charset="UTF-8" Hi, Most possible you update entries in different order. Before using bulk operations such as updateAll removeAll invokeAll, make sure that entries you applying to it sorted in the same order Evgenii 2017-10-31 9:51 GMT+03:00 shawn.du : > Hi, > > My ignite server stop to response. Any client can't connect it, and I > found dead lock in logs, > what's the possible reason for this? I use ignite 1.9.0. > > Thanks in advance. > ================log=================================== > deadlock: true > completed: 29519967 > Thread [name="sys-stripe-12-#13%null%", id=36, state=BLOCKED, > blockCnt=308, waitCnt=28469776] > Lock [object=o.a.i.i.processors.cache.distributed.dht.atomic. > GridDhtAtomicCacheEntry@4f5b4fce, ownerName=sys-stripe-9-#10%null%, > ownerId=33] > at sun.misc.Unsafe.monitorEnter(Native Method) > at o.a.i.i.util.GridUnsafe.monitorEnter(GridUnsafe.java:1136) > at o.a.i.i.processors.cache.distributed.dht.atomic. > GridDhtAtomicCache.lockEntries(GridDhtAtomicCache.java:2958) > at o.a.i.i.processors.cache.distributed.dht.atomic. > GridDhtAtomicCache.updateAllAsyncInternal0(GridDhtAtomicCache.java:1793) > at o.a.i.i.processors.cache.distributed.dht.atomic. > GridDhtAtomicCache.updateAllAsyncInternal(GridDhtAtomicCache.java:1721) > at > > Thanks > Shawn > > --001a11440fbcbd2332055cd4f926 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Most possible you update entries in= different order. Before using bulk operations such as updateAll removeAll = invokeAll, make sure that entries you applying to it sorted in the same ord= er

Evgenii
<= br>
2017-10-31 9:51 GMT+03:00 shawn.du <s= hawn.du@neulion.com.cn>:
=20
=20
Hi,=C2=A0

My ignite server stop = to response.=C2=A0 Any client can't connect it, and I found dead lock i= n logs,
what's the possible reason for this?=C2=A0 I use igni= te 1.9.0.

Thanks in advance.
=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3Dlog=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
deadlock: true
completed: 29519967
=
Thread [name=3D"sys-stripe-12-#13%null%", id=3D36, stat= e=3DBLOCKED, blockCnt=3D308, waitCnt=3D28469776]
=C2=A0 =C2=A0 Lo= ck [object=3Do.a.i.i.processors.cache.distributed.dht.atomic.Grid= DhtAtomicCacheEntry@4f5b4fce, ownerName=3Dsys-stripe-9-#10%null%,= ownerId=3D33]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at sun.misc.Unsafe.mon= itorEnter(Native Method)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at o.a.= i.i.util.GridUnsafe.monitorEnter(GridUnsafe.java:1136)
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 at o.a.i.i.processors.cache.distributed.dh= t.atomic.GridDhtAtomicCache.lockEntries(GridDhtAtomicCache.j= ava:2958)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at o.a.i.i.processors.cache= .distributed.dht.atomic.GridDhtAtomicCache.updateAllAsyncInt= ernal0(GridDhtAtomicCache.java:1793)
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 at o.a.i.i.processors.cache.distributed.dht.atomic.GridDht= AtomicCache.updateAllAsyncInternal(GridDhtAtomicCache.java:1721)<= /div>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at

=20
=20
Thanks
Sha= wn


--001a11440fbcbd2332055cd4f926--