sqlplus failed logons are holding library cache lock
Previously it was thought to be JDBC but the issue is reproducible from sqlplus.
Problem: sqlplus failed logons are holding library cache lock
I can confirm that this is not related to JDBC clients. More likely it is related to Oracle 11g. At least I was not able to reproduce on Oracle 10g.
I have made a simple reproducable scenario with sqlplus in a Solaris enviroment. Here is what I did:
1. Make script 1 with a failing sqlplus login command (invalid password).
2. Make a script 2 that calls script 1 ten times in parallel (background).
3. This will produce 10 blocked sessions that as time goes will be terminated one by one.
1