How i can solve my queue mode limit 6 concurrency?

Describe the problem/error/question

Hi, i want my workflow run 15 or 30times in a same time, but it always only run 6 in a same time, how i can check and solve this problem?

Share the output returned by the last node

jesse@JessedeMac-mini baijia_N8N_Workflow % docker compose logs n8n_worker_1
no such service: n8n_worker_1
jesse@JessedeMac-mini baijia_N8N_Workflow % docker compose logs n8n_worker_2
no such service: n8n_worker_2
jesse@JessedeMac-mini baijia_N8N_Workflow % docker compose logs n8n_worker_3
no such service: n8n_worker_3
jesse@JessedeMac-mini baijia_N8N_Workflow % docker compose logs n8n-worker-3
n8n_worker_3 | Permissions 0644 for n8n settings file /home/node/.n8n/config are too wide. This is ignored for now, but in the future n8n will attempt to change the permissions automatically. To automatically enforce correct permissions now set N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true (recommended), or turn this check off set N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=false.
n8n_worker_3 | Last session crashed
n8n_worker_3 |
n8n_worker_3 | There are deprecations related to your environment variables. Please take the recommended actions to update your configuration:
n8n_worker_3 | - N8N_RUNNERS_ENABLED → Running n8n without task runners is deprecated. Task runners will be turned on by default in a future version. Please set N8N_RUNNERS_ENABLED=true to enable task runners now and avoid potential issues in the future. Learn more:
n8n_worker_3 | - N8N_BLOCK_ENV_ACCESS_IN_NODE → The default value of N8N_BLOCK_ENV_ACCESS_IN_NODE will be changed from false to true in a future version. If you need to access environment variables from the Code Node or from expressions, please set N8N_BLOCK_ENV_ACCESS_IN_NODE=false. Learn more:
n8n_worker_3 |
n8n_worker_3 | [license SDK] Skipping renewal on init: renewOnInit is disabled in config
n8n_worker_3 | [license SDK] Skipping renewal on init: autoRenewEnabled is disabled in config
n8n_worker_3 | [license SDK] Skipping renewal on init: license cert is not due for renewal
n8n_worker_3 | Currently active workflows:
n8n_worker_3 | - baijia (ID: wwwMvcYu13a5Ixdy)
n8n_worker_3 |
n8n_worker_3 | n8n worker is now ready
n8n_worker_3 | * Version: 1.112.4
n8n_worker_3 | * Concurrency: 10
n8n_worker_3 |
n8n_worker_3 | [license SDK] Skipping renewal on init: renewOnInit is disabled in config
n8n_worker_3 | [license SDK] Skipping renewal on init: autoRenewEnabled is disabled in config
n8n_worker_3 | [license SDK] Skipping renewal on init: license cert is not due for renewal
n8n_worker_3 | Worker started execution 301 (job 301)
n8n_worker_3 | Worker started execution 302 (job 302)
n8n_worker_3 | Worker started execution 306 (job 306)
n8n_worker_3 | Worker finished execution 301 (job 301)
n8n_worker_3 | Worker started execution 309 (job 309)
n8n_worker_3 | Worker finished execution 306 (job 306)
n8n_worker_3 | Worker finished execution 302 (job 302)
n8n_worker_3 | Worker finished execution 309 (job 309)
jesse@JessedeMac-mini baijia_N8N_Workflow % docker compose logs n8n-worker-1
n8n_worker_1 | Permissions 0644 for n8n settings file /home/node/.n8n/config are too wide. This is ignored for now, but in the future n8n will attempt to change the permissions automatically. To automatically enforce correct permissions now set N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true (recommended), or turn this check off set N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=false.
n8n_worker_1 | Last session crashed
n8n_worker_1 |
n8n_worker_1 | There are deprecations related to your environment variables. Please take the recommended actions to update your configuration:
n8n_worker_1 | - N8N_RUNNERS_ENABLED → Running n8n without task runners is deprecated. Task runners will be turned on by default in a future version. Please set N8N_RUNNERS_ENABLED=true to enable task runners now and avoid potential issues in the future. Learn more:
n8n_worker_1 | - N8N_BLOCK_ENV_ACCESS_IN_NODE → The default value of N8N_BLOCK_ENV_ACCESS_IN_NODE will be changed from false to true in a future version. If you need to access environment variables from the Code Node or from expressions, please set N8N_BLOCK_ENV_ACCESS_IN_NODE=false. Learn more:
n8n_worker_1 |
n8n_worker_1 | [license SDK] Skipping renewal on init: renewOnInit is disabled in config
n8n_worker_1 | [license SDK] Skipping renewal on init: autoRenewEnabled is disabled in config
n8n_worker_1 | [license SDK] Skipping renewal on init: license cert is not due for renewal
n8n_worker_1 | Currently active workflows:
n8n_worker_1 | - baijia (ID: wwwMvcYu13a5Ixdy)
n8n_worker_1 |
n8n_worker_1 | n8n worker is now ready
n8n_worker_1 | * Version: 1.112.4
n8n_worker_1 | * Concurrency: 10
n8n_worker_1 |
n8n_worker_1 | [license SDK] Skipping renewal on init: renewOnInit is disabled in config
n8n_worker_1 | [license SDK] Skipping renewal on init: autoRenewEnabled is disabled in config
n8n_worker_1 | [license SDK] Skipping renewal on init: license cert is not due for renewal
n8n_worker_1 | Worker started execution 297 (job 297)
n8n_worker_1 | Worker started execution 298 (job 298)
n8n_worker_1 | Worker started execution 299 (job 299)
n8n_worker_1 | Worker finished execution 298 (job 298)
n8n_worker_1 | Worker started execution 304 (job 304)
n8n_worker_1 | Worker finished execution 299 (job 299)
n8n_worker_1 | Worker finished execution 297 (job 297)
n8n_worker_1 | Worker started execution 308 (job 308)
n8n_worker_1 | Worker finished execution 304 (job 304)
n8n_worker_1 | Worker finished execution 308 (job 308)
jesse@JessedeMac-mini baijia_N8N_Workflow % docker compose logs n8n-worker-2
n8n_worker_2 | Permissions 0644 for n8n settings file /home/node/.n8n/config are too wide. This is ignored for now, but in the future n8n will attempt to change the permissions automatically. To automatically enforce correct permissions now set N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true (recommended), or turn this check off set N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=false.
n8n_worker_2 |
n8n_worker_2 | There are deprecations related to your environment variables. Please take the recommended actions to update your configuration:
n8n_worker_2 | - N8N_RUNNERS_ENABLED → Running n8n without task runners is deprecated. Task runners will be turned on by default in a future version. Please set N8N_RUNNERS_ENABLED=true to enable task runners now and avoid potential issues in the future. Learn more:
n8n_worker_2 | - N8N_BLOCK_ENV_ACCESS_IN_NODE → The default value of N8N_BLOCK_ENV_ACCESS_IN_NODE will be changed from false to true in a future version. If you need to access environment variables from the Code Node or from expressions, please set N8N_BLOCK_ENV_ACCESS_IN_NODE=false. Learn more:
n8n_worker_2 |
n8n_worker_2 | [license SDK] Skipping renewal on init: renewOnInit is disabled in config
n8n_worker_2 | [license SDK] Skipping renewal on init: autoRenewEnabled is disabled in config
n8n_worker_2 | [license SDK] Skipping renewal on init: license cert is not due for renewal
n8n_worker_2 | Currently active workflows:
n8n_worker_2 | - baijia (ID: wwwMvcYu13a5Ixdy)
n8n_worker_2 |
n8n_worker_2 | n8n worker is now ready
n8n_worker_2 | * Version: 1.112.4
n8n_worker_2 | * Concurrency: 10
n8n_worker_2 |
n8n_worker_2 | [license SDK] Skipping renewal on init: renewOnInit is disabled in config
n8n_worker_2 | [license SDK] Skipping renewal on init: autoRenewEnabled is disabled in config
n8n_worker_2 | [license SDK] Skipping renewal on init: license cert is not due for renewal
n8n_worker_2 | Worker started execution 296 (job 296)
n8n_worker_2 | Worker started execution 300 (job 300)
n8n_worker_2 | Worker finished execution 296 (job 296)
n8n_worker_2 | Worker started execution 303 (job 303)
n8n_worker_2 | Worker started execution 305 (job 305)
n8n_worker_2 | Worker finished execution 300 (job 300)
n8n_worker_2 | Worker started execution 307 (job 307)
n8n_worker_2 | Worker finished execution 303 (job 303)
n8n_worker_2 | Worker finished execution 305 (job 305)
n8n_worker_2 | Worker finished execution 307 (job 307)
jesse@JessedeMac-mini baijia_N8N_Workflow % docker compose logs n8n-worker-3
n8n_worker_3 | Permissions 0644 for n8n settings file /home/node/.n8n/config are too wide. This is ignored for now, but in the future n8n will attempt to change the permissions automatically. To automatically enforce correct permissions now set N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true (recommended), or turn this check off set N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=false.
n8n_worker_3 | Last session crashed
n8n_worker_3 |
n8n_worker_3 | There are deprecations related to your environment variables. Please take the recommended actions to update your configuration:
n8n_worker_3 | - N8N_RUNNERS_ENABLED → Running n8n without task runners is deprecated. Task runners will be turned on by default in a future version. Please set N8N_RUNNERS_ENABLED=true to enable task runners now and avoid potential issues in the future. Learn more:
n8n_worker_3 | - N8N_BLOCK_ENV_ACCESS_IN_NODE → The default value of N8N_BLOCK_ENV_ACCESS_IN_NODE will be changed from false to true in a future version. If you need to access environment variables from the Code Node or from expressions, please set N8N_BLOCK_ENV_ACCESS_IN_NODE=false. Learn more:
n8n_worker_3 |
n8n_worker_3 | [license SDK] Skipping renewal on init: renewOnInit is disabled in config
n8n_worker_3 | [license SDK] Skipping renewal on init: autoRenewEnabled is disabled in config
n8n_worker_3 | [license SDK] Skipping renewal on init: license cert is not due for renewal
n8n_worker_3 | Currently active workflows:
n8n_worker_3 | - baijia (ID: wwwMvcYu13a5Ixdy)
n8n_worker_3 |
n8n_worker_3 | n8n worker is now ready
n8n_worker_3 | * Version: 1.112.4
n8n_worker_3 | * Concurrency: 10
n8n_worker_3 |
n8n_worker_3 | [license SDK] Skipping renewal on init: renewOnInit is disabled in config
n8n_worker_3 | [license SDK] Skipping renewal on init: autoRenewEnabled is disabled in config
n8n_worker_3 | [license SDK] Skipping renewal on init: license cert is not due for renewal
n8n_worker_3 | Worker started execution 301 (job 301)
n8n_worker_3 | Worker started execution 302 (job 302)
n8n_worker_3 | Worker started execution 306 (job 306)
n8n_worker_3 | Worker finished execution 301 (job 301)
n8n_worker_3 | Worker started execution 309 (job 309)
n8n_worker_3 | Worker finished execution 306 (job 306)
n8n_worker_3 | Worker finished execution 302 (job 302)
n8n_worker_3 | Worker finished execution 309 (job 309)
jesse@JessedeMac-mini baijia_N8N_Workflow % jesse@JessedeMac-mini baijia_N8N_Workflow % docker compose logs n8n-main
n8n_main | Permissions 0644 for n8n settings file /home/node/.n8n/config are too wide. This is ignored for now, but in the future n8n will attempt to change the permissions automatically. To automatically enforce correct permissions now set N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true (recommended), or turn this check off set N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=false.
n8n_main | Last session crashed
n8n_main | Initializing n8n process
n8n_main | n8n ready on ::, port 5678
n8n_main |
n8n_main | There are deprecations related to your environment variables. Please take the recommended actions to update your configuration:
n8n_main | - N8N_RUNNERS_ENABLED → Running n8n without task runners is deprecated. Task runners will be turned on by default in a future version. Please set N8N_RUNNERS_ENABLED=true to enable task runners now and avoid potential issues in the future. Learn more:
n8n_main | - N8N_BLOCK_ENV_ACCESS_IN_NODE → The default value of N8N_BLOCK_ENV_ACCESS_IN_NODE will be changed from false to true in a future version. If you need to access environment variables from the Code Node or from expressions, please set N8N_BLOCK_ENV_ACCESS_IN_NODE=false. Learn more:
n8n_main |
n8n_main | [license SDK] Skipping renewal on init: license cert is not due for renewal
n8n_main | Version: 1.112.4
n8n_main | Start Active Workflows:
n8n_main | Activated workflow “baijia” (ID: wwwMvcYu13a5Ixdy)
n8n_main |
n8n_main | Editor is now accessible via:
n8n_main |
n8n_main | (node:7) [DEP0060] DeprecationWarning: The util._extend API is deprecated. Please use Object.assign() instead.
n8n_main | (Use node --trace-deprecation ... to show where the warning was created)
n8n_main | [license SDK] license successfully renewed
n8n_main | Enqueued execution 296 (job 296)
n8n_main | Enqueued execution 297 (job 297)
n8n_main | Enqueued execution 298 (job 298)
n8n_main | Enqueued execution 299 (job 299)
n8n_main | Enqueued execution 300 (job 300)
n8n_main | Enqueued execution 301 (job 301)
n8n_main | Execution 296 (job 296) finished successfully
n8n_main | Enqueued execution 302 (job 302)
n8n_main | Enqueued execution 303 (job 303)
n8n_main | Execution 298 (job 298) finished successfully
n8n_main | Enqueued execution 304 (job 304)
n8n_main | Execution 299 (job 299) finished successfully
n8n_main | Enqueued execution 305 (job 305)
n8n_main | Execution 300 (job 300) finished successfully
n8n_main | Enqueued execution 306 (job 306)
n8n_main | Execution 297 (job 297) finished successfully
n8n_main | Enqueued execution 307 (job 307)
n8n_main | Execution 301 (job 301) finished successfully
n8n_main | Enqueued execution 308 (job 308)
n8n_main | Execution 303 (job 303) finished successfully
n8n_main | Enqueued execution 309 (job 309)
n8n_main | Execution 304 (job 304) finished successfully
n8n_main | Execution 306 (job 306) finished successfully
n8n_main | Execution 305 (job 305) finished successfully
n8n_main | Execution 302 (job 302) finished successfully
n8n_main | Execution 307 (job 307) finished successfully
n8n_main | Execution 308 (job 308) finished successfully
n8n_main | Execution 309 (job 309) finished successfully

Information on your n8n setup

  • **n8n version:**1.112.4
  • Database (default: SQLite):postgres 16
  • n8n EXECUTIONS_PROCESS setting (default: own, main): main and 3workers, queue mode
  • Running n8n via (Docker, npm, n8n cloud, desktop app):docker desktop for mac
  • Operating system:macos M4 chip 16GB ram

Hey @Jesse_Long hope all is well. Welcome to the community.

From the output your concurrency is set for 10, which appears to be the default value.
Setting the values related to concurrency explained here:

and

1 Like

Hey @Jesse_Long :waving_hand:

I’m a bit skeptical about your perception on the issue. I think the fact that you only see 6 executions at the same time usually means the “Postgres + queue mode setup” is not distributing jobs as expected, not that your concurrency is stuck at 6.

In your logs you mention n8n_worker_1, n8n_worker_2, etc., but some docker compose logs calls said “no such service”. That suggests not all your workers are up or named correctly in your docker-compose.yml. If you want 30 parallel runs, you must have 3 workers actually running at the same time.

Besides, the default concurrency is 10 per worker, controlled by the env var:

N8N_CONCURRENCY_PROCESSES=10

If you want higher (say 15 or 30 per worker), set this in each worker service in docker-compose.yml.

Let me know if this could help. :eyes:

Hi Jabbson,

Thanks for your comment, i checked 2urls, and seems my setup is correct.

.env:

POSTGRES_DB=n8n
POSTGRES_USER=n8n
POSTGRES_PASSWORD=password
N8N_PORT=5678
N8N_TIMEZONE=Asia/Shanghai
N8N_ENCRYPTION_KEY=password

docker-compose.yml:

services:
postgres:
image: postgres:16.1
container_name: n8n_postgres
restart: always
environment:

  • POSTGRES_USER=${POSTGRES_USER}
  • POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
  • POSTGRES_DB=${POSTGRES_DB}
    volumes:
  • postgres_data:/var/lib/postgresql/data
    healthcheck:
    test: [“CMD-SHELL”, “pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}”]
    interval: 5s
    timeout: 5s
    retries: 10

redis:
image: redis:7-alpine
container_name: n8n_redis
restart: always
ports:

  • “6379:6379”
    volumes:
  • redis_data:/data

n8n-main:
image: docker.n8n.io/n8nio/n8n:latest
container_name: n8n_main
restart: always
ports:

  • “${N8N_PORT}:5678”
    environment:
  • DB_TYPE=postgresdb
  • DB_POSTGRESDB_HOST=postgres
  • DB_POSTGRESDB_PORT=5432
  • DB_POSTGRESDB_DATABASE=${POSTGRES_DB}
  • DB_POSTGRESDB_USER=${POSTGRES_USER}
  • DB_POSTGRESDB_PASSWORD=${POSTGRES_PASSWORD}
  • DB_POSTGRESDB_POOL_SIZE=30
  • GENERIC_TIMEZONE=${N8N_TIMEZONE}
  • N8N_SECURE_COOKIE=false
  • WEBHOOK_URL=http://192.168.5.56:${N8N_PORT}
  • N8N_ENCRYPTION_KEY=${N8N_ENCRYPTION_KEY}
  • EXECUTIONS_MODE=queue
  • QUEUE_BULL_REDIS_HOST=redis
  • QUEUE_BULL_REDIS_PORT=6379
  • OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS=true
  • N8N_RUNNERS_ENABLED=true
    volumes:
  • .n8n_data:/home/node/.n8n
  • ./baijia_story:/files
    depends_on:
    postgres:
    condition: service_healthy
    redis:
    condition: service_started

n8n-worker-1:
image: docker.n8n.io/n8nio/n8n:latest
container_name: n8n_worker_1
command: worker --concurrency=10
environment:

  • DB_TYPE=postgresdb
  • DB_POSTGRESDB_HOST=postgres
  • DB_POSTGRESDB_PORT=5432
  • DB_POSTGRESDB_DATABASE=${POSTGRES_DB}
  • DB_POSTGRESDB_USER=${POSTGRES_USER}
  • DB_POSTGRESDB_PASSWORD=${POSTGRES_PASSWORD}
  • GENERIC_TIMEZONE=${N8N_TIMEZONE}
  • N8N_ENCRYPTION_KEY=${N8N_ENCRYPTION_KEY}
  • EXECUTIONS_MODE=queue
  • QUEUE_BULL_REDIS_HOST=redis
  • QUEUE_BULL_REDIS_PORT=6379
  • N8N_RUNNERS_ENABLED=true
    depends_on:
  • postgres
  • redis
    volumes:
  • .n8n_data:/home/node/.n8n
  • ./baijia_story:/files

n8n-worker-2:
image: docker.n8n.io/n8nio/n8n:latest
container_name: n8n_worker_2
command: worker --concurrency=10
environment:

  • DB_TYPE=postgresdb
  • DB_POSTGRESDB_HOST=postgres
  • DB_POSTGRESDB_PORT=5432
  • DB_POSTGRESDB_DATABASE=${POSTGRES_DB}
  • DB_POSTGRESDB_USER=${POSTGRES_USER}
  • DB_POSTGRESDB_PASSWORD=${POSTGRES_PASSWORD}
  • GENERIC_TIMEZONE=${N8N_TIMEZONE}
  • N8N_ENCRYPTION_KEY=${N8N_ENCRYPTION_KEY}
  • EXECUTIONS_MODE=queue
  • QUEUE_BULL_REDIS_HOST=redis
  • QUEUE_BULL_REDIS_PORT=6379
  • N8N_RUNNERS_ENABLED=true
    depends_on:
  • postgres
  • redis
    volumes:
  • .n8n_data:/home/node/.n8n
  • ./baijia_story:/files

n8n-worker-3:
image: docker.n8n.io/n8nio/n8n:latest
container_name: n8n_worker_3
command: worker --concurrency=10
environment:

  • DB_TYPE=postgresdb
  • DB_POSTGRESDB_HOST=postgres
  • DB_POSTGRESDB_PORT=5432
  • DB_POSTGRESDB_DATABASE=${POSTGRES_DB}
  • DB_POSTGRESDB_USER=${POSTGRES_USER}
  • DB_POSTGRESDB_PASSWORD=${POSTGRES_PASSWORD}
  • GENERIC_TIMEZONE=${N8N_TIMEZONE}
  • N8N_ENCRYPTION_KEY=${N8N_ENCRYPTION_KEY}
  • EXECUTIONS_MODE=queue
  • QUEUE_BULL_REDIS_HOST=redis
  • QUEUE_BULL_REDIS_PORT=6379
  • N8N_RUNNERS_ENABLED=true
    depends_on:
  • postgres
  • redis
    volumes:
  • .n8n_data:/home/node/.n8n
  • ./baijia_story:/files

volumes:
postgres_data:
n8n_data:
redis_data:

just use terminal and “docker compose up -d” to run
i paste my documents above, and hope you have time to take a look.

thank you very much

Hi Emperial,

Thanks for your comment.

I do have 3 workers, and i set the concurrency to 10.

not sure why it always only can run 6 jobs in the same time.:sob:

Finally i found the problem, it’s the browser, i am using html code to send request.

1 Like

Oh glad to hear that. :raising_hands:t2:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.