ProcessModelSection.RequestQueueLimit 속성

정의

큐에 허용되는 요청의 수를 나타내는 값을 가져오거나 설정할 수 있습니다.

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

속성 값

Int32

큐에 대기하도록 허용된 요청의 수입니다. 기본값은 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 - 서버 너무 사용 중" 오류를 반환하기 시작합니다. 이 한도 도달 하면 시스템이 비정상적인 상태로 작동 합니다. 이 오작동으로 이루어졌다는 징후가 될 수도, 과부하가 높은 로드 합니다. 다시 시작 (바운스) 작업자 프로세스 문제를 방지 하는 유일한 방법은 될 수 있습니다.

적용 대상