How to increase thread pools in Camunda?

We are working on Spring boot project with Camunda. After some time, processes are getting stuck in service task. So one of the reason which is mentioned as not enough threads. Could anyone tell how to increase thread pool?

@vineet_saxena thread pool can be configured for job executor like below:

https://docs.camunda.org/manual/7.13/reference/deployment-descriptors/tags/job-executor/

https://docs.camunda.org/manual/7.13/reference/deployment-descriptors/tags/job-executor/#job-executor-configuration-properties

<job-executor>
  <job-acquisition name="default">
    <properties>
      <property name="maxJobsPerAcquisition">5</property>
      <property name="waitTimeInMillis">8000</property>
      <property name="lockTimeInMillis">400000</property>
    </properties>
  </job-acquisition>
  <properties>
    <!-- Note: the following properties only take effect in a Tomcat environment -->
    <property name="queueSize">3</property>
    <property name="corePoolSize">5</property>
    <property name="maxPoolSize">10</property>
    <property name="keepAliveTime">0</property>
  </properties>
</job-executor>
1 Like