dbms_lock.sleep coming from FM11g server?

From: Patrice sur GMail <patrice.boivin_at_gmail.com>
Date: Wed, 27 Jan 2016 09:27:01 -0400
Message-ID: <CACH2EDL7LZK9XZ1FwiW4r5CLGwrkcrW0VG88Q2NGP_gNrG-k5Q_at_mail.gmail.com>



This is a bit strange

We have a slow WAN to begin with, then I noticed waits related to this plsql package in session waits in the database, turns out it is coming from a thin jdbc client.

       SID    SERIAL#    INST_ID OSUSER       EVENT
 P1         P2         P3 SQL_TEXT                                 PROGRAM
---------- ---------- ---------- ------------ --------------------
---------- ---------- ---------- ----------------------------------------
------------------------
       166          1          1 oracle       PL/SQL lock timer
0          0          0 BEGIN dbms_lock.sleep(60); END;          JDBC Thin
Client

I searched through all the plsql code in the database and didn't find a sleep(60) anywhere.

Not helpful. I'll track down the source.

Is it possible FM11g tells sessions to sleep when idle or when the network is slow?

I saw a whole discussion on AskTom where he mentioned that anything above 10 minutes isn't ideal because it can create problems, loop the sleep statements instead. This is set for an hour.

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Jan 27 2016 - 14:27:01 CET

Original text of this message