all groups > dotnet performance > january 2006 >
You're in the

dotnet performance

group:

Constant recompile problem


Constant recompile problem Mathieu Isabel
1/16/2006 11:51:04 AM
dotnet performance:
I have a problem with ASP.Net 2.0 application that works fine for a while,
then the application needs to recompile at every access to a page. I first
noticed it by the application having a slow response time, then I did some
basic monitoring and noticed that the w3wp and csc.exe processes used most of
the cpu while the recompile occurs, which seems to make sense. I'm not too
sure how to troubleshoot that issue and I would like some tips on how to get
to the bottom of that problem. Also, doing an iisreset bring back the
expected response time until a day or so later where the problem reappears.

Thanks!
Re: Constant recompile problem Mathieu Isabel
1/17/2006 10:36:04 AM
Thanks for the response!

Yes I used to have McAfee and I removed it to see if that was the problem,
but it made no difference. I don't see anything in the event logs that would
pertain to this problem. As for the recycling part, I could understand that
it could become slow during the recycling activity, but it should come back
to normal, right?

[quoted text, click to view]
Re: Constant recompile problem Alvin Bruney - ASP.NET MVP
1/17/2006 11:32:12 AM
Are your application pools being recycled? What do your event logs say? Do
you have scanners or virus monitors touching the temporary files
invalidating them necessitating a recompilation?

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------



[quoted text, click to view]

Re: Constant recompile problem Mathieu Isabel
1/18/2006 1:50:08 PM
Thanks again!

I previously did some monitoring with filemon, but I didn't notice virus
scanning activity under Temporary ASP.Net Files

I would also like to point out that the app is supposed to be precompiled as
I noticed that the application was delivered to us by the consultants with a
PrecompiledApp.config in the directory.

Don't you guys love those kind of problems? A real brain teaser hahaha!

[quoted text, click to view]
Re: Constant recompile problem Alvin Bruney - ASP.NET MVP
1/18/2006 4:09:04 PM
go to sysinternals.com website download one of their file watcher utilities.
set it up to monitor the temporary file that ASP.NET uses. If anything
touches that file, like a scanner etc, it should show up. That will
eliminate the virus scanning software. Apart from that, I have no more ideas
on this one. It's time for someone else to jump in to help.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------



[quoted text, click to view]

AddThis Social Bookmark Button