Edge for Private Cloud v4.18.05
Edge Router と Message Processor には、リクエスト/レスポンス ヘッダーのサイズと行のサイズに対する事前定義の上限があります。
Router の上限を構成する
Router の場合は、/opt/apigee/customer/application/router.properties
の次のプロパティを編集してデフォルト値を変更します。
# Request buffers # default: # conf_load_balancing_load.balancing.driver.large.header.buffers=8 16k # new value: conf_load_balancing_load.balancing.driver.large.header.buffers=8 32k # Response buffers # default: # conf_load_balancing_load.balancing.driver.proxy.buffer.size=64k # new value: conf_load_balancing_load.balancing.driver.proxy.buffer.size=128k
このファイルが存在しない場合は作成します。
conf_load_balancing_load.balancing.driver.large.header.buffers
の場合、最初のパラメータでバッファの数を指定し、2 番目のパラメータで各バッファのサイズを指定します。バッファは動的に割り当てられ、使用後に解放されます。これらの設定は、リクエスト ヘッダーが 1 KB を超えている場合にのみ使用されます。ヘッダー リクエストの URI が 1 KB 未満のリクエストの場合、サイズの大きいバッファも使用されません。
conf_load_balancing_load.balancing.driver.proxy.buffer.size
には、レスポンス バッファのサイズを指定します。
Edge Router は Nginx を使用して実装されます。これらのプロパティの詳細については、以下をご覧ください。
- conf_load_balancing_load.balancing.driver.large.header.buffers
- conf_load_balancing_load.balancing.driver.proxy.buffer.size
次のプロパティを変更してから Router を再起動する必要があります。
/opt/apigee/apigee-service/bin/apigee-service edge-router restart
Message Processor に関する上限の構成
バックエンド サービスへの送信リクエストを処理する Message Processor では、/opt/apigee/customer/application/message-processor.properties
の次のプロパティを編集して、デフォルト値を変更します。
conf/http.properties+HTTPRequest.line.limit=7k conf/http.properties+HTTPRequest.headers.limit=25k conf/http.properties+HTTPResponse.line.limit=2k conf/http.properties+HTTPResponse.headers.limit=25k
このファイルが存在しない場合は作成します。
次のプロパティを変更した後に、Message Processor を再起動する必要があります。
/opt/apigee/apigee-service/bin/apigee-service edge-message-processor restart