« Previous Next »

Thread: Website seems to hang randomly

Last post 10-22-2009 10:27 AM by webnoob. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 10-13-2009, 9:55 AM

    • webnoob
    • Not Ranked
    • Joined on 10-13-2009, 9:09 AM
    • Posts 12

    Website seems to hang randomly

    Hi Guys,

    I have a dedicated server with IIS7 running on it. My website is setup through IIS but I am getting random hangs. The website is written in ASP.NET. I can't seem to pin point the issue but it seems that if I leave the site for a little while (don't click anything) and then try and click a link, it hangs on "waiting for {domain name}". It can do this for a good while. Sometimes, doing CTRL + F5 will sort the issue and the website loads very fast then but I don't know what could be causing the initial hang.

     Any ideas?

  • 10-13-2009, 10:35 AM In reply to

    Re: Website seems to hang randomly

    Just in Time compiling.  Not IIS, just an expected feature of ASP.NET:

    http://msdn.microsoft.com/en-us/library/aa719563(VS.71).aspx

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 10-13-2009, 11:10 AM In reply to

    • webnoob
    • Not Ranked
    • Joined on 10-13-2009, 9:09 AM
    • Posts 12

    Re: Website seems to hang randomly

    Hi Jeff,

     Thanks for the response. Looking at the link you supplied, this would imply that once I stop changing things and uploading new .dll's the site will become generally quicker providing my code is up to scratch. So I have the speed issues at the moment because ASP is having to re-cache the classes I have. Is that correct?

     On that note though, what if I haven't changed anything and the server should technically have chached what it needs but I still have random hang times. Any idea on this?

  • 10-16-2009, 5:38 AM In reply to

    Re: Website seems to hang randomly

    This also can be a client-side or networking issue. If you do not close the 'hang' browser window and keep waiting, will it return the page content finally? If so, open the site's property in IIS manager and configure logging, enable the 'time-taken' field. Try reproducing the problem again and then verify IIS log to see how long time is recorded.

    Furthermore, using tools like fiddler to monitor and capture networking traces may give us a more clear view of the issue.

    WenJun Zhang - MSFT
    Sincerely
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • 10-16-2009, 12:30 PM In reply to

    • webnoob
    • Not Ranked
    • Joined on 10-13-2009, 9:09 AM
    • Posts 12

    Re: Website seems to hang randomly

    Thanks for the info WenJun. I will try this out on Monday and let you know. The website does indeed return something after a little while so I will check the logs.
  • 10-22-2009, 10:27 AM In reply to

    • webnoob
    • Not Ranked
    • Joined on 10-13-2009, 9:09 AM
    • Posts 12

    Re: Website seems to hang randomly

    Ok I have looked into this a little and have been analysing the log files. It seems that when it is hanging (and doing nothing more that waiting for {IP}) then no logs are created. This would imply IIS is not the issue but is something to do with the connection.

    Does anyone have any ideas?

Page 1 of 1 (6 items)
Microsoft Communities