ProcessModelSection.RequestQueueLimit 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
큐에 허용되는 요청 수를 나타내는 값을 가져오거나 설정합니다.
public:
property int RequestQueueLimit { int get(); void set(int value); };
[System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteIntConverter))]
[System.Configuration.ConfigurationProperty("requestQueueLimit", DefaultValue=5000)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int RequestQueueLimit { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteIntConverter))>]
[<System.Configuration.ConfigurationProperty("requestQueueLimit", DefaultValue=5000)>]
[<System.Configuration.IntegerValidator(MinValue=0)>]
member this.RequestQueueLimit : int with get, set
Public Property RequestQueueLimit As Integer
속성 값
큐에 대기할 수 있는 요청 수입니다. 기본값은 5000입니다.
- 특성
예제
다음 코드 예제에서는 속성을 사용 하는 방법을 보여 있습니다 RequestQueueLimit .
// Get the current RequestQueueLimit property value.
int requestQueueLimit =
processModelSection.RequestQueueLimit;
// Set the RequestQueueLimit property to 10240.
processModelSection.RequestQueueLimit = 10240;
' Get the current RequestQueueLimit property value.
Dim requestQueueLimit As Integer = _
processModelSection.RequestQueueLimit
' Set the RequestQueueLimit property to 10240.
processModelSection.RequestQueueLimit = 10240
설명
큐에서 허용되는 요청 수를 초과하면 ASP.NET 새 요청에 "503 - Server Too Busy" 오류를 반환하기 시작합니다. 이 제한에 도달하면 시스템이 비정상적인 조건에서 작동합니다. 이것은 오작동의 증상일 수도 있고, 높은 부하일 수도 있습니다. 작업자 프로세스를 다시 시작(반송)하는 것이 추가 문제를 방지하는 유일한 방법이 될 수 있습니다.