Friday, March 16, 2012

Massive disc space usage after upgrade to ASP.NET 2.0

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\Temp orary 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?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)

"James" <Icecool_6@.hotmail.com> wrote in message
news:e0D6AcH4FHA.3400@.tk2msftngp13.phx.gbl...
> 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\Temp orary 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?
>

0 comments:

Post a Comment