Configuring acceptor threads
Configure the pool of acceptor threads based on your environment.
About this task
PingAccess uses a pool of threads to respond to HTTP/S requests made to the TCP ports in use. This applies to both administrative and runtime engine listening ports. Acceptor threads read user requests from the administrative or runtime port and pass the requests to worker threads for processing. For performance, only one acceptor thread need be used in most situations. On larger multiple CPU core machines, more acceptors can be used.
To modify the pool of acceptor threads:
Steps
-
Open the
run.properties
file located in theconf
directory of your PingAccess deployment. -
Specify the number of acceptors you want to use on the following lines, where N represents the number of acceptor threads:
-
admin.acceptors=N
-
engine.http.acceptors=N
-
agent.http.acceptors=N
-