Re: Strange hang when requesting page quickly

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Kristofer Gafvert (kgafvert_at_NEWSilopia.com)
Date: 01/25/05


Date: Mon, 24 Jan 2005 23:18:12 -0800

Hello,

"When it first hangs though, if I open a new process of IE
and request the same URL then it will load the page fine (new thread I
guess)."

This makes me think that this is a client side "hang". I cannot reproduce
this and have IIS hang. You might want to try to post this to a newsgroup
for Internet Explorer, because i think that the problem is in IE, and i do
not know how IE handles this kind of action (maybe it queues the requests,
and then sits there waiting for the last request to be handled, and
therefore seems to be "hanged" for a while).

However, do you expect your users to reload your page like this? I can
reproduce the same "hang" in IE, no matter on what server the page is
located.

The IE newsgroup(s) can be found here:
http://www.microsoft.com/windows/ie/support/newsgroups/default.mspx

-- 
Regards,
Kristofer Gafvert
www.gafvert.info - My Articles and help
www.ilopia.com
Richard Hollis wrote:
> I've got a very strange problem with IIS that I am finding almost 
impossible
> to resolve and, more so, actually debug or locate the cause.
>
> When quickly requesting pages in quick succession - hitting F5 as many 
times
> as you can - I've noticed that the page will hang and not return.  If I
> leave the window for a period of time and re-request the page then 
sometimes
> it will reload.  When it first hangs though, if I open a new process of 
IE
> and request the same URL then it will load the page fine (new thread I
> guess).
>
> I am using my own ActiveX controls and at first I thought that I had a
> deadlock from inside one of my objects.  Now, I've discounted this 
because
> I've coded the ActiveX controls out and confirmed they aren't being 
loaded
> by looking in Component Services and they aren't loaded, but the problem
> still remains.
>
> I tried to cut away as much code from my core, header, body and footer 
code
> to try and factor in on the problem, but I honestly don't think that it 
is
> coming from the ASP code itself, from what I'm left with, and it isn't 
much.
> The only thing that I think I've determined is that a greater total line
> density of the entire requested page (includes+page+includes) seems to 
bring
> about the problem sooner than later.  When I chopped the code down I 
began
> to find it almost impossible to get it to hang, although when I did have 
it
> down to almost a tiny amount of code it still did go wrong, but much less
> often; adding more bits of code back and the problem was easier to
> reproduce.
>
> I've used IISSTATE to try and work out if there was a locking issue and 
this
> didn't seem to be the case.  I then used WinDbg with the !locks option to
> see if there were any locks in the dump file and nothing came back from 
that
> either.
>
> I get the problem on Windows 2000 and XP.
>
> Richard


Relevant Pages

  • Re: paging all socket geniuses
    ... the first ICMP ECHO_RESPONSE or else hang for some default timeout and ... | past the timeout, and why cannot SMOKINJOE do the same?... ... request at it, and then read the response (which for ... work on the first two and hang on the third [meaning the bug *isn't* ...
    (comp.lang.lisp)
  • OT: Study your Sympatico bill *closely*.
    ... non-cooperation on the rep.'s part, hang up. ... someone who easily grants every request the last rep. said was ...
    (sci.physics)
  • Re: how to turn off OPCOM messages on a console terminal
    ... a call via $sndopr) will continue to be broadcast ... If there is no operator terminal, the REQUEST/REPLY (or the $sndopr call ... If you just want to log a message, then REQUEST (or an equivalent ... If you are seeing a hang within OPCOM (other than the expected ...
    (comp.os.vms)
  • galeon and mozilla hang with slow connection
    ... When using galeon and mozilla, if there is a hang with the connection, ... i.e whatever request they are performing doesn't happen imediatly they ... window, don't respond to button, close window requests etc. ...
    (Debian-User)
  • Re: OpenSolaris 2008.05 issues
    ... opportunity to load it up. ... as a recursive find would hang). ... I've never used a live CD for Solaris, but I believe there are more than one live version in existance. ... kestrel / % svcs ssh ...
    (comp.unix.solaris)