Re: unclosed connections problem by William
William
Fri Nov 21 10:47:52 CST 2003
In that case (sigh) the only counters you can draw on are those exposed by
SQL Server itself. There's a set in "General Statistics" (?) IIRC that shows
user connections. I would REALLY consider migrating that application to
ASP.NET... it's a vastly improved platform.
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
MVP, hRD
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
<scott_mcarthur2003@yahoo.co.uk> wrote in message
news:92c92d63.0311210232.18808986@posting.google.com...
> Thanks for the response, it is asp not asp.net. Do you have any idea
> of which counters I should be running the trace on?
>
> "William Ryan" <dotnetguru@comcast.nospam.net> wrote in message
news:<ODTe664rDHA.2444@TK2MSFTNGP12.phx.gbl>...
> > Is this ASP or ASP.NET?
> >
> > I'd run a trace and see what's going on. You can control the maximum
amount
> > of memory used but that's not probably what you are looking for.
> >
> > I'd also make sure that all of my connections in code are being closed
(I
> > know, not a very profound insight, but small mistakes are easy to make).
> > <scott_mcarthur2003@yahoo.co.uk> wrote in message
> > news:92c92d63.0311200931.34744d8a@posting.google.com...
> > > We have recently migrated a classic asp/sql server web site from
> > > windows server 2000 without the .net framework installed to windows
> > > server 2003. We seem to be finding that sql server is using up
> > > excessive amounts of RAM, much more than the old machine, even with
> > > the same amount of traffic. I suspect there may be a number of
> > > unclosed database connections in the legacy asp code and that windows
> > > 2003 is not shutting them down as quickly as with windows 2000. Does
> > > this sound plausible and if so is their any temporary work around to
> > > solve the problem. (It may take some time to correct all the code
> > > problems)
> > >
> > > Scott