1

I have an intranet website running on IIS 7. When I try to load my site, it reacts differently every time. Here are the following different scenarios that occur when I try to load my site:

  1. The site loads right away and is working properly
  2. The site loads slowly and some my styling/images/javascript did not appear to load correctly.
  3. I receive a "503 service unavailable" error

Any ideas why this is happening?

6
  • 1
    Sounds like your website might be getting overloaded with traffic. Aug 28, 2012 at 12:28
  • how can i check if t@z the case???
    – Gayanee Wijayasekara
    Aug 28, 2012 at 12:29
  • Logs, counters, etc. More of a server admin question, really. Aug 28, 2012 at 12:30
  • 1
    1) Who is t@z? 2) You don't provide enough details to advise you. 3) It IS mostly admin question, so this is wrong place to ask.
    – Germann Arlington
    Aug 28, 2012 at 12:31
  • It's not necessarily your website, it might be anything else that is clogging the server's resources. What you should do is open Task Manager on your server, and see if there's any process using up your CPU or memory.
    – Svarog
    Aug 28, 2012 at 12:31

3 Answers 3

1

So finally my problem was solved. The problem was in the IIS configuration, the maximum number of connections was set to 5. Simply increasing it solved the error.

0

full description of the error:

The Web server (running the Web site) is currently unable to handle the HTTP request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. Some servers in this state may also simply refuse the socket connection, in which case a different error may be generated because the socket creation timed out.

One thing that can happen on your server is that all 80+ ports the server receives taking precedence over port 80. The same port your website runs on.

Here's a command to see if this is true (run it in cmd):

netsh http show urlacl

if you get an entry something like this:

Reserved URL : http://+:80/
...

Then this means that the above issue is happening to you. And you need to remove the record from there with this command

netsh http delete urlacl url=http://+:80/

sources:

http://haacked.com/archive/2007/05/21/the-iis-7-team-rocks.aspx

http://haacked.com/archive/2007/05/18/service-unavailable-errors-in-iis-7-are-killing-me.aspx

0

Your first step in determining why this is happening is gathering information.

If you have access to the server physically or via RDP, you can use perfmon to analyze the server performance.

Here are some articles on how to do so (note that these are for 2003, but it really hasn't changed much for 2008/2008 R2):

Using the System Monitor (PerfMon) with ASP.NET Applications (IIS 6.0)

Performance Counters for IIS

After you gather information on what's happening performance wise, you can then begin to isolate the cause.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .