HTTP thread pool size

For HTTP listeners, the Maximum Threads property specifies the size of the thread pool used to run HTTP requests. This number can be less than the number of client connections. EAServer runs an HTTP requests > by pulling a thread from the pool to run the request. This happens when too many clients try to send requests at the same time. The default setting of -1 indicates that the thread pool size is the default of 256.

This setting does not apply to listeners for other network protocols.

If the thread pool is too small, you may see [SocketListener] LOW ON > THREADS errors in the log. To determine how many HTTP threads are required, check the request pattern in the request log for indications of a heavily loaded server. Adjust the maximum thread setting as necessary. Ideally, this setting should be 10 – 20% more than the number of simultaneous HTTP requests that you expect to handle. (The additional threads accommodate the use of threads in Web browsers to submit simultaneous requests for images and text). A value that is too low can increase HTTP response time by causing requests to block while waiting for a thread. A value that is too high wastes available threads that could be used for other purposes.