473,799 Members | 2,926 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Site startup performance problems

1 New Member
Hello,

I am having some trouble with performance issues using ASP.NET.

We have a single code-base that is used as a wrapper for multiple sites. The data for the site is populated from the database, and based on the URL of the site, displays different content. Currently there are 30 different sites in IIS, all in the same Application Pool, and all pointing at the same code-base.

The performance issue is, when we have to make an update to the code, the sites take upwards of 10 minutes to start responding again. During that time, the web server CPU is at 100% while several instances of "csc.exe" are running. Basically, when the code is sufficiently changed to cause a site-wide recompile, all 30 sites try to recompile at the same time. A single site takes less than a minue to compile, however the time increases geometrically as the number of concurrent sites increases.

I have tried moving sites to individual containers, however this actually makes things worse. Not only does the memory usage increase six-fold, but it also increases the overall duration of the down-time.

I have also experimented with pre-compiling the code using "aspnet_compile .exe", and then deploying only the binaries to the site. The performance does improve significantly, however, it is still taking far too long for the sites to come back up.

In the %windir%\Micros oft.Net\Framewo rk\<.netver>\Te mporary .NET Files\root directory there are several directorys with 8-character names (like f003da03, and the like). Upon cleaning this directory and restarting IIS, and visiting each of the sites one directory appears for each website. I would expect this to happen for JIT-Compile code since ASP.NET needs a place to reference a code-base from, however this also happens for pre-compiled code. It seems that when loading the site for the first time, even from binaries, a copy of the necessary binaries is made in the temporary directory. This process of copying up to 20 megabytes of DLL files, per site, from the webroot, to the temporary directory slows down the site startup performance greatly.

Does anyone know if it is possible in IIS to prevent this from happening? Specifically, is there a way to force IIS to read the binaries directly from the webroot, without making a copy in the temp directory? Does anyone have any suggestions for how to improve startup performance?

Thank you in advance for any help
Nov 30 '07 #1
0 2167

Sign in to post your reply or Sign up for a free account.

Similar topics

9
2991
by: jeff | last post by:
Hi All. I realize that when my Deployed winforms application starts, Windows needs to load the .net 2 framework before control is given to my application.... Is there anyway to either ... - preload the .net 2 framework (windows startup or whatever) - splash a screen ... application loading ... please wait ... type of
4
1780
by: Keithb | last post by:
A web site uses a SQL Server instance on another box and it takes a long time to establish a connection. Is there any way to make the web site stay connected to SQL server at all times, even though there are no users? Thanks, Keith
3
1278
by: shapper | last post by:
Hello, I am having some speed problems with an Asp.Net 2.0 web site and I would like to know if there is some tool which accesses a web site and displays each step of when the web site is loading. I need to figure out what is taking a long time to load or a error hapening. Thanks, Miguel
71
4861
by: Murray R. Van Luyn | last post by:
Hi, Since I have made changes to my website it's been a complete flop. According to the logs, as soon as visitors have downloaded the index page they are off. I can't figure out why? http://www.review-a-gadget.com/ Is there anything obvious that I am missing? Are there problems with some browsers? Please let me know if you notice anything.
6
7981
by: MaiyaHolliday | last post by:
Hello, I've recently installed apache on a new computer, and cannot figure out why my site will not process any includes. (it was working on my old one) There are no errors on the page such as "include not found", rather much of the page is blank where the included menus, etc would be, and the CSS is not attached. thanks so much!!! My httpd.conf looks like this:
6
2638
by: Gilles Ganault | last post by:
Hello A friend of mine is running a LAMP (PHP, MySQL, Apache, Debian) Web 2.0 site on a dedicated, hosted server with about 300 connected users when it's really busy. The server is an Intel Celeron 2.4 GHz with 1GB of RAM, a 40GB IDE drive, and a 10Mbps bandwith. Here's what top says:
64
6078
by: Mika | last post by:
Hello, we understand you guys may be able to help. We have a page which has been working great for over a year and gets many hits. However recently something got changed that we cannot seem to find, and now *sometimes* if you refresh the page (generally while it is still loading) in IE7, we get the popup window error: Internet Explorer cannot open the Internet site... Operation aborted
10
18096
by: kimiraikkonen | last post by:
Hi there, I figured out, for the first execution for any .NET-powered app such as VB.NET or C#, it takes 7-8 seconds to see main form of "any" application even the application consists of a single form and a button and only 32kb sized. The second execution(without rebooting machine) is done less than a second. This slowdown on startup doesn't occur on non-.NET-powered apps such as VB6, MFC or VC++ 6 applications. If an application is...
0
1650
by: ycinar | last post by:
hey all, i am working on a Java project using JBuilder.. when i build my code its fine, but when comes to run, it doesnt run and displays the following logs.. i think there is JDK conflict.. actually when i build it, it creates a jar file which is totally fine (i can confirm that because i use that jar file in another project) any idea on how to get around this? maybe i could try to run it from the command line, but dont know how to run...
0
9687
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9541
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10027
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7564
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6805
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5463
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5585
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3759
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.