Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Database Driven Web Pages hang due to loss of Connection O..

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  New BIG index values in IIS6.0  
Author Message
anonymous1204

External


Since: Feb 16, 2004
Posts: 1



(Msg. 1) Posted: Mon Feb 16, 2004 4:56 pm
Post subject: Database Driven Web Pages hang due to loss of Connection Objects
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hello!

I support an intranet which runs on IIS and has many .asp pages whose data comes from various Access Databases.

Every now and then (used to be every few days, but today it's happened three times already), all the pages using the databases hang. Not all the pages use the same database, but all the databases are Access 2000.

I think this might be happening because some of these web sites don't close all their connection objects. When I recycle the server, everything works fine for awhile.

Does this sound reasonable?
Is there any way I can tell for sure?

I plan to try and go through each page and correct the problem, but in the meanwhile I'm trying to find a short term solution - besides recycleing the server. Is there any way to return the connections to the pool other than turning off the power?

Thanks so much for the help!
Lynnette

 >> Stay informed about: Database Driven Web Pages hang due to loss of Connection O.. 
Back to top
Login to vote
support7

External


Since: Aug 25, 2003
Posts: 58



(Msg. 2) Posted: Tue Feb 17, 2004 1:33 am
Post subject: Re: Database Driven Web Pages hang due to loss of Connection Objects [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 16 Feb 2004 13:56:11 -0800, "This is Lynnette"
<anonymous.RemoveThis@discussions.microsoft.com> wrote:

 >Hello!
 >
 >I support an intranet which runs on IIS and has many .asp pages whose data comes from various Access Databases.
 >
 >Every now and then (used to be every few days, but today it's happened three times already), all the pages using the databases hang. Not all the pages use the same database, but all the databases are Access 2000.
 >
 >I think this might be happening because some of these web sites don't close all their connection objects. When I recycle the server, everything works fine for awhile.
 >
 >Does this sound reasonable?
 >Is there any way I can tell for sure?
 >
 >I plan to try and go through each page and correct the problem, but in the meanwhile I'm trying to find a short term solution - besides recycleing the server. Is there any way to return the connections to the pool other than turning off the power?
 >
 >Thanks so much for the help!


What kind of traffic are you experiencing on the server? I have a few
access dbs over 250mb and the site does about 30 gigs of traffic a
month without any significant problems. How big ar the dbs?
Could be the code too.

John Cesta

---------------------------------
The CPU Checker - Maximize Server Uptime
LogFileManager - The only IIS Logfile Management Tool
DomainReportIt PRO - Helps Convert IIS Installs
<a style='text-decoration: underline;' href="http://www.serverautomationtools.com" target="_blank">http://www.serverautomationtools.com</a>


 >Lynnette<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Database Driven Web Pages hang due to loss of Connection O.. 
Back to top
Login to vote
user1035

External


Since: Nov 02, 2003
Posts: 93



(Msg. 3) Posted: Tue Feb 17, 2004 3:58 am
Post subject: Re: Database Driven Web Pages hang due to loss of Connection Objects [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

It happens to everyone who is running ASP... Quick fix:

I have had a similar problem in the past and a very quick fix that works for
this is:

Using "Scheduled Tasks" I created 3 entries that "Reset" IIS every 8 Hours.
You will find IISReset here: C:\WINNT\system32 and run "iisreset.exe" It
takes about 35 to 45 seconds each time it resets IIS but it works and it's
Free. Just create a "New Task" for each time you want it to run.

One other thing you may want to consider is RamBooster
(http://www.sci.fi/~borg/rambooster/download.htm), I have it set to optimize
my Ram when ever it runs below 125 megabytes of free ram. It refreshes your
ram and releases ram that is no longer in use... it works and it's also
Free.

--


Thank you for your time and have a great day,

Carroll P. MacDonald
<a style='text-decoration: underline;' href="http://www.pegusisfreeware.com/" target="_blank">http://www.pegusisfreeware.com/</a>


"This is Lynnette" <anonymous DeleteThis @discussions.microsoft.com> wrote in message
news:0A19D5D5-A084-470A-A6F4-6D7097356F8D@microsoft.com...
 > Hello!
 >
 > I support an intranet which runs on IIS and has many .asp pages whose data
comes from various Access Databases.
 >
 > Every now and then (used to be every few days, but today it's happened
three times already), all the pages using the databases hang. Not all the
pages use the same database, but all the databases are Access 2000.
 >
 > I think this might be happening because some of these web sites don't
close all their connection objects. When I recycle the server, everything
works fine for awhile.
 >
 > Does this sound reasonable?
 > Is there any way I can tell for sure?
 >
 > I plan to try and go through each page and correct the problem, but in the
meanwhile I'm trying to find a short term solution - besides recycleing the
server. Is there any way to return the connections to the pool other than
turning off the power?
 >
 > Thanks so much for the help!
 > Lynnette<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Database Driven Web Pages hang due to loss of Connection O.. 
Back to top
Login to vote
anonymous131

External


Since: Oct 17, 2003
Posts: 720



(Msg. 4) Posted: Tue Feb 17, 2004 12:46 pm
Post subject: Re: Database Driven Web Pages hang due to loss of Connection Objects [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

A scheduled task to fix the problem? How is that a fix? I
don't think anybody would want to recycle a production
webserver every 8 hours.

I would try and get to the root of the problem. Look at
the code...close the objects. Are there errors in the
event log? Do you have the latest Jet drivers? Have you
tried running IISSTATE when it happens? Are you opeing
the databases directly from the server in Access when the
website is trying to access them?

iisfaq.com/iisstate next time it happens.

doug
 >-----Original Message-----
 >It happens to everyone who is running ASP... Quick fix:
 >
 >I have had a similar problem in the past and a very
quick fix that works for
 >this is:
 >
 >Using "Scheduled Tasks" I created 3 entries that "Reset"
IIS every 8 Hours.
 >You will find IISReset here: C:\WINNT\system32 and
run "iisreset.exe" It
 >takes about 35 to 45 seconds each time it resets IIS but
it works and it's
 >Free. Just create a "New Task" for each time you want
it to run.
 >
 >One other thing you may want to consider is RamBooster
 >(http://www.sci.fi/~borg/rambooster/download.htm), I
have it set to optimize
 >my Ram when ever it runs below 125 megabytes of free
ram. It refreshes your
 >ram and releases ram that is no longer in use... it
works and it's also
 >Free.
 >
 >--
 >
 >
 >Thank you for your time and have a great day,
 >
 >Carroll P. MacDonald
 >http://www.pegusisfreeware.com/
 >
 >
 >"This is Lynnette" <anonymous.DeleteThis@discussions.microsoft.com>
wrote in message
 >news:0A19D5D5-A084-470A-A6F4-
6D7097356F8D.DeleteThis@microsoft.com...
  >> Hello!
  >>
  >> I support an intranet which runs on IIS and has
many .asp pages whose data
 >comes from various Access Databases.
  >>
  >> Every now and then (used to be every few days, but
today it's happened
 >three times already), all the pages using the databases
hang. Not all the
 >pages use the same database, but all the databases are
Access 2000.
  >>
  >> I think this might be happening because some of these
web sites don't
 >close all their connection objects. When I recycle the
server, everything
 >works fine for awhile.
  >>
  >> Does this sound reasonable?
  >> Is there any way I can tell for sure?
  >>
  >> I plan to try and go through each page and correct the
problem, but in the
 >meanwhile I'm trying to find a short term solution -
besides recycleing the
 >server. Is there any way to return the connections to
the pool other than
 >turning off the power?
  >>
  >> Thanks so much for the help!
  >> Lynnette
 >
 >
 >.
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Database Driven Web Pages hang due to loss of Connection O.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Database Connection Problem? - Have a web (database front end) running on a member 2000 server. The backend to the database is on the domain server. Both same network. When accessing the default.aspx I get the page we want, you then need to logon and give the password (maintained by..

getting asp pages to display Database results - I recently INstalled and configured 2003 svr, IIS60 and cannot get any database results to display in the browser. Access or SQL. This is what I get at a browser on the svr : Not a valid file name. Description: An unhandled exception occurred during th...

IIS / IE Session Cookie Loss - Hello, I am having a problem losing session cookies. I have the same issue with IE6 when using IIS5 and IIS6 with vbscript asp pages. I created a test system for the problem in which Page1.asp Creates a session variable Test and sets it to 1 then....

Session Variable Loss with IIS 6.0 Windows 2003 Server - OVERVIEW: Inexplicable random loss of session variables. No hard correlations can be seen with worker process recycling, modifications to worker process settings, or endless beating of my head against the wall. SETUP: Windows 2003 Server, IIS 6.0, P4..

MS Access Driven Sites quit functioning. - I have an 2003 Server that is hosting about 8 websites. 5- 6 of these website are driven by access databases. Typically the websites are fairly efficient and work dependably, however about every 4-5 days the websites that have access intigrated in the...
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]