Problems with dbMonitor and odd timeout errors
Posted: Fri 26 Sep 2014 12:01
Hi there,
We are using LinqConnect v4.4.441 and trying to debug some problems we have with our applications. These are all ASP.NET MVC applications connecting to an Oracle 11g database. Can you advise on the following issues?
Problem 1
We can monitor our application using dbMonitor and a LinqMonitor object in our application but we wanted to use a OracleMonitor because of the following line in your documentation seems to suggest we can monitor the entire connection pool:
Problem 2
We have a problem where our web applications run fine but every few hours suddenly stop working *until* we recycle the application pool. The error occurs when we try to connect to the database and open a connection:
We get that timeout very quickly - under half a second and we resolve the error by recycling the application pool for that web application.
Some of these applications connect to our production database server using the same connection string but one might be stuck on this error and continually failing while the other application continued to run and establish database connections.
Can you give any advice on how we might get more details on why this is happening?
We are using LinqConnect v4.4.441 and trying to debug some problems we have with our applications. These are all ASP.NET MVC applications connecting to an Oracle 11g database. Can you advise on the following issues?
Problem 1
We can monitor our application using dbMonitor and a LinqMonitor object in our application but we wanted to use a OracleMonitor because of the following line in your documentation seems to suggest we can monitor the entire connection pool:
..but if we use OracleMonitor we get:LinqMonitor doesn't support connection pool monitoring. To monitor connection pools install the Professinal editions of the Devart data providers and use provider-specific monitors (OracleMonitor, MySqlMonitor, PgSqlMOnitor, SQLiteMonitor).
..can't we use this with LinqConnect Professional?This property can be used only in the editions that support the dbMonitor application.
Problem 2
We have a problem where our web applications run fine but every few hours suddenly stop working *until* we recycle the application pool. The error occurs when we try to connect to the database and open a connection:
Code: Select all
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 26-09-2014 13:10:47
Event time (UTC): 26-09-2014 11:10:47
Event ID: fbfbbc8277be490dad1025f3f52e2d5e
Event sequence: 2
Event occurrence: 1
Event detail code: 0
Server did not respond within the specified timeout interval
at Devart.Data.Oracle.b5.a(cn A_0, bv A_1)
at Devart.Data.Oracle.bo..ctor(cn A_0, bo A_1)
at Devart.Data.Oracle.bd.a(DbConnectionOptions A_0, Object A_1, DbConnectionBase A_2)
at Devart.Common.t.a(DbConnectionPool A_0, DbConnectionOptions A_1, DbConnectionBase A_2)
at Devart.Common.DbConnectionPool.a(DbConnectionBase A_0)
at Devart.Common.DbConnectionPool.GetObject(DbConnectionBase owningConnection)
at Devart.Common.t.c(DbConnectionBase A_0)
at Devart.Common.DbConnectionClosed.Open(DbConnectionBase outerConnection)
at Devart.Common.DbConnectionBase.Open()
at Devart.Data.Oracle.OracleConnection.Open()
at Devart.Data.Oracle.Linq.Provider.OracleDataProvider.Initialize(Object connection)
at Devart.Data.Linq.DataProvider.a(IDataServices A_0, Object A_1)
at Devart.Data.Linq.DataContext.a(Object A_0, MappingSource A_1, Type A_2)
at Devart.Data.Linq.DataContext..ctor(String connectionString, MappingSource mapping)
Some of these applications connect to our production database server using the same connection string but one might be stuck on this error and continually failing while the other application continued to run and establish database connections.
Can you give any advice on how we might get more details on why this is happening?