Web pages on hosted site slow to load initially

Discussion in 'Windows Small Business Server' started by Mike Tashkoff, Jul 7, 2006.

  1. Hi,

    I'm migrating from a SBS2000 box to a new SBS2003 Premium box, running ISA
    2004. I have a 2 NIC setup with ISA acting as the firewall. I'm hosting my
    own site as the default website.

    I don't have the new server connected to the internet, as my old server is
    still connected publishing my site. So, I'm testing the website by logging
    onto the new server directly as administrator.

    The issue I have is that when I click to load certain pages from my site,
    the page takes about 24 seconds to load, but from then on it loads in less
    than a second. The pages are dynamic ASP showing data from a SQL 2000 DB.
    The really weird thing is, that if I load a different page first (dynamic ASP
    display SQL data) the page loads quickly, and then any other page loads
    quickly as well.

    I've noticed that IE reports the zone as unknown initially then one I have
    loaded a page, it shows it as being a trusted site.

    The site uses frames, but I have a secure page that loads outside of the
    frameset. This page half loads (header banner), then hangs for about 24
    seconds before the form part of the page loads.

    Any ideas out there? Is it to do with authenticating to the database?

    I'm stumped.

    Cheers,
    Mike.
     
    Mike Tashkoff, Jul 7, 2006
    #1
    1. Advertisements

  2. Try this...

    Go to IIS Manager
    Open the Application Pools
    Right click on the DefaultAppPool and go to properties
    Go to the Performance Tab
    Uncheck the top box - shutdown worker processes after being idle.
    http://www.sbslinks.com/images/AppPoo2.gif

    Thanks to Susan Bradley for this image, (I can't tell you how many times
    I've used this image lol)

    --

    Russell Grover
    SBITS.Biz
    Enterprise Solutions for Small Business
    Microsoft Certified Small Business Specialist.
    MCP, MCPS MCNPS, (MCP-SBS)
    Portland/Beaverton Oregon USA
    Support @ SBITS.Biz
    http://www.SBITS.Biz
     
    Russ - SBITS.Biz \(MCP-SBS\), Jul 7, 2006
    #2
    1. Advertisements

  3. Thanks Russ,

    I had seen that advice in other threads. So I've tried that already. No
    joy. I've just tried it again to be sure!

    Not sure if this is connected, but I have got an SSL certificate from
    GeoTrust loaded on the website. I also exported it and installed it into ISA
    by following instructions in a Technet article.

    Funny thing is that the Web Listener can see it, but if I check the option
    on the Bridging tab to Use a certificate..., then click on the Select button,
    I get an error msg saying there are no certificates configured on this server.

    I loaded the certificate onto the default web before running the Internet
    connection wizard, and the wizard wouldn't let me continue w/out either
    creating another certificate, or using one from a Trusted Authority.

    Thanks for your post.

    Mike.
     
    Mike Tashkoff, Jul 7, 2006
    #3
  4. Darn I was sure that was it.

    Well you do need to remember ASP is slow to begin with.. (Sorry Microsoft
    PHP man myself)

    So I wonder?
    How much Memory do you have on the server?

    :(

    Russ


    --

    Russell Grover
    SBITS.Biz
    Enterprise Solutions for Small Business
    Microsoft Certified Small Business Specialist.
    MCP, MCPS MCNPS, (MCP-SBS)
    Portland/Beaverton Oregon USA
    Support @ SBITS.Biz
    http://www.SBITS.Biz
     
    Russ - SBITS.Biz \(MCP-SBS\), Jul 7, 2006
    #4
  5. 2gb of RAM.

    I have notcied that if i turn off use of a proxy in the browser, he delay is
    around half the time, ie about 12 seconds.

    Cheers,
    Mike.
     
    Mike Tashkoff, Jul 9, 2006
    #5
  6. Okay. I've worked it out. Checking the web logs, it showed that it was
    waiting that time to connect to an external URL, but as my server wasn't
    connected to the net, it never found it. The delay was the URL timing out I
    guess.

    I removed the links from the pages, and everything is working ligtening fast
    again.
     
    Mike Tashkoff, Jul 14, 2006
    #6
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.