For optimal performance, particularly in larger deployments, PingFederate uses a non-blocking I/O model to process requests since version 8.0.1. As needed, administrators may fine-tune the queue size parameter, acceptQueueSize.

  1. Stop PingFederate.
  2. Edit the <pf_install>/pingfederate/etc/jetty-runtime.xml file.
    Consider making a backup copy of this file.
  3. Find the following section:
    <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. 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 element.
  5. When finished, save your changes and restart PingFederate.
  6. For a clustered PingFederate environment, repeat these steps on each engine node as needed.