Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'scripts': 0.03; 'causing': 0.04; 'detect': 0.07; 'postgresql,': 0.09; 'to:addr:pobox.com': 0.09; 'to:addr:skip': 0.09; 'cc:addr:python-list': 0.11; 'it."': 0.16; 'sybase,': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'cc:addr:gmail.com': 0.22; 'separate': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**1': 0.23; 'skip': 0.24; 'tables': 0.26; 'gets': 0.27; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'message- id:@mail.gmail.com': 0.30; 'agreed.': 0.31; 'extensively': 0.31; 'operations.': 0.31; 'this.': 0.32; 'probably': 0.32; 'problem': 0.35; 'connection': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'oracle': 0.36; 'done': 0.36; 'next': 0.36; 'server': 0.38; 'pm,': 0.38; 'that,': 0.38; 'anything': 0.39; 'identify': 0.61; "you'll": 0.62; 'our': 0.64; 'situation': 0.65; 'jul': 0.74; 'dba': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=3gO2T5TCCDH93brD7EqkTrNe39hKYjXXiP7ODegxPGI=; b=mwVE/AVV0iZOmTyDJg6qNB2wMxkDj00I58E/wnEPJ/suF1usjRow4+2gve1arTedPV rTwPOsPOVeAaN6BDLqFP7FIQuw9+/EawV5UvlBbWYVanpFQv2HxhYDUMmYJpW2AAcZ7o GDJVLnBgtf88XdyQvnW6F6/Dzx/wnd7P+FHHcPLU7xMP3Ls/6QRPPn2mHJ01dmeBrda6 JW+n2ioI0j3TGbq90gzsEYVD0NnhlCehFWZ3KmMDswXpWQamHxeoZsZC9rqA5ot254NK MKEPUJUR3jDhH8TWxnlrbg3dZVyEmv7Tx5a3GjrUiaytQEjE+oPPspwy7ENA6Y68d3Bh gXMA== MIME-Version: 1.0 X-Received: by 10.194.86.225 with SMTP id s1mr47472362wjz.21.1405620047429; Thu, 17 Jul 2014 11:00:47 -0700 (PDT) In-Reply-To: References: Date: Thu, 17 Jul 2014 14:00:47 -0400 Subject: Re: Blocked thread From: Larry Martell To: Skip Montanaro Content-Type: text/plain; charset=UTF-8 Cc: "python-list@python.org" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1405620049 news.xs4all.nl 2966 [2001:888:2000:d::a6]:53982 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:74657 On Thu, Jul 17, 2014 at 1:46 PM, Skip Montanaro wrote: > > On Thu, Jul 17, 2014 at 12:32 PM, Chris Angelico wrote: >> >> I don't know Oracle specifically, but if it's anything like >> PostgreSQL, you'll probably do better with a completely separate >> connection to the server > > > Agreed. We use Sybase, and our DBA uses their tools extensively to identify > problematic clients. I did ask my DBA - he said "Blocking is a normal part of database operations. It's only a problem when it's a deadlock, in which case the server will detect that, kill one of the processes and log it." My situation is not a deadlock - there's just multiple scripts hitting the same tables at the same time. When one gets done the next one proceeds. I just want to find out what are the other processes causing this.