Monitoring Connections
- From: "Charlie" <Charlie@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 6 Aug 2005 09:29:01 -0700
Greetings,
I have a CGI web application that is connecting to SQL2k sp3 server using a
system ODBC DSN to display data from tables on a web page.
These tables are being populated by another application that is using .net
SqlConnection object to insert data.
The problem I am seeing is that after a period of time the .net application
can no longer open a connection to the database. I believe this may be
because the connections that the CGI application is useing are not being
properly closed. When I use sp_monitor, I can see the number of Connections
increase each time the CGI application fires. My question here is:
-The BOL indicates that the connections field shown in the results from
sp_monitor show the 'number of logins or attempted logins'. It is kind of
difficult for me to understand from this whether or not I am correct in my
feeling that the CGI application is not closing the ODBC connections. For
instance, do 'attempted logins' count against the number of 'connections'
allowed?
Ive also opened a trace using Profiler and I note an Audit logout event for
each Audit Login event that occurs by the CGI Applicaiton, but how can I know
whether this connection has been properly closed so that I can predict
whether SQL Server will eventually prevent the .net application from
connecting to insert new data?
This instance in licensed by processor, by the way...
TIA
.
- Follow-Ups:
- Re: Monitoring Connections
- From: Andrew J. Kelly
- Re: Monitoring Connections
- Prev by Date: ODBC Data Destination for SSIS
- Next by Date: Re: Monitoring Connections
- Previous by thread: ODBC Data Destination for SSIS
- Next by thread: Re: Monitoring Connections
- Index(es):
Relevant Pages
|
Loading