« Previous Next »

Thread: Pages appear to stop responding

Last post 11-20-2009 8:00 AM by mrozik. 86 replies.

Average Rating Rate It (5)

RSS

Page 2 of 6 (87 items) < Previous 1 2 3 4 5 Next > ... Last »

Sort Posts:

  • 03-12-2009, 1:18 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: Pages appear to stop responding

    Can you zip up the cap file and e-mail it to me at anil (dot) ruia (at) microsoft (dot) com?

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 03-12-2009, 2:22 PM In reply to

    Re: Pages appear to stop responding

    There could be many issues why a page takes a long time to load. Network issues, firewall, route, etc misconfiguration, code, etc

    As anil suggests maybe a network trace is the only way to work out more of what is occurring

    ianderson,

    I can reproduce your problem. Often it is like 10-30 seconds not minutes to display teh page in FF3.0.7

    However it only appears to be on the search/database stuff, the about us pages seem to be ok.

    You need to find a pattern where it is reproducable.

    What do the IIS logs say? Remember the time field is the time written to the logs when finished to get the start time it is time-timetaken.

    Could this be the code (javascript problems?) ? Could it be the database? Confirm the times for both these elements.

    What does the application trace routing reveal? Is it the first request that takes the time or sending the last one back or spread throughout the process. 

    Look at the release notes for firefox when you first had a problem http://www.mozilla-europe.org/en/firefox/3.0.6/releasenotes/ and https://bugzilla.mozilla.org/buglist.cgi?keywords_type=anywords&keywords=fixed1.9.0.6+verified1.9.0.6 anything relevant there?

     

  • 03-12-2009, 2:44 PM In reply to

    Re: Pages appear to stop responding

    The delay's I'm experiencing last much more than 10-30 seconds.  I waited 5 minutes one time before it responded, and another time I waited 10 minutes before just hitting the stop button. The thing about this is when I stop it, I can usually hit the refresh button, click the link again, and it pops up in a split second.  So, it's not a coding issue, or a database problem. When this happens and I stop/refresh/click again, it pops up immediately.  And, there is practically no traffic on the server, so I know the server is not the issue either.

    The IIS logs don't help much. They only say that a page was accessed at a certain time, and as pointed out in a previous entry here, they showed a response time of 1.7 seconds, but that response did not show up in my browser that fast.  This server is used for development, and when I upload the same code to our WS03 live server, it works perfectly, and I experience no such delays.

    If I understand what you are asking about application tracing, you have to implement that when you're experiencing the problem, don't you (or before?). Thing is, as some one else already pointed out, this doesn't happen all the time.  In fact, I find that most of the time it works just fine.  However, if I let it sit for a little while, then try, sometimes I'll get the long delay, sometimes I will not.

    I checked the Fire Fox logs as you indicated, and didn't see anything obvious there.

    Personally, I believe this is an issue in IIS7 / WS08 as WS03 is working fine.   It could be a configuration issue, but I really don't know what sort of configuration changes to make.

    Jesse

  • 03-12-2009, 2:57 PM In reply to

    Re: Pages appear to stop responding

    BTW most of my above reply was aimed at ianderson. I see these as different issues not the same one.

    Often when I have seen similar issue you get a http 200 status and win32 error of 64. Which often means a network issue so check this.

    Yes, you will need to run traces before an issue occurs so it can catch the error. So you will need to do this for netmon too it will be useless without and note the times when the delay is occurring.

    These sorts of problems are often the most difficult to resolve (any version of IIS) as there are so many factors to consider and there is no 100% reproducable behaviour.

    But does it ever occur internally (ideal test is on the box itself)? or it is all external traffic.

    You need to check all the routing/firewall/etc stuff too. I have seen many times that they can cause issues like this.

    Also don't use different OS's for dev/staging and production it will just lead to more problems in the long run as you are not testing the site in the correct enviornment.

  • 03-12-2009, 3:18 PM In reply to

    Re: Pages appear to stop responding

    My problem and ianderson's seemed to be the same issue to me, but not sure.  I thought that's why he chimed in.

    Problem is that I'd have to be running traces all the time as the problem is intermittent.  I think last time Anil tried to help me set up one of these traces, you have to set it up on a certain process.  I'll try to reproduce it by delaying on a page for a while, then clicking to see if there's something there causing the problem.

    I guess you could say it's occurring internally.  As stated earlier, I'm not going to http://www.whatever..., I'm going to http://myserver/mypath/myapp.aspx.  So, yes, I'm on an internal network.  This is going through the firewall, but I'm not sure what sort of issues to look for.  It would seem to me that if it were a firewall issue, then it would delay or fail all the time.

    The way things are going, I probably won't be developing on different OS's for long.  I think we are planning on purchasing a copy of WS03 and re-formatting this server to get rid of WS08.  I have several other problems too that only seem to be occurring in WS08 that are working fine in WS03.  Problem is that WS03 isn't going to be around forever, so I need to find out what the problem is and get it fixed now instead of just delaying it.

    Jesse

  • 03-12-2009, 5:12 PM In reply to

    Re: Pages appear to stop responding

    Firewall, etc can do a lot of things and it is not as simple to say it is either a delay or fail all the time.

    Look at that level to see if the requests are pushed through at that time on the firewall. Is it the first request that is the problem? The last? There is a lack of network information here before any sensible help can be applied. I have been looking at the example given of winebid.com and it only occurs when you have multiple pages in the search - then it seem no page will work for a time.

    What is the difference in the behaviour/code when you have only 1 page in the search? As there is a difference in the outcome for the client. Logically by the reasoning thus far it should fail then.

    The sweeping generalization that FF 3.0.6 is broken with IIS 7 seems premature at this stage. Is some code on some pages is causing this? Are application pools being restarted?

    It appears to be a combination of many things in certain cases. Could bad coding practices be to blame here and something that FF picks up that other browsers do not?

    Could it be network/firewall/router related?

    AFAIK there hasn't been any proper investigation into these causes and that is where I would look into first.

  • 03-12-2009, 5:24 PM In reply to

    Re: Pages appear to stop responding

    There hasn't been any "proper investigation" because the problem is intermittent.  How do you track something like that?

    I suppose I could start a Netmon capture when I start work in the morning, and let it run all day until the problem happens.  Thing is that I've been on the server all day (today), and it's only happened twice.

    Where do you suggest I start a "proper investigation"?

    Jesse

  • 03-12-2009, 5:30 PM In reply to

    Re: Pages appear to stop responding

    Yeah that is one way to start.

    Get the exact time and run through your firewall logs at that time too. Check that with the databases logs, iis logs, the event viewer logs. Is anything happening at that time? App pool reset, anything like that.

    Like I said these are not easy problem to solve in fact some of the most difficult to solve.

     

  • 03-12-2009, 5:36 PM In reply to

    Re: Pages appear to stop responding

     I was trying to find the firewall logs earlier, but couldn't seem to find it.  Where do I find the firewall logs (On the server, not the router.  I can deal with the router)?

    I think the rest of the the logs I've found before and last time I tried to track this down, there were no entries at all in the Windows logs (Application and System) for that time frame.  I checked the IIS logs as well, and it showed the page access, but reported a response time far less than it actually was.

    Jesse

  • 03-12-2009, 7:10 PM In reply to

    Re: Pages appear to stop responding

    Sorry I presumed you had a third party firewall. Windows firewall here:

    http://technet.microsoft.com/en-us/library/cc736373.aspx

  • 03-13-2009, 10:08 AM In reply to

    Re: Pages appear to stop responding

    OK, I've reviewed that document, and right off the bat, it's not right.  It says to open the Windows Firewall, then click on the Advanced Tab.  When I open the windows firwall, there is no advanced tab.  But, I clicked on "Change Settings".  There is an Advanced Tab there, but there is nothing about Security Logging there.

    So, I go to the help file, and type in Security Logging.  Looking at the View Security Log help entry, it says to go to the Event Viewer, and click on Global Logs.  So, I go to the Event Viewer, but there is no Global Logs entry in there anywhere that I can find.

    However, in the Event viewer, under Windows Logs, there is a Security section.  That simply show who logs in/out, and a few other things.

    So, I "think" I've found the right place, but I'm not sure.  What should I be looking for here (if this is where I need to be)?

    Jesse

  • 03-13-2009, 10:26 AM In reply to

    Re: Pages appear to stop responding

    OK.  I've had it happen again. Here's what happened.  While working on a page (I was updating a page, and refreshing frequently), I clicked on a link and got no response.  I stopped it and clicked the link again, and still got no response.  so, I stopped it again, logged on to the server, and started a netmon session.  I then clicked the link one more time, and still got no response.  I let it run. After about 5 minutes it finally came back and gave me the page I had clicked on.

    So, here is what I have:
    * I've got a  netmon capture file, but don't know what to look for.

    * I checked the IIS logs, but the thing about that is that the time stamp indicated 5:43am.  This occurred at approximately 8:50am (I realize that the time inside the file itself is GMT, but this is the time-stamp on the file itself, which is not GMT).  Even though I'd been accessing several pages on the site, there was no update in there.
    The strange thing is now the entries are there where they weren't before.  Anyway... Here is the entry for the page I was accessing:

    2009-03-13 12:56:25 192.168.1.8 GET /dlg/bpamem/ConfSpecEvent.asp CID=2863&Inv=C093610&F=I 80 - 192.168.1.105 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.9.0.7)+Gecko/2009021910+Firefox/3.0.7 200 0 0 62

    This coincides with the response.  However, The actual request was made at about 8:50 (12:50 GMT, I suppose), so it took about 6 minutes and change to respond.

    * I have several Failed Request Log entries, but the times do not seem to coincide with the time I had the probem. Most of these have a warning in there of "LOG_FILE_MAX_SIZE_TRUNCATE"

    Where do I go from here?

    Thanks,
    Jesse

  • 03-13-2009, 12:04 PM In reply to

    Re: Pages appear to stop responding

    If that was the same request then IIS responded qucikly and as desired.

    It took a long time to:

    a) getting to the server.

    or

    b) From the server to get to IIS

    Check the packet sniffer logs to see when the request was actually made to the server from that client IP. Did any traffic hit the server from 8:50 to 8:55?

    If the first occurrence was just before the IIS log time say 08:56 then it is a more general networking issue from maybe from the client machine or something on route.

  • 03-13-2009, 1:01 PM In reply to

    Re: Pages appear to stop responding

    Rovastar,

    I am fully aware of the various components that come into play regarding overall performance and page responsiveness. You are correct to point out that DB, JavaScript, etc. are all sources to look at. However, if it was a general server-side performance issue, it would not be browser-specific. This issue only happens with FireFox, and even then only intermittently. I do believe that VorlonShadow and I are experiencing the same, or at least a related issue. I have seen pages take minutes to respond as well... and the timing of the response is also intermittent.

    Also, I am a bit confused as you state "I can reproduce your problem" and then say "You need to find a pattern where it is reproducable". It is an intermittent issue and following the steps I described it is reproducable. As VorlonShadow mentions, the logs and tracing do not provide much insight into this issue.

    The idea that there is no issue between FireFox 3.0.6 and IIS7 seems a bit odd, considering that I am experiencing it, our site users are experiencing it, and other developers are experiencing it. There clearly is some issue... the question is what is the cause of the problem.

     

     

  • 03-13-2009, 1:07 PM In reply to

    Re: Pages appear to stop responding

    Also... just to rule out any programming or client-side issues, as both Vorlon and I have already mentioned, the issue disappears when switching between IIS6 and IIS7. I have run the site on an identical setup, using the exact same code, on IIS6 and cannot produce the issue. It is specific to hosting on IIS7. In fact, I even tried hosting on IIS7 in IIS6 classic-mode but also experienced the issue. So I guess there is a chance that it is a problem with the Server 2008 networking stack and FF... since IIS7 and Server 2008 are inseparable there's no easy way to determine where the problem lies.

Page 2 of 6 (87 items) < Previous 1 2 3 4 5 Next > ... Last »
Microsoft Communities