15.4 Tuning HTTP Request and Response Limits

To optimize the time that an Oracle Traffic Director instance spends in processing requests and responses, you can configure parameters such as the size of request and response headers, the number of allowed header fields in a request, and the time that Oracle Traffic Director waits to receive an HTTP request body and header.

You can view the change the HTTP request and response limits by using either the administration console or the CLI.

Viewing and Changing HTTP Request/Response Limits Using the Administration Console

  1. Log in to the administration console, as described in Section 2.3.2, "Accessing the Administration Console."

  2. Click the Configurations button that is situated at the upper left corner of the page.

    A list of the available configurations is displayed.

  3. Select the configuration that you want to modify.

  4. In the navigation pane, expand Advanced Settings and select HTTP.

    The HTTP Settings page is displayed.

  5. Go to the HTTP section on the page.

  6. Specify the parameters that you want to change.

    On-screen help and prompts are provided for all of the parameters.

    When you change the value in a field or tab out of a text field that you changed, the Save button near the upper right corner of the page is enabled.

    At any time, you can discard the changes by clicking the Reset button.

  7. After making the required changes, click Save.

    • A message, confirming that the updated configuration was saved, is displayed in the Console Messages pane.

    • In addition, the Deployment Pending message is displayed at the top of the main pane. You can either deploy the updated configuration immediately by clicking Deploy Changes, or you can do so later after making further changes as described in Section 4.3, "Deploying a Configuration."

Viewing and Changing HTTP Request/Response Limits Using the CLI

  • To view the current settings, run the get-keep-alive-prop command, as shown in the following example:

    tadm> get-http-prop --config=soa
    request-header-timeout=30
    request-body-timeout=-1
    etag=true
    io-timeout=30
    max-request-headers=64
    strict-request-headers=false
    version=HTTP/1.1
    discard-misquoted-cookies=true
    ecid=true
    favicon=true
    unchunk-timeout=60
    max-unchunk-size=8192
    output-buffer-size=8192
    request-header-buffer-size=8192
    
  • To change the request and response limits, run the set-http-prop command.

    For example to change the response buffer size, run the following command:

    tadm> set-http-prop --config=soa output-buffer-size=16384OTD-70201 Command 'set-http-prop' ran successfully.
    

    For the updated configuration to take effect, deploy it to the Oracle Traffic Director instances by using the deploy-config command.

For more information about the CLI commands mentioned in this section, see the Oracle Traffic Director Command-Line Reference or run the commands with the --help option.