Very interesting video
A reader, November 07, 2012 - 5:39 pm UTC
Thanks Tom,
I will follow your suggestions.
the video was EXCELLENT
I would like to look into this further, do you know if Oracle releases test labs like the example in the video?
November 08, 2012 - 7:32 am UTC
what is a test lab?
Very interesting indeed
Michel Cadot, November 08, 2012 - 3:45 am UTC
I often had this on my database from clients exceeding sessions parameter.
As I'm not a Java guy, I'd just be able to warn us to check their close and close their connections in each and every path.
Now I know, I'll can explain us.
Regards
Michel
A reader, November 08, 2012 - 4:23 pm UTC
sorry, by "test lab"
I should have said does oracle release things like the "dummy" application.
The web application we have is a nightname to get running as a standalone system. I was hoping I could get a simple or test application to prove the concept of what the video shows
November 09, 2012 - 6:27 am UTC
no, that is just an internal little application we wrote up.
All you need is a load test tool, an "application" (some set of transaction(s) that represent what you do), and a database. You can do this yourself.
What harm is there in dropping the size of your connection pool - besides possibly finding out your life becomes boring as the database and application server stop going to 100% spuriously (unless of course you have a connection pool leak bug in the developed code, in which case - you are hosed until they fix that)
Yep am dropping the pool size
A reader, November 09, 2012 - 10:16 pm UTC
Tom
I an certain there are leaking connections/cursors
I will drop the connection pool size as you suggested.
Thankyou
Limiting the application server connection
Adhika, November 12, 2012 - 5:57 am UTC
Hi Tom,
I just read the 10.1.2 application server documentation.
As far as I have read, to set the maximum connection on OC4J, we can do this by changing the parameters in the server.xml file.
If the application I'm supporting is a packaged software, is the server.xml file the only file which I can use to limit the connection pool?
Thanks in advance for replying,
Adhika
November 12, 2012 - 9:21 am UTC
I'm sure the application itself could override that, this would be a question to ask of the 3rd party application maker.
What is that utility?
Al Ricafort, November 15, 2012 - 9:55 pm UTC
Do you know what is that utility the speaker is using that shows the connection pool, CPU, wait events etc in one screen?
November 19, 2012 - 10:02 am UTC
a custom script, handwritten, just for the specific demonstrations involved. part of the demonstration itself.
Inactive (Orphan) session holding locks
Jithin Sarath, February 06, 2015 - 3:44 am UTC
I have observed something similar in one of the environments that I support. In this case it's a bit more complex. The problem manifests as sessions waiting for locks (Enq TM locks) in the database (11.2.0.4, on Windows 2008R2 x64).
The holder is an INACTIVE session from the database. We've let it run as it please for hours, and the INACTIVE session never releases the lock.The webapp has a connection pool with min 0 and max 200. The issue is seen only when we run the load tests on WebApp, so it appears that the loads hit some nerve in the code.
Your idea of setting connection pool to 1 and run the system is perfect, but i doubt if it'll hold up under a load test. I'm afraid that the system will crawl and /or timeout for most of the virtual users.