Re: IIS 6.0 hangs on simple HTML

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

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 08/31/04


Date: Mon, 30 Aug 2004 21:53:08 -0700

Is this clean install (or upgrade).
What applications/ISAPI do you have installed on the server.

A hang will show up in the log file; you probably didn't wait long enough
for it to be recorded. A hang on a static file can happen when the client
and server miscommunicate the expected size of the static file -- so one
side or the other "waits" for bytes that are never going to come, due to the
miscommunication. Now, practically, the client and server "Timeout" instead
of waiting infinitely -- and timeouts are logged by the server. However, if
you refresh or otherwise stop communication, the server wouldn't think it
"timed out" and thus won't record it as a failure.

Timeouts should show up in the %SYSTEMROOT%\System32\LogFiles\HTTPERR\*.log
log files.

Your failure pattern suggest that your website may be running some ISAPI
Filter that is munging output response (incorrectly) and causing the browser
to hang. If it was a pure static file without ISAPI Filter running, after
your third request, it would have been cached already, so if it didn't hang
on the first ones, it wouldn't hang anymore. The fact you are hanging says
that the file wasn't cached and was probably munged by something like an
ISAPI.

ISAPI can easily cause IIS to crash/hang through no fault of IIS, so I would
investigate them as their own problems.

-- 
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Amil Hanish" <amilhanish@hotmail.com> wrote in message
news:uSQVtvujEHA.3968@TK2MSFTNGP11.phx.gbl...
I'm having issues with IIS 6.0 on Windows Server 2003.  I can create a
simple dummy.htm with just the default html tags.  About 1 out of 10 times,
when I click refresh, it just hangs forever.  The site does not have any
real traffic...except me testing it.
This is only happening for a specific website; I have several other sites on
the same box that are ok.  Again, it hangs using a barebones html page.
Each site is configured with its own unique application name.
How can I tell what IIS 6.0 is doing?  The log files don't show anything
since the request is not completing?  I do have a w3wp.exe process but that
could be for one of the other busy sites.
While it is hanging...if I click the stop button and view the browser
source, it shows:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=hz-gb-2312"></HEAD>
<BODY></BODY></HTML>
But, my dummy.htm contains:
<html>
<head><title>bogus</title></head>
<body>hello world</body>
</html>
Any ideas?


Relevant Pages

  • Re: Error 401.1 (iis 6.0)
    ... Getting 401.1 indicates that the username/password provided to IIS was ... IIS6 should never need to restart -- just recycling the Application Pool ... I would look at the hang ... Try using IIS State when the server appears hanging and post the log here. ...
    (microsoft.public.inetserver.iis)
  • PROBLEM: Network hang: "eth0: Tx timed out (f0080), is buffer full?"
    ... We had to reboot a server twice after a network card hang. ... The last minutes previous to the network hang and system hard reset ... Dec 8 10:43:25 urutu kernel: NETDEV WATCHDOG: eth0: transmit timed out ...
    (Linux-Kernel)
  • SBS 2000 SP1 (/SP4) system hang
    ... Each hard disk was an 72 GB Ultra 3 hard disk and the result ... while I believe I knew the location to move the cache configuration /drives ... they do not use ISA server anyway, (after the completion of the migration I ... manually with out the non-core service then starting that it did not hang ...
    (microsoft.public.windows.server.sbs)
  • RE: MS rec. change for DNS & DHCP running on 1 server needs undoin
    ... application hang and printer: ... Please do clean boot on printer server and problematic clients at same ... Please try to show me more details about your print spooler issue, ... Please let me know the detail steps of the recommendation action, ...
    (microsoft.public.windows.server.sbs)
  • Re: IIS6.0 is hanging in Windows 2003
    ... The log file will help us determine what is causing the "hang" and suggest ... IIS6.0 is hanging in windows 2003 server at customer ... client will send a request to IIS and IIS ...
    (microsoft.public.inetserver.iis)