Adjust Jetty Thread Settings

To change the Jetty thread pool settings, add the following excerpt to your project's conf/ file:

# Jetty maxThreads (default 200)
# Jetty minThreads (default 8)
# Jetty idle-thread timeout milliseconds (default 60000)

To override these defaults, set a corresponding OPENIDM_OPTS variable when you start IDM. For example:

export OPENIDM_OPTS="-Xmx1024m -Xms1024m -Dorg.ops4j.pax.web.server.maxThreads=768"
Executing ./
Using OPENIDM_HOME:   /path/to/openidm
Using PROJECT_HOME:   /path/to/openidm
Using OPENIDM_OPTS:   -Xmx1024m -Xms1024m -Dorg.ops4j.pax.web.server.maxThreads=768
Using LOGGING_CONFIG: -Djava.util.logging.config.file=/path/to/openidm/conf/
-> OpenIDM version "7.1.6" (revision: unknown)
OpenIDM ready


You cannot use property substitution to set these properties.

You cannot adjust Jetty's thread settings in the conf/jetty.xml file. If you uncomment the excerpt of jetty.xml that starts with <!--<Arg name="threadpool">..., you'll see errors in the IDM log.

Read a different version of :