Today we’ll see what causes “IIS HTTP Error 503. The service is unavailable.” error and how we resolved it. Bobcares, as a part of our Server Management Service offers solutions to every query that comes our way.
Overview
- What is “HTTP Error 503: The service is unavailable” error?
- What are the causes of the Error?
- How to Fix the Error?
- Conclusion
What is “HTTP Error 503: The service is unavailable” error?
When we see HTTP Error 503, it means that either temporary server maintenance or overloading has prevented the web server from handling the request. This error usually appears when there is maintenance going on, there is a brief overload on the server, or there are problems that prohibit the server from completing the request.
To put it another way, imagine if we contact a store and, rather than speaking with a live person, we get an automated message stating that they are now unavailable. Numerous factors, including heavy traffic, server maintenance, as well as technological problems, may cause this.
What are the causes of the Error?
Our Windows server experts noted that all the domains in the server were using the same application pool [ie. ‘plesk(default)(4.0)(pool)’]. In our experience handling such errors, the following are the main causes:
- Application Pool of the corresponding Wep Application is Stopped – In an IIS server, the domains are assigned to application pools, some dedicated and some shared. If the associated application pool for a domain is in stopped or disabled state, it would cause the website to show “HTTP Error 503. The service is unavailable.” message.
- Any misconfiguration in the application pool or site settings, such as spawning applications in 32-bit mode, that can tamper with its proper functioning, can cause error in the site. Improper IIS configuration have noted to cause the worker process to fail. Process crashes also happen due to incorrect application logic. In some cases, the web server protocol may not be active in the site settings, and the site can show up ‘HTTP Error 503.’
- Issues related to the user Identity of application Pool – An application pool is associated with a user identity, which allows you to run that application pool under a unique account. This user account also can get locked at times, can have its password expired, or may not have adequate privileges to run the application pool. Any of these issues can tamper with the website functioning.
- Application pool running out of RAM or other server resources, causing it to crash, often lead to ‘HTTP Error 503.’
- Server migrations have also seen to have caused such errors in the website, if the IIS configuration settings of two servers are not compatible with each other, which can affect domain performance.
[ You don’t have to lose your sleep over server errors. Our expert server support specialists monitor & maintain your servers 24/7/365 and keep them rock solid. ]
How to Fix the Error?
In order to pinpoint the actual cause of the 503 error, we examine the System event logs, which gives a hint towards what is the reason for the error. Based on that, we follow various debugging methods to resolve it.
If the error is due to a stopped application pool, then usually starting it would resolve the issue. From the IIS Manager -> Application Pools node, right click on the DefaultAppPool in order to check the status.
On noticing that the service is stopped, we start it. If the service is running, we try restarting it and the error would be gone. But in most cases, the fix may not be as simple as that.
In cases where the application pool crashes frequently, restarting it all the time is not the right way to fix it. So, we monitor the server and debug further into what is causing the application pool to crash.
For websites that are resource-intense, it is always better to assign a dedicated application pool for that domain. Another aspect we check and fix the settings of application pool and site, such as enabling the relevant protocol.
One of the key issues many fail to notice, is the user identity settings. We check the account settings and password of the identity and confirm that it is working fine. If mismatch noted, we would update the settings.
However, in this specific scenario, the issue was due to inadequate permissions of the application to run, which caused the error. By reconfiguring the application pool to run with a higher privileged identity, we were able to resolve the issue.
To avoid resource crunch leading to application crashes, we also optimized the IIS server and could see improvement in the capacity to handle connections with lesser CPU usage.
[ Use your time to build your business. We’ll take care of your servers. Hire Our server experts to resolve and prevent server issues. ]
Conclusion
To sum up, our Tech team went over the details of HTTP Error 503: The service is unavailable error, along with its solutions.
HTTP Error 503. The service is unavailable.
plz solve the problem
Create a new App pool with default settings…and re-try
Need to start the application pool
tank you very muuuuuuuuuuuuch
My application pool crushes everytime, I think the reason might be that it’s the only application that falls over none of the other ones do, please let me know how can I resolve this?
Something stopped the app pool in my case. Maybe leaving the debugger stopped in VS for 6 days may have done something? Did not realize that if something stops the app pool, restarting the computer is no help … its stopped unless started in IIS manager. Thanks for pointing me in the right direction.
My server shows 503 server error .Please help to fix this issue
Hello Mohanram,
We can take a closer look at your server settings. If you still have the 503 error and need help, we’ll be happy to talk to you on chat (click on the icon at right-bottom).
Hi .. thanks a lot for the useful info. We faced same issue solved by starting the app pool.
application stopped most of the time what might be the issue in IIS.
Mostly, the application will be misconfigured and that results in errors. We can help you debug further. We’ll be happy to talk to you on chat (click on the icon at right-bottom).
1. cmd (run as administrator)
2. input ==> iisreset
3.wait
4.Done.
Yes. IIS reset is recommended when multiple websites report errors. For a single website, recycling the application pool is a wise choice.
Hi this has started to happened suddenly for me… not sure what has changed. Im on windows 10. and installed IIS for development purposes. Everything was one until about 2 weeks ago when I was last using it. I uninstalled and reinstalled IIS. Even emptied the contents of the website and just kept won’t empty index.html in that… very weird…
Hello Nag,
Must be something with the IIS settings.
If you still have errors and need help, we’ll be happy to talk to you on chat (click on the icon at right-bottom).
Hi,
Very good article.
My application pool was stopped.
Many thanks