AnsweredAssumed Answered

Configuring Job executor thread pool

Question asked by spark2 on Jun 5, 2014
Latest reply on Jun 17, 2014 by jbarrez
I see below variables in DefaultJobExecutor

  protected int queueSize = 3;
  protected int corePoolSize = 3;
  private int maxPoolSize = 10;


I am performing load testing on basic workflow (Start -> Java Service Task -> End)
The delegate class just prints System.out

It runs fine for 10-15 threads. but when i launch over 50 threads, it freezes forever and have to kill the process.
I believe this is due to thread pool configuration, But will do more test and probably run in JProfiler to find more.
For this test, I used Oracle Database with BoneCP

1) Is it possible to configure thread pool in activiti.cfg.xml
2) Is it possible to configure our own Thread pool implementation

Thanks

Outcomes