Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 377
  • Last Modified:

ASP and ASP.Net is slow/timeout at first time load after SQL upgrade to 2008 R2

We recently upgraded our SQL to 2008 R2, this server is very powerful, see the specs:
4 x 8core Intel Xeon 2Ghz processors
256Gb memory;
5 x 1Gb nics (2 teamed for production, 2 teamed for heartbeat, 1 for iLo)
Windows server Enterprise 2008R2.
Firewall is disabled.

but weird thing is ASP and ASP.Net applications are slow when they are first time launched, sometimes timeout. after application is loaded, it's fast like fly.

Applications are using ASP.Net 1.1 and 2.0, .Net framework is 1.1, 2.0, and 3.5.

Any comment is welcome.
0
wallaceni
Asked:
wallaceni
1 Solution
 
Carl TawnSystems and Integration DeveloperCommented:
Well, if they're not precompiled then the app will have to be JIT'd the first time it runs. How long that takes will depend on how big the app is.

You could try pre-compiling to avoid the initial hit and see if that helps:

    http://articles.techrepublic.com.com/5100-10878_11-6116804.html
0
 
Epitel0920Commented:
Does you application use the newly build database on the first launch? We had a timeout problem in one of the companies that I worked for when the application attempted to access the database that was just built and it timedout the command first time, second time it ran fine
I am not sure I remember the fix, or if there even was a fix, but what you could try is to have the installer try to run some querries on the db upon the completion of the installation
0
 
Kumaraswamy RCommented:
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Tackle projects and never again get stuck behind a technical roadblock.
Join Now