Massive disc space usage after upgrade to ASP.NET 2.0

J

James

After uppgrading from .NET v1.1 to .NET v2.0 we ca see massive usage of disc
space(10 GB) in a subfolder in the following folder:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
IIS6 on Windows 2003 server web edition.

This site contains a few hundred page and approximately 50 concurrrent
users. The amount of data in the Temporary ASP.NET Files has increased
with 2 GB within last 2 hours. We dont understand why?

Is there somehowe we can limit the amount of space utilized in the temp
folder? Someone know a woraround?
 
B

Bruce Barker

this is where asp.net puts the compiled code for your pages. either your
site is very big, or its recycling a lot and forcing recompiles. check the
event log for recycles.

if you look at the dir, you will find a folder with your sites name. inside
it is a folder of each compile of your site. inside each of these compile
folders will be compiles of each page, and shadow copies of dlls.

note: asp.net only cleans up this dir on a gracefull exit (at least 1.1
does, not sure how much better 2.0 is at this - the rc is no better). you
should write a scheduled job that cleans this directory or it will slowly
eat up the disk.

-- bruce (sqlwork.com)
 

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top