Return-Path: <oracle-l-bounce@freelists.org>
X-Original-To: oracle-l@orafaq.com
Delivered-To: oracle-l@orafaq.com
Received: from smtp-aa.freelists.org (smtp-aa.freelists.org [23.23.80.81])
 by malta2546.startdedicated.com (Postfix) with ESMTPS id 8CC6F100301072
 for <oracle-l@orafaq.com>; Wed,  5 May 2021 19:48:34 +0200 (CEST)
Received: from turing.freelists.org (ip-10-0-0-164.ec2.internal [10.0.0.164])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by smtp-aa.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id A90974104B;
 Wed,  5 May 2021 17:48:32 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Postfix) with ESMTP id 9BFE741AE9;
 Wed,  5 May 2021 17:48:32 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1620236912;
 bh=kIV042BOga/woVeegdpeXgAxIXuz6KqZJw9VfQeOpDk=;
 h=From:Sender:Sender:From;
 b=CkzccNvwi3QtkgYMmVz0MEY26tgKOO+99oMl+/q7XaagPHYiQvkmPzHakodQ0MFFX
	 KPN41423Lvnr5b58fO6xfH5Mu/+Zdqq9QRPhMqq02dmDTsR8/1HaQ0xrigPnBytRxz
	 xbki8l8ot47FSztPM6QMLF+yi6AYZBQnkLP+RPso=
X-Virus-Scanned: by FreeLists at turing2.freelists.org
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id hqJqjH_-WyuZ; Wed,  5 May 2021 17:48:32 +0000 (UTC)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Postfix) with ESMTP id 07AE041AEE;
 Wed,  5 May 2021 17:48:30 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1620236911;
 bh=kIV042BOga/woVeegdpeXgAxIXuz6KqZJw9VfQeOpDk=;
 h=From:Sender:Sender:From;
 b=b7Y1FG1ADqRpvTuEFQ7w7PboaHElAhDhJQJwFeh3R/vHyRX/XTUApgjRSwdkmzc9D
	 8Y/QKOs323epRtWHfzmE5n1JOe2jMFgw5YvD6SpWPIt7qV2ravfoZy3xL6DyFTV9ya
	 uchulAiWPhxsSsi5bEaQ/Abr/RZUVOUwm3TN8sg4=
Received: with ECARTIS (v1.0.0; list oracle-l); Wed, 05 May 2021 17:48:28 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Postfix) with ESMTP id 8B08341A63
 for <oracle-l@freelists.org>; Wed,  5 May 2021 17:48:28 +0000 (UTC)
Authentication-Results: turing.freelists.org;
 dkim=pass (2048-bit key; unprotected) header.d=tanelpoder-com.20150623.gappssmtp.com header.i=@tanelpoder-com.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=OIGJZGE5;
 dkim-atps=neutral
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id rGu78ORkZSek for <oracle-l@freelists.org>;
 Wed,  5 May 2021 17:48:28 +0000 (UTC)
Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44])
 (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by turing.freelists.org (Postfix) with ESMTPS id 3FB62417D0
 for <oracle-l@freelists.org>; Wed,  5 May 2021 17:48:28 +0000 (UTC)
Received: by mail-wm1-f44.google.com with SMTP id 82-20020a1c01550000b0290142562ff7c9so1616365wmb.3
        for <oracle-l@freelists.org>; Wed, 05 May 2021 10:48:28 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:references:in-reply-to:from:date
         :message-id:subject:to:cc;
        bh=opjl1dc5LdEvqLYnmvqtoabs7TxxrhgYuVDndv8qfIc=;
        b=ABlQtMatcEw9s3row81Bj8B7RzRWhVyDx4G+XQOJDjlzmRSGnU9UgicqF1fchfHvvf
         dBh0ucrfus9RRfHspB1clJ/L0WAKavZTVQ92jR9h41VzOv0KS4tTitWxWG1LqMgv/PJA
         kLzviDdGpuIAW6HGPV30NgVrLM4n3Fai4dQn7WJdslI2EpvpBDItxxSTxWEZ4PxGvbFN
         89caNuCFyt0b00xqpIyOujwn/oqVd59xr+VcncyT9D6NUimm3Rw9wxLbpWCQMF7xaKsa
         1RCLJ5UPJfgn/b8ZNTY0kLs04dbPHQpwwzj7ZRho6WJ14/GrICKtUA17WSsxqhvzt9jI
         irGg==
X-Gm-Message-State: AOAM531G2lp4qk308FJ7Zhw44NuCi1DZccjqcJoAOzxbSHUQORWE7Pmb
 khdYlewgVdwmacDjTcVnhYiZAWnz0zKejY4YBL7nJQ==
X-Google-Smtp-Source: ABdhPJxUreLVpovympUi20LzFj5QeLR120fU0nhjmxWyShT/7btmvBHUCYqdL2iLpheTj7SE8PTV5EEegDJ6bwctowc=
X-Received: by 2002:a1c:f407:: with SMTP id z7mr46657wma.20.1620236907229;
 Wed, 05 May 2021 10:48:27 -0700 (PDT)
MIME-Version: 1.0
References: <CAKna9VaY4KFu6RFfHYnRZ4t69Ct4J2itLSejGFG-rMrgNv=Z1A@mail.gmail.com>
 <CAGtsp8n_PWgLqx3KyC0XWMvT9ycBPaOJkC7+dR0iqtOXnmgoog@mail.gmail.com>
 <CAKna9Va8KABsZ8o0VqRcLPgZi9KyJxmJ4y9+Dr5azrr_ru7YdQ@mail.gmail.com>
 <CAKna9VZ5sgJ-iejaL_7Zbt5pHsK-V8JYu6r=1pnDy_Pm-6yB6g@mail.gmail.com>
 <CAKna9VZMae63jKU2B9TpSsgfMqbipWbR_fGbcVMb_ZJZob59Gg@mail.gmail.com>
 <CAKna9VaCuMGG=VmjwyvzF_JX6m-Oq99MvdpYTD=zW5aWveR+bA@mail.gmail.com>
 <CAKna9VZYXemkaX2d13VoK-1MsXakw5BnJWHiMak-1_bUfVTfEA@mail.gmail.com>
 <CAKna9Va4WDt+jTnpsqhfDsEWJhFqXK6xq=iZS=kBSqVxzFEwWw@mail.gmail.com>
 <CAGtsp8k1Yx8JJ4--3OxZ-sUZN+8DJrtVFBEjUCwbi6MhXfKgNw@mail.gmail.com>
 <CAKna9Va4vSSoLjg=oVaTUpxEL+XVCPvWoFhtRZfi-gpA8B8Tug@mail.gmail.com>
 <CAKna9VbKg1eEPEGM3HzpreUVWpi5JAnKCLSQosA=VEb3fdgdJg@mail.gmail.com> <CAGtsp8mjcWN65v4jtRWSziiBRg0-aeU3OgeyCWBrsGSC0Lw1Og@mail.gmail.com>
In-Reply-To: <CAGtsp8mjcWN65v4jtRWSziiBRg0-aeU3OgeyCWBrsGSC0Lw1Og@mail.gmail.com>
From: Tanel Poder <tanel@tanelpoder.com>
Date: Wed, 5 May 2021 13:48:16 -0400
Message-ID: <CAMHX9JJiVnWVUY_Z8PEDT6LixhP+S8W3EnfjUBwVcn6h_8DXWA@mail.gmail.com>
Subject: Re: Odd wait event freezing database
To: Jonathan Lewis <jlewisoracle@gmail.com>
Cc: Lok P <loknath.73@gmail.com>, Oracle L <oracle-l@freelists.org>
Content-Type: multipart/alternative; boundary="0000000000004ecc6605c198cd1c"
X-archive-position: 79824
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: tanel@tanelpoder.com
Precedence: normal
Reply-To: tanel@tanelpoder.com
List-Help: <mailto:ecartis@freelists.org?Subject=help>
List-Unsubscribe: <mailto:oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-Subscribe: <mailto:oracle-l-request@freelists.org?Subject=subscribe>
List-Owner: <mailto:>
List-post: <mailto:oracle-l@freelists.org>
List-Archive: <https://www.freelists.org/archive/oracle-l>
X-list: oracle-l
--0000000000004ecc6605c198cd1c
Content-Type: text/plain; charset="UTF-8"

Since 11g there's also an oradebug *setorapname* command for attaching to
background processes by their name:

SQL> oradebug setorapname *dbw0*
Oracle pid: 9, Unix process pid: 5506, image: oracle@linux03 (DBW0)
SQL>
SQL> oradebug setorapname *pmon*
Oracle pid: 2, Unix process pid: 5490, image: oracle@linux03 (PMON)
SQL>

--
Tanel Poder
https://tanelpoder.com/events



> oradebug setospid {os process id for ctwr}
> oradebug event 10046 trace name context forever, level 8
>
> (you could also use "osdebug setorapid {v$process.pid for ctwr}" instead
> of setospid.
>
>>
>>>>>>>>

--0000000000004ecc6605c198cd1c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_quote"><div>Since 11g=
 there&#39;s also an oradebug <b>setorapname</b> command for attaching=C2=
=A0to background processes by their name:</div><div><pre style=3D"padding-l=
eft:1em;padding-top:1em;padding-bottom:1em;overflow-x:auto;line-height:1.5e=
m;font-family:&quot;Courier New&quot;,&quot;Lucida Console&quot;,Monaco,mon=
ospace;font-size:15px;width:1000px;color:rgb(0,0,0)">SQL&gt; oradebug setor=
apname <b>dbw0</b>
Oracle pid: 9, Unix process pid: 5506, image: oracle@linux03 (DBW0)
SQL&gt;
SQL&gt; oradebug setorapname <b>pmon</b>
Oracle pid: 2, Unix process pid: 5490, image: oracle@linux03 (PMON)
SQL&gt;
</pre>--</div><div>Tanel Poder</div><div><a href=3D"https://tanelpoder.com/=
events">https://tanelpoder.com/events</a></div><div><br></div><div>=C2=A0</=
div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor=
der-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,20=
4);padding-left:1ex"><div dir=3D"ltr"><div></div><div>oradebug setospid {os=
 process id for ctwr}</div><div>oradebug event 10046 trace name context for=
ever, level 8</div><div><br></div><div>(you could also use &quot;osdebug se=
torapid {v$process.pid for ctwr}&quot; instead of setospid.</div></div><div=
 class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0p=
x 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-c=
olor:rgb(204,204,204);padding-left:1ex"><div class=3D"gmail_quote"><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-wid=
th:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-l=
eft:1ex"><div dir=3D"ltr"><div class=3D"gmail_quote"><blockquote class=3D"g=
mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-=
left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div =
dir=3D"ltr"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:sol=
id;border-left-color:rgb(204,204,204);padding-left:1ex"><div class=3D"gmail=
_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex=
;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,20=
4,204);padding-left:1ex"><div class=3D"gmail_quote"><blockquote class=3D"gm=
ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-l=
eft-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div c=
lass=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px =
0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-col=
or:rgb(204,204,204);padding-left:1ex"><br></blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div></div>
</blockquote></div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div></div></div>

--0000000000004ecc6605c198cd1c--
--
http://www.freelists.org/webpage/oracle-l


