open cursors recurring errors [message #467288] |
Fri, 23 July 2010 03:36 |
reym21
Messages: 241 Registered: February 2010 Location: Philippines
|
Senior Member |
|
|
We've been encountering these errors for the past 3 days now. The dB is newly created (just about 2 weeks ago) and the "ORA-01000: maximum open cursors exceeded" error keeps bugging us. Currently, the dB and the APPS have not been connected due to network problem.
The default open_cursors value is set to 300 during manual dB creation. I adjusted the value of the open_cursors twice, just this Wednesday it reached to 378 so I changed it to 2,000 and now it reach to 2,089, re:
SQL> show parameter open_curs
NAME TYPE VALUE
------------------------------------ ----------- --------------
open_cursors integer 2000
SQL> select count(*) from v$open_cursor;
COUNT(*)
----------
2089
What's happening here?
Thanks for your help.
|
|
|
|
|
|
|
|
|
|
|
|
Re: open cursors recurring errors [message #467322 is a reply to message #467320] |
Fri, 23 July 2010 05:53 |
John Watson
Messages: 8962 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Hi - you didn't format the results of that query you ran, so it is hard to read; but it looks as though the session with 2000 open cursors is a background process, with no username?
Can you run this instead, to see which process it is:
select v.value, s.sid, s.username, s.program
from v$sesstat v,v$session s
where v.statistic#=4 and s.sid=v.sid
order by 1
/
I remember a couple of bugs with checkpoint process opening zillions of cursors, you might want to look it up on Metalink.
|
|
|
Re: open cursors recurring errors [message #467553 is a reply to message #467322] |
Sun, 25 July 2010 22:32 |
reym21
Messages: 241 Registered: February 2010 Location: Philippines
|
Senior Member |
|
|
Good day.
Running the code, the only user registered here is SYS.
VALUE SID USERNAME PROGRAM
---------- -------- ---------------- ----------------------------
0 27 oracle@bir-dbs (MMNL)
0 115 oracle@bir-dbs (MMAN)
0 29 oracle@bir-dbs (DBW3)
0 51 oracle@bir-dbs (q001)
0 54 oracle@bir-dbs (MMON)
0 55 oracle@bir-dbs (CKPT)
0 56 oracle@bir-dbs (DBW2)
0 57 oracle@bir-dbs (DBW0)
0 58 oracle@bir-dbs (PSP0)
0 79 SYS sqlplus@bir-dbs (TNS V1-V3)
0 84 oracle@bir-dbs (q000)
0 85 oracle@bir-dbs (CJQ0)
0 86 oracle@bir-dbs (LGWR)
0 87 oracle@bir-dbs (PMON)
0 112 oracle@bir-dbs (QMNC)
0 113 oracle@bir-dbs (SMON)
0 114 oracle@bir-dbs (DBW1)
0 28 oracle@bir-dbs (RECO)
18 rows selected.
[Mod-Edit: Frank added code-tags to improve readability]
[Updated on: Mon, 26 July 2010 00:35] by Moderator Report message to a moderator
|
|
|
|
|
|
|
|
|