Tuning the acceptor queue size - PingFederate - 10.3

PingFederate Server

bundle
pingfederate-103
ft:publication_title
PingFederate Server
Product_Version_ce
PingFederate 10.3
category
Product
pf-103
pingfederate
ContentType_ce

For optimal performance, particularly in larger deployments, PingFederate uses a non-blocking I/O model to process requests. Follow these steps to adjust the queue size parameter for your environment needs.

As needed, administrators can fine-tune the queue size parameter, acceptQueueSize. If the queue reaches its maximum size, additional requests will receive a connection refused error. If this occurs in your environment, you can increase the value of the acceptQueueSize parameter.

  1. Stop PingFederate.
  2. Edit the <pf_install>/pingfederate/etc/jetty-runtime.xml file.
    Tip:

    Consider making a backup copy of this file.

  3. Go to the following section, and change the acceptQueueSize as needed.
    <Call id="httpsPrimaryConnector" name="addConnector">
      <Arg>
        <New class="com.pingidentity.appserver.jetty.server.connector.ServerConnector">
          <Arg name="server"><Ref refid="RuntimeServer" /></Arg>
          <Arg name="acceptors" type="int"><Property name="ssl.acceptors" default="0"/></Arg>
          ...
          <Set name="acceptQueueSize">512</Set>
        </New>
      </Arg>
    </Call>
  4. When finished, save your changes and restart PingFederate.
  5. For a clustered PingFederate environment, repeat these steps on each engine node as needed.