Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #74657

Re: Blocked thread

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 <larry.martell@gmail.com>
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 <CANc-5UyPjdozTKjOzOy6H=Ar3_Jzx1MU68qymyEoFWx7p_piEQ@mail.gmail.com>
References <CACwCsY7BWeV14+=OHbgYyfwV8qGkTv_nRC4e4+Ahxv3+RP+tng@mail.gmail.com> <CAPTjJmpi8d28ahbba0LNQU8rY4r0EvwUmDS2zRMVsUn0tubtuQ@mail.gmail.com> <CANc-5UyPjdozTKjOzOy6H=Ar3_Jzx1MU68qymyEoFWx7p_piEQ@mail.gmail.com>
Date Thu, 17 Jul 2014 14:00:47 -0400
Subject Re: Blocked thread
From Larry Martell <larry.martell@gmail.com>
To Skip Montanaro <skip@pobox.com>
Content-Type text/plain; charset=UTF-8
Cc "python-list@python.org" <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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.11938.1405620049.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Thu, Jul 17, 2014 at 1:46 PM, Skip Montanaro <skip@pobox.com> wrote:
>
> On Thu, Jul 17, 2014 at 12:32 PM, Chris Angelico <rosuav@gmail.com> 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.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Blocked thread Larry Martell <larry.martell@gmail.com> - 2014-07-17 14:00 -0400

csiph-web