ThreadPool size in Karaf

0

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.