Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What possibilities can cause "Service Unavailable 503" error? [closed]

we have a asp.net MVC application deployed to a server, and but when there is too many request to the server, the client will just get a "503 service unavailable" error.
But if I deployed the application to another server ( lower hardware configuration ), everything worked fine, even more requests it can handle well.
My question is what possible configuration can cause the previous server to just throw out a 503 error ? (which means the requests didn't reach our application).

like image 874
MemoryLeak Avatar asked Nov 11 '10 02:11

MemoryLeak


People also ask

What can cause 503 Service Unavailable?

The HyperText Transfer Protocol (HTTP) 503 Service Unavailable server error response code indicates that the server is not ready to handle the request. Common causes are a server that is down for maintenance or that is overloaded.

Is a 503 error my fault?

What is a 503 error? A 503 Service Unavailable Error is an HTTP response status code that indicates your web server operates properly, but it can't handle a request at the moment. Since it's just a generic error message, it's difficult to pinpoint the issue's exact cause.

How do you fix there was a problem with the server 503?

Corrupted cached data – This is one of the most common triggers on Android devices when it comes to this particular error code. As it turns out, certain Android builds will trigger this particular issue if cache data folder becomes corrupted. In this case, you can resolve the issue by clearing the cache data.


1 Answers

Your web pages are served by an application pool. If you disable/stop the application pool, and anyone tries to browse the application, you will get a Service Unavailable. It can happen due to multiple reasons...

  1. Your application may have crashed [check the event viewer and see if you can find event logs in your Application/System log]

  2. Your application may be crashing very frequently. If an app pool crashes for 5 times in 5 minutes [check your application pool settings for rapid fail], your application pool is disabled by IIS and you will end up getting this message.

In either case, the issue is that your worker process is failing and you should troubleshoot it from crash perspective.

What is a Crash (technically)... in ASP.NET and what to do if it happens?

like image 123
Rahul Soni Avatar answered Sep 24 '22 03:09

Rahul Soni