Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

IIS6 + ASP.NET : Performance Problems

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Set up win xp professional web server  
Author Message
user2299

External


Since: Oct 17, 2004
Posts: 2



(Msg. 1) Posted: Sun Oct 17, 2004 6:54 pm
Post subject: IIS6 + ASP.NET : Performance Problems
Archived from groups: microsoft>public>inetserver>iis (more info?)

In the past days, i have programmed a complete site using asp.net .
I put it on my server and most worked like expected. After correcting the
last erros, i mentioned tha every time, when the site unvisted for some
minutes, it takes lot of until the site is loaded.

When i click several links in a short time, everything works fine - and if i
pause 10 minutes, the first loading lasts nearly 20 second. During thing 20
seconds, the cpu usage of the server is relativ high.
Is the server compiling the asp.net pages every time ?
And how can i prevent him from doing this ?

--
Best Whishes, Maik


Knowledge is Power
Replace [at] and remove [NOSPAM] to get Email-Adress

 >> Stay informed about: IIS6 + ASP.NET : Performance Problems 
Back to top
Login to vote
user641

External


Since: Aug 22, 2003
Posts: 1637



(Msg. 2) Posted: Mon Oct 18, 2004 11:13 am
Post subject: Re: IIS6 + ASP.NET : Performance Problems [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Maik" <maik[at]maik[NOSPAM]siegel.de> wrote in message
news:%23p$iPDFtEHA.2800@tk2msftngp13.phx.gbl...
 > In the past days, i have programmed a complete site using asp.net .
 > I put it on my server and most worked like expected. After correcting the
 > last erros, i mentioned tha every time, when the site unvisted for some
 > minutes, it takes lot of until the site is loaded.
 >
 > When i click several links in a short time, everything works fine - and if
 > i
 > pause 10 minutes, the first loading lasts nearly 20 second. During thing
 > 20
 > seconds, the cpu usage of the server is relativ high.
 > Is the server compiling the asp.net pages every time ?
 > And how can i prevent him from doing this ?

This is a by-product of automatic app pool recycling. You can either set a
longer time out period or turn it off.
<a style='text-decoration: underline;' href="http://www.microsoft.com/resources/documentation/iis/6/all/proddocs/en-us/gs_recycling.mspx" target="_blank">http://www.microsoft.com/resources/documentation/iis/6/all/proddocs/en.../gs_rec</a>

--
Tom Kaminski IIS MVP
<a style='text-decoration: underline;' href="http://www.microsoft.com/windowsserver2003/community/centers/iis/" target="_blank">http://www.microsoft.com/windowsserver2003/community/centers/iis/</a>
<a style='text-decoration: underline;' href="http://mvp.support.microsoft.com/" target="_blank">http://mvp.support.microsoft.com/</a>
<a style='text-decoration: underline;' href="http://www.iisfaq.com/" target="_blank">http://www.iisfaq.com/</a>
<a style='text-decoration: underline;' href="http://www.iistoolshed.com/" target="_blank">http://www.iistoolshed.com/</a> - tools, scripts, and utilities for running IIS
<a style='text-decoration: underline;' href="http://www.tryiis.com" target="_blank">http://www.tryiis.com</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: IIS6 + ASP.NET : Performance Problems 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 3) Posted: Tue Oct 19, 2004 7:13 am
Post subject: Re: IIS6 + ASP.NET : Performance Problems [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

By-design.

What is happening is that IIS6 recycles worker processes if they idle
(configurable timeout) to conserve resources for active sites. ASP.Net
pages require loading the CLR to run, which is a very expensive operation.

Everytime that you start up a new w3wp.exe to run ASP.Net pages, the CLR
needs to be loaded, which is taking much of the 20 seconds you observe.

Since you left IIS6 configured to recycle worker processes by idle timeout,
the behavior you observe is by-design. The default values for IIS6 work
very well for ASP/COM/ISAPI applications, but they do not work well for
ASP.Net applications.

It is recommended that you create a new Application Pool for all ASP.Net
applications and assign them to it. This Application Pool should have all
recycle settings disabled except for Private Memory, which should be set at
60% Physical RAM. Everything else should be left as-is.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Maik" <maik[at]maik[NOSPAM]siegel.de> wrote in message
news:%23p$iPDFtEHA.2800@tk2msftngp13.phx.gbl...
In the past days, i have programmed a complete site using asp.net .
I put it on my server and most worked like expected. After correcting the
last erros, i mentioned tha every time, when the site unvisted for some
minutes, it takes lot of until the site is loaded.

When i click several links in a short time, everything works fine - and if i
pause 10 minutes, the first loading lasts nearly 20 second. During thing 20
seconds, the cpu usage of the server is relativ high.
Is the server compiling the asp.net pages every time ?
And how can i prevent him from doing this ?

--
Best Whishes, Maik


Knowledge is Power
Replace [at] and remove [NOSPAM] to get Email-Adress
 >> Stay informed about: IIS6 + ASP.NET : Performance Problems 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]