Entity framework insert fails during stress testing.

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Posts: 47
Joined: Wed 16 Sep 2009 20:09
Location: United States

Entity framework insert fails during stress testing.

Post by slaxman » Fri 24 Sep 2010 20:15

I am getting this exception ONLY during stress testing. I am using Direct mode w/o any pooling info. in the conn. string (assuming default values). I could increase the MaxpoolSize but the default '100' should be plenty for our scenario. Do you have any ideas how we can track the connection usage? can DbMonitor help ?


Devart.Data.Oracle.OracleException: ORA-00018: maximum number of sessions exceeded
ORA-00604: error occurred at recursive SQL level 1
ORA-00018: maximum number of sessions exceeded
ORA-04092: cannot COMMIT in a trigger
at xc.u.d()
at Devart.Data.Oracle.bi.c()
at Devart.Data.Oracle.o.a(Int32 A_0, a2 A_1)
at Devart.Data.Oracle.OracleCommand.InternalExecute(CommandBehavior behavior, IDisposable disposable, Int32 startRecord, Int32 maxRecords, Boolean nonQuery)
at Devart.Common.DbCommandBase.ExecuteDbDataReader(CommandBehavior behavior, Boolean nonQuery)
at Devart.Data.Oracle.OracleCommand.ExecuteNonQuery()
at Devart.Data.Oracle.OracleTransaction..ctor(OracleConnection A_0, IsolationLevel A_1)
at Devart.Data.Oracle.OracleConnection.BeginTransaction(IsolationLevel il)
at Devart.Data.Oracle.OracleConnection.BeginDbTransaction(IsolationLevel isolationLevel)
at System.Data.EntityClient.EntityConnection.BeginDbTransaction(IsolationLevel isolationLevel)

Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Mon 27 Sep 2010 11:54

Could you please try the suggestions from this post?
It looks like the problem that you are experiencing.

Post Reply