Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VmNUO-0005Xk-VJ for pgsql-bugs@arkaria.postgresql.org; Fri, 29 Nov 2013 12:48:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VmNUO-0008VY-Ez for pgsql-bugs@arkaria.postgresql.org; Fri, 29 Nov 2013 12:48:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VmNUN-0008VS-Q2 for pgsql-bugs@postgresql.org; Fri, 29 Nov 2013 12:48:07 +0000 Received: from smtprelay0039.b.hostedemail.com ([64.98.42.39] helo=smtprelay.b.hostedemail.com) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VmNUF-0002Zj-P1 for pgsql-bugs@postgresql.org; Fri, 29 Nov 2013 12:48:07 +0000 Received: from filter.hostedemail.com (b-bigip1 [10.5.19.254]) by smtprelay05.b.hostedemail.com (Postfix) with ESMTP id 0603232AF7D; Fri, 29 Nov 2013 12:47:58 +0000 (UTC) X-Session-Marker: 616C76686572726540616C76682E6E6F2D69702E6F7267 X-Spam-Summary: 40, 2.5, 0, , d41d8cd98f00b204, alvherre@alvh.no-ip.org, :::, RULES_HIT:41:355:379:599:800:967:973:988:989:1260:1277:1311:1312:1313:1314:1345:1359:1437:1515:1516:1518:1519:1534:1541:1593:1594:1595:1596:1711:1730:1747:1777:1792:2393:2525:2561:2564:2682:2685:2828:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3352:3657:3865:3866:3867:3868:3871:3872:3873:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4321:4362:4605:4659:5007:6120:6261:7901:7903:8599:8985:9025:9121:9203:9388:10011:10400:10848:11232:11256:11257:11658:11914:12043:12266:12438:12517:12519:12533:12555:12682:12698:12737:12933:12937:13069:13095:13311:13357:13894:13895, 0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:fn, MSBL:0, DNSBL:none, Custom_rules:0:1:0 X-HE-Tag: dock29_28626f517c11a X-Filterd-Recvd-Size: 2333 Received: from eldon.alvh.no-ip.org (pc-223-216-160-190.cm.vtr.net [190.160.216.223]) (Authenticated sender: alvherre@alvh.no-ip.org) by omf02.b.hostedemail.com (Postfix) with ESMTPA; Fri, 29 Nov 2013 12:47:57 +0000 (UTC) Received: by eldon.alvh.no-ip.org (Postfix, from userid 1000) id 3A4891FC8; Fri, 29 Nov 2013 09:47:56 -0300 (CLST) Date: Fri, 29 Nov 2013 09:47:56 -0300 From: Alvaro Herrera To: Tomonari Katsumata Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #8434: Why does dead lock occur many times ? Message-ID: <20131129124756.GM5513@eldon.alvh.no-ip.org> References: <20131004172217.GW5235@eldon.alvh.no-ip.org> <20131127164226.GA14522@eldon.alvh.no-ip.org> <5296BFE1.2090906@po.ntts.co.jp> <20131128112217.GE5513@eldon.alvh.no-ip.org> <529818D2.60701@po.ntts.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <529818D2.60701@po.ntts.co.jp> User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Tomonari Katsumata wrote: > Hi Alvaro, > > >> do you have another patch? > > > > Sorry, yes. This is the complete series of patches, although I have not > > tried them against 9.3 yet. > > > Thank you. > I could apply them against 93_STABLE and build it. > (commitID: d32e8387bac15ad353029c259e832f78d456c7a8) > > deadlock did not occur with my test case. > It seems these patches resolve my problem. > > If it doesn't have any other problems, > would you commit them for next release(9.3.2)? Yes, it's already committed for 9.3.2. There are a bunch of other fixes related to multixact which I intend to commit soon too. > FYI: > These patch doesn't resolve bug#8470 yet. > I could reproduce the problem on patched PostgreSQL. Yeah, I tested that too, but that problem is not related. I also tested it with the fix to another performance problem which I posted as http://www.postgresql.org/message-id/20131127222435.GC5513@eldon.alvh.no-ip.org but that's not it either. It really requires a completely separate optimization. Thanks, -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs