aspnet_wp.exe hanging

G

Guest

We have built an ADO.NET data provider which is causing a problem in aspnet applications, in the VS.NET development environment only
The first time the aspnet application is run, everything works fine. However, when the browser is closed (ie. the application is ended) in order to make changes and rebuild the application, there is a problem
Whenever the aspnet application is run after making changes, it causes the aspnet_wp.exe to consume 100% of th
CPUs time and the machine hangs.

I think that the problem is related to the ASP.NET dynamic update. VS.NET hangs when deploying the new version of the web app. The VS.NET fails to copy the provider dll because it's locked by aspnet_wp.exe (by the previous run of the application)
We have found a couple of workarounds
1) Killing aspnet_wp.exe after exiting the app. will allow the app to be changed and redeployed/run
2) Changing the idelTimeout value in the machine.config file from infinity to 1 second also resolves the problem, but causes some other problems (you lose application state, the interactive debugger fails, and caching configuration information in a Singleton no longer works

Does anyone know how this problem can be resolved?
Is there a setting which must be made in the provider to cause it to be unloaded when the applicaiton ends?
Is there a less intrusive workaround than the one mentioned above
Or, is this a problem in asp.net that needs to be resolved from the MS end

Thanks

Jason Hinsperge
iAnywhere Solution
 
S

Steven Cheng[MSFT]

Hi Jason,

Thanks for posting in the community!
From your description, you found that after you used a certain ADO.NET Data
Provider in your ASP.NET web application, there will occur the problem that
the aspnet_wp.exe process take 100% full cpu utilizaiton when make change
to web app or rebuild it , yes?

As for this problem, would you please provide some further info on your
develop environment, such as .net framework version, OS version, IIS
version,...

Also, are you sure that it is the Data Provider cause this problem, what
database are you using and what kind of dataprovider are you using? I've
searched some reference and found there does seems common issue with Oracle
Data Provider. So not sure what's your detailed condition. Also, have you
tried remove the Data Provider related code to see whether the problem
remains?

And here is anohter KB article discussing on a 100% cpu utilization after
ASP.NET appdomain reloaded:
#FIX: After an AppDomain Unload, the ASP.NET Worker Process Uses 100
Percent of the CPU
http://support.microsoft.com/default.aspx?scid=kb;en-us;810280

By the way, looking at the nature of this issue, it would require intensive
troubleshooting which would be done quickly and effectively with direct
assistance from a Microsoft Support Professional through Microsoft Product
Support Services. You can contact Microsoft Product Support directly to
discuss additional support options you may have available, by contacting us
at 1-(800)936-5800 or by choosing one of the options listed at
http://support.microsoft.com/default.aspx?scid=sz;en-us;top. If this is not
an urgent issue and your would like us to create an incident for you and
have Microsoft Customer Service Representative contact you directly,
please send email to (remove "online." from this no Spam email address):
mailto:[email protected] with the following information,
*Include "Followup: <Tomcat IssueID>" in the email Subject.
*Location of the post
*Subject Line
*First Name, Last Name
*MSDN Subscriber ID
*Company name (if any)
*Phone number
*e-mail address

Please check out the above things and let me know if you need any further
assistance.


Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
 
G

Guest

Thanks for the response Steven. Your understanding of my problem is correct.

In answer to your questions:
1) I am using the Adaptive Server Anywhere data provider (iAnywhere.Data.AsaClient)
2) The problem occurs on both Win 2k and XP OS's on a variety of machines on various service packs, including SP3 of Win2k and XP with all of the available patches (as of today) applied.
3) The IIS version is 5.0.2195.3649
4) The version of the .Net Framework (and aspnet_wp.exe) is 1.1.4322
5) I am developing with VS.Net 2003 (7.1.3088)
6) If I comment out the code which accesses the data provider, there is no problem with running the app., stopping it, making a change and then running it again. As soon as I uncomment the code which accesses the provider, the problem reappears.

In regards to the kb article you listed, I am not sure if it applies, since there is no real load condition (I am just using a test application in the dev. environment). In any case, there is no download link available for this fix. How would I go about getting it to try it out and see if it works?

Finally, in terms of having an incident created, I am not sure what the <Tomcat Issueid> is supposed to be in the e-mail I need to send to have the incident created?

Thanks again,

--Jason Hinsperger
iAnywhere Solutions
www.ianywhere.com
 
S

Steven Cheng[MSFT]

Hi Jason,

Thanks for your followup. As for fix's download url, you need to contact
the microsoft PSS for it, as mentioned below:

------------------------------------------------
To resolve this problem immediately, contact Microsoft Product Support
Services to obtain the fix. For a complete list of Microsoft Product
Support Services phone numbers and information about support costs, visit
the following Microsoft Web site:
http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS
------------------------------------------------

In addition, as for the <Tomcat Issueid>, you can find it in the mail I've
sent to you. It is contained in some hyperlinks. Please have a check.

If you have any further questions, please feel free post here.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
 
J

Jason Hinsperger

Thanks Steven.
Since we have to contact MS to get the fix for the issue you cited as a
possible source of our problem, we are just going to go ahead open a support
case so we can make sure the issue is resolved in a timely fashion.

--Jason Hinsperger
iAnywhere Solutions
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top