Hello everyone.
I’m facing this issue with flowable platform (files to reproduce in the end of this post). I run 10 instances of my process and usually only 2 are able to complete. The other 8 never complete and have different tasks that never execute. I’ve been trying to make this work for weeks…
I would appreciate very much if someone can help me with this.
For example, this process is stuck in the Task3:
And this othr one is stuck in the Task1:
The process has 5 timers and 5 HTTP tasks in parallel. The request is a simple POST to the request catcher API.
I start my environment is the following docker compose:
services:
flowable-db:
image: postgres
environment:
POSTGRES_PASSWORD: flowable
POSTGRES_USER: flowable
POSTGRES_DB: flowable
ports:
- 5432:5432
healthcheck:
test: curl --fail http://localhost || exit 1
interval: 60s
retries: 5
start_period: 20s
timeout: 10s
flowable-ui:
image: flowable/flowable-ui
depends_on:
- flowable-rest
ports:
- 8080:8080
environment:
SERVER_PORT: 8080
SPRING_DATASOURCE_DRIVER-CLASS-NAME: org.postgresql.Driver
SPRING_DATASOURCE_URL: jdbc:postgresql://flowable-db:5432/flowable
SPRING_DATASOURCE_USERNAME: flowable
SPRING_DATASOURCE_PASSWORD: flowable
SPRING_APPLICATION_NAME: flowable-ui
SERVER_SERVLET_CONTEXT_PATH: /flowable-ui
FLOWABLE_TASK_APP_REST-ENABLED: true
LOGGING_LEVEL_ROOT: "ERROR"
#LOGGING_LEVEL_ORG_FLOWABLE: "DEBUG"
MANAGEMENT_METRICS_EXPORT_STATSD_ENABLED: true
flowable-rest:
image: flowable/flowable-rest
depends_on:
- flowable-db
ports:
- 8081:8080
environment:
JAVA_OPTS: "-Xms1g -Xmx2g -Dflowable.job.executor.async.core.pool.size=64 -Dflowable.job.executor.async.max.pool.size=64 -Dflowable.job.executor.async.queue.size=128 -Dflowable.job.executor.async.keep.alive.seconds=360"
SPRING_DATASOURCE_DRIVER-CLASS-NAME: org.postgresql.Driver
SPRING_DATASOURCE_URL: jdbc:postgresql://flowable-db:5432/flowable
SPRING_DATASOURCE_USERNAME: flowable
SPRING_DATASOURCE_PASSWORD: flowable
SPRING_APPLICATION_NAME: flowable-rest
SERVER_SERVLET_CONTEXT_PATH: /flowable-rest
MANAGEMENT_ENDPOINTS_WEB_EXPOSURE_INCLUDE: "*"
FLOWABLE_COMMON_APP_IDM-ADMIN_USER: admin
FLOWABLE_COMMON_APP_IDM-ADMIN_PASSWORD: test
FLOWABLE_EXPERIMENTAL_DEBUGGER_ENABLED: true
FLOWABLE_TASK_APP_REST-ENABLED: true
FLOWABLE_PROCESS_ASYNC_EXECUTOR_ENABLED: true
FLOWABLE_CMMN_ASYNC_EXECUTOR_ENABLED: true
FLOWABLE_ASYNC-EXECUTOR-ACTIVATE: true
LOGGING_LEVEL_ROOT: "ERROR"
LOGGING_LEVEL_ORG_FLOWABLE: "DEBUG"
FLOWABLE_SCRIPTING_ENABLE_JAVASCRIPT: true
MANAGEMENT_METRICS_EXPORT_STATSD_ENABLED: true
healthcheck:
test: curl --fail http://localhost:8081/flowable-rest/actuator/health || exit 1
interval: 60s
retries: 5
start_period: 20s
timeout: 10s
The process definition and the docker file can be downloaded here: