Re: ODP .Net Connection Pool Problem on Web Application
- From: mingki@xxxxxxxxx
- Date: 14 Feb 2006 19:35:46 -0800
Hi all, I think I have found a reason for the problem:
The problem is caused by, when the IIS server's "executionTimeout" for
httpRequest is reached, IIS will call Thread.Abort() to stop the
processing thread for the Request.
For instance, If a web page is requested, meanwhile the database is
very busy, the Database can't return all the result to the web
application within 40 sec (the default value of executionTimeout in
machine.config), this thread will be aborted!
I have just read the Release note of ODP .NET 10.2.0.1.0, in the
section "TIPS, LIMITATIONS AND KNOWN ISSUES", it says:
8. Thread.Abort() should not be used, as unmanaged resources may remain
unreleased properly, which can potentially cause memory leaks and
hangs.
It seems that we can just avoid the problem by setting the
executionTimeout value to a reasonablily large value. However, this
will greatly affect the web server performance as some Threads will be
hold and they are not able to serve other requests.
Please advise!
Regards,
Alex
.
- Follow-Ups:
- Re: ODP .Net Connection Pool Problem on Web Application
- From: sdbillsfan
- Re: ODP .Net Connection Pool Problem on Web Application
- References:
- ODP .Net Connection Pool Problem on Web Application
- From: mingki
- Re: ODP .Net Connection Pool Problem on Web Application
- From: sdbillsfan
- Re: ODP .Net Connection Pool Problem on Web Application
- From: sdbillsfan
- Re: ODP .Net Connection Pool Problem on Web Application
- From: mingki
- Re: ODP .Net Connection Pool Problem on Web Application
- From: sdbillsfan
- ODP .Net Connection Pool Problem on Web Application
- Prev by Date: Re: Database or store to handle 30 Mb/sec and 40,000 inserts/sec
- Next by Date: Re: Oracle 10g and PHP
- Previous by thread: Re: ODP .Net Connection Pool Problem on Web Application
- Next by thread: Re: ODP .Net Connection Pool Problem on Web Application
- Index(es):
Relevant Pages
|