글 작성자: 써니루루

ASP.NET 503 서버 사용량이 많습니다.

503 서버 에러가 나타나는 경우 다양한 케이스가 있을 수 있지만, 대부분은 프로그램의 오류에서 발생하는 경우가 대부분입니다.

'503 - Service Unavailable' 메시지가 표시된다면 응용프로그램의 오류 또는 권한의 문제로 Application Pool 이 오류 횟수를 초과하여 Stop 상태가 되어 있을 수 있고, 이럴 경우 Application Pool을 Start 해주는 방법으로 임시 조치할 수 있지만, 원인을 밝혀 문제를 해결해 나가야 합니다. (프로그램의 오류 또는 권한의 적절한 설정이 대부분의 해결법입니다.)

503 서버 에러 중 '503 - Server Too Busy' 메시지가 표시된다면, 서버의 접속량이 초과하여 접속이 안되는 문제일 수 있고, 아래 방법을 확인해 볼 수 있습니다.

machine.config파일의 httpruntime 아래에 있는 appRequestQueueLimit 조절할 있습니다.

관련 자료는 http://msdn2.microsoft.com/en-us/library/e1f13641.aspx 이며,

appRequestQueueLimit

Optional Int32 attribute.

Specifies the maximum number of requests that ASP.NET queues for the application. When there are not enough free threads to process a request, the requests are queued. Incoming requests are rejected with the error "503 - Server Too Busy" when the queue exceeds the limit that is specified in this attribute.

The default is 5000.

NoteNote

For the .NET Framework versions 1.0 and 1.1, the default is 100.

상기의 부분에 내용이 나와 있습니다.(기본값 5000 .NET 3.0 경우임)

너무 높은 값을 입력하게 되면 사이트 반응 속도가 현저히 느려지는 문제점이 있다고 하니, 장애 발생시 사이트 상황에 맞게 수정하여, 사용하시기 바랍니다.