otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
 Follow New Posts:Twitter
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTM Wiki

OTM SIG
OTM Wiki
MavenWire

Go Back   Oracle OTM / G-Log GC3 Community Support > OTM SIG Topics > Share Oracle Enchancements, Issues and Bugs
Reload this Page

5.5.5 Bug 8507644 - ORA-01000 Maximum Open Cursors Exceeded


Share Oracle Enchancements, Issues and Bugs This forum is for sharing Oracle Enhancements, Issues and Bugs with other members of the OTM SIG Community to gain greater visibility and help push towards a timely resolution.

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old May 18th, 2009, 17:08
Member
 
Join Date: Jul 2006
Posts: 48
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 16
Thanked 11 Times in 9 Posts
Rep Power: 0
acuartero is on a distinguished road
Exclamation 5.5.5 Bug 8507644 - ORA-01000 Maximum Open Cursors Exceeded

FYI,

Using 5.5.5.2 we experienced an "ORA-01000 Maximum Open Cursors Exceeded" error during order integration and were able to trace the problem to the following SQL

select distinct order_release_gid from order_release where order_base_gid=:1

After about an hour this lead to an out of memory condition on the app server necessitating a restart.

We reported this to Oracle and they quickly replied that this is a known issue and provided a patch for bug 8507644 (which we are now testing).

If you experience a similar cursor leak the following SQL's may be helpful in finding the problem.

-- Monitor OTM Cursor usage
select c.user_name, c.sid, count(*), sql.SQL_TEXT, o.object_name Package_name,
sql.PROGRAM_ID, sql.PROGRAM_LINE# Line#
from v$open_cursor c, v$sql sql, dba_objects o,
(select s.sid from v$sesstat a, v$statname b, v$session s
where a.statistic# = b.statistic# and s.sid = a.sid
and b.name = 'opened cursors current'
-- More than 50 cursors open in a session
and a.value > 50 and s.username = 'GLOGDBA') t1
where c.sql_id = sql.sql_id
and o.object_id(+) = sql.PROGRAM_ID
and c.sid = t1.sid
group by c.user_name, c.sid, sql.SQL_TEXT, o.object_name, sql.PROGRAM_ID, sql.PROGRAM_LINE#
having count(*) > 20
order by sid, count(*) desc;

--total cursors open, by username & machine
select sum(a.value) total_cur, avg(a.value) avg_cur, max(a.value) max_cur,
s.username, s.machine
from v$sesstat a, v$statname b, v$session s
where a.statistic# = b.statistic# and s.sid=a.sid
and b.name = 'opened cursors current'
group by s.username, s.machine
order by 1 desc;

Thanks,
Alan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to acuartero For This Useful Post:
chrisplough (May 18th, 2009)
  #2 (permalink)  
Old May 18th, 2009, 22:04
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 1,167
Blog Entries: 8
Groans: 0
Groaned at 1 Time in 1 Post
Thanks: 143
Thanked 258 Times in 161 Posts
Rep Power: 10
chrisplough is a jewel in the roughchrisplough is a jewel in the roughchrisplough is a jewel in the rough
Send a message via AIM to chrisplough
Re: 5.5.5 Bug 8507644 - ORA-01000 Maximum Open Cursors Exceeded

Alan,

Thanks a lot for sharing this. I ran into a client recently who experienced the same issue. Much appreciated!

--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old July 17th, 2009, 03:13
Senior Member
 
Join Date: Apr 2008
Location: Taiwan
Posts: 209
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 12
Thanked 96 Times in 73 Posts
Rep Power: 3
josephliang will become famous soon enoughjosephliang will become famous soon enough
Send a message via MSN to josephliang Send a message via Skype™ to josephliang
Re: 5.5.5 Bug 8507644 - ORA-01000 Maximum Open Cursors Exceeded

You are lucky.
I spent almost two weeks convincing Oracle that this is a bug.
According to Development, the bug was tied around the mediator and the OBModFullImpact did not close the sql query.
For Version 5.5 CU5: it is fixed in RU5
For Version 6.0: it will be fixed in RU2
__________________
--
Joseph Liang
Enterprise Integration, Inc.

http://www.eiisolutions.net/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 2 Users Say Thank You to josephliang For This Useful Post:
acuartero (July 17th, 2009), chrisplough (July 17th, 2009)
  #4 (permalink)  
Old July 28th, 2009, 09:58
Senior Member
 
Join Date: Apr 2008
Location: Taiwan
Posts: 209
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 12
Thanked 96 Times in 73 Posts
Rep Power: 3
josephliang will become famous soon enoughjosephliang will become famous soon enough
Send a message via MSN to josephliang Send a message via Skype™ to josephliang
Re: 5.5.5 Bug 8507644 - ORA-01000 Maximum Open Cursors Exceeded

There is another similar bug relates DirectSqlUpdate
Quote:
BUG 8672390 - Client with high integration volume using a lot of direct SQL updates encountered Ora-01000: maximum open cursors exceeded errors during integration
It is fixed in OTM 5.5 CU5 RU6 patchset.
__________________
--
Joseph Liang
Enterprise Integration, Inc.

http://www.eiisolutions.net/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to josephliang For This Useful Post:
chrisplough (July 28th, 2009)
  #5 (permalink)  
Old October 23rd, 2009, 07:59
Senior Member
 
Join Date: Apr 2008
Location: Taiwan
Posts: 209
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 12
Thanked 96 Times in 73 Posts
Rep Power: 3
josephliang will become famous soon enoughjosephliang will become famous soon enough
Send a message via MSN to josephliang Send a message via Skype™ to josephliang
Re: 5.5.5 Bug 8507644 - ORA-01000 Maximum Open Cursors Exceeded

According to Metalink Note 866873.1 - "ORA-01000: Maximum Open Cursors Exceeded" Errors Are Occurring During Integration
the issue affects OTM Version: 5.5.04 to 6.1
Quote:
Version 5.5 CU4 - A Patch is available upon request, please open a MetaLink SR for a patch for Bug 8668288
Version 5.5 CU5 - Download and Install RU6 available on MetaLink (includes fix for Bug 8672390)
Version 5.5 CU6 - Download and Install RU1 (includes fix for Bug 8672391) - Approximate Availability is End of October, 2009.
Version 6.0 - Download and Install RU2 (includes fix for Bug 8672392 - Approximate Availability is End of August, 2009
Version 6.0 CU1 - CU1 includes fix for Bug 8672394 - Approximate Availability is End of 2009
__________________
--
Joseph Liang
Enterprise Integration, Inc.

http://www.eiisolutions.net/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to josephliang For This Useful Post:
acuartero (October 25th, 2009)
Reply


Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in Open OTM Screens Nishant_Jain02 Installation and Upgrades 1 June 1st, 2009 13:27
[SOLVED] Configure Maximum number of transactions shekharp SysAdmin and Management 1 February 23rd, 2009 22:14
[SOLVED] WebLogic Error: <BEA-000402> maximum of number of socket reader thread chrisplough Performance, Scalability and HA 3 July 22nd, 2008 19:09
Open Tender > Spot Bid asbury Planning 0 June 10th, 2008 19:42
[SOLVED] Win32 maximum JVM Heap? chrisplough Hardware and Platforms 1 March 1st, 2007 03:51



All times are GMT. The time now is 09:39.
Copyright © 2006-2009, Open Book Solutions LLC. All rights reserved.


Inactive Reminders By Icora Web Design

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40