Increase the Jetty ThreadPool size in Karaf

Question

How to increase the Jetty ThreadPool size in Karaf?

 

Answer

Add the following lines to org.ops4j.pax.web.cfg, located under runtimecontainer/etc, and restart the runtime server:

 

org.ops4j.pax.web.server.maxThreads=<value>
org.ops4j.pax.web.server.minThreads=<value>

The values can be verified in JConsole.

Version history
Revision #:
9 of 9
Last update:
‎09-29-2018 12:11 AM
Updated by:
 
Labels (3)
Tags (2)