Limiting concurrent executions on a single n8n instance

On a single non-queue n8n instance, the production concurrency limit holds excess executions in a queue so the event loop stays responsive. This page explains what gets queued, what bypasses the limit, how waiting work is ordered and how to confirm the behavior in logs.

On this page

When a single n8n instance needs a limit on concurrent executions

A production concurrency limit caps how many workflow executions one regular-mode n8n process runs at the same time, and holds the rest in a queue until a slot opens. Reach for it when one instance receives bursts of triggers, such as webhooks or scheduled runs that fire together, and shows signs of event loop stress: the editor responds slowly, webhook callers see delayed replies, or memory climbs during peaks. The setting is the N8N_CONCURRENCY_PRODUCTION_LIMIT environment variable. Before you rely on it, confirm the exact variable name, its default and which execution types it covers in the n8n version you run, using the n8n documentation for that release.

The limit protects the one process it runs in. By holding back simultaneous executions, it keeps the Node.js event loop and the memory of that process from being overwhelmed during a burst, so the instance stays responsive and does not fail under the spike. It does not protect everything else. It does not add capacity, it does not make a single heavy execution cheaper, and it does not shield the database, the external systems your workflows call, or the disk where binary data is stored. A workflow that loads a very large payload can still exhaust memory even with a limit in place. Test the setting with a realistic trigger burst and watch both the queue and the database during the test.

Queue mode is the separate route for scaling beyond one process. In queue mode, the main instance receives triggers and webhooks and passes executions through Redis to a pool of worker processes that read and write workflow data in PostgreSQL. If your measurements show that one machine cannot keep up even with a sensible limit, or you need work spread across hosts, plan the move to n8n queue mode and its extra components instead of raising the limit indefinitely. Document the limit value, the reason for it and the metric that triggered the review, so the next person can judge whether it still fits.

Production triggers wait at the gate when slots are full

The diagram starts at the webhook and schedule triggers, shown here as production runs. Each run reaches the concurrency gate, which checks it against the production limit. If a slot is free, the run enters the execution slots and proceeds to the workflow. If every slot is busy, the run waits in a holding queue and enters a slot in first-in, first-out order when one frees. Before you rely on this, confirm in the n8n docs for your version which other trigger types and manual runs pass through the gate, because the diagram shows only the two trigger types named here.

Production trigger runs pass a fixed set of slots, with overflow held in order.

Which concurrency settings fit which instance

This table compares the production concurrency limit, the execution settings near it and leaving the limit unset, with the waiting cost of each. Read each row against your trigger pattern and instance size, and confirm the variable names, accepted values and defaults in the configuration reference for your n8n version before you set any value.

OptionWhat it controls and its waiting costInstance it fits
Limit left unsetNo cap from this setting. Executions start as triggers fire, so bursts compete directly for CPU and memory on the main process.Test or lab instances with small, predictable load
Production limit setCaps concurrent production executions on the instance. Extra runs wait in first-in, first-out order, so latency rises during bursts.Single-instance deployments with bursty triggers where event loop protection matters most
Limit set too lowSame cap at a value below real demand. Queues grow, webhook callers may time out and scheduled runs start late.Deliberate throttling only, checked against logs after each change
Execution data retentionControls how much run history the database keeps, not how many runs execute at once. Adds no waiting, but large history slows queries and writes.Any instance, paired with a concurrency cap to keep the database responsive
Queue mode with workersMoves executions from the main process to worker processes through Redis. Concurrency is set per worker, and queued jobs wait in Redis.Growth beyond one process, or when the main instance must keep handling triggers
Multi-main high availabilityRuns several main instances for availability. It does not limit concurrency, and it is restricted to Enterprise self-hosted deployments.Enterprise self-hosted deployments with an availability requirement, alongside a cap if needed
Confirming scope of the capCheck which execution types count against the limit, such as manual runs, sub-workflow calls and webhook runs, in your version's reference.Any instance before you set a value, so expected waits match real behavior

What the limit queues and what it ignores

Production webhook calls are the traffic most teams worry about, because they come from outside your control and nobody is waiting on a screen. The limit caps how many production executions run at once, so a burst of webhook calls is where it is most likely to take effect. Confirm how your version responds when the cap is full, because the sender's experience depends on it.

  • Held by the limit: Production webhook executions count toward the cap and are the main traffic it governs.
  • Test traffic: Confirm whether requests to test webhook URLs are handled differently, since they are usually started from the editor.
  • What the caller sees: Test whether the HTTP response stays open until the execution starts or returns immediately while the execution waits. This affects timeouts at proxies and at the sending system.
  • What operators see: Look for waiting or queued entries in the executions list and for log lines written when executions are held.

Send a controlled burst of requests to a non-production workflow and record response times, status codes and the time each execution starts.

Setting the limit and confirming it in logs

This sequence records a baseline, applies the production limit, and uses a controlled burst to show that excess executions queue and start in arrival order. It ends with a log-based check and a rollback path if waiting grows beyond what the workflows tolerate.

  1. Record a baseline under typical load

    Before changing anything, record how the instance behaves under normal traffic. Note executions per minute, the time from trigger to first node, and event loop lag if your monitoring collects it. Identify the workflows that receive the most triggers and whether any of them call slow external services. This step is done when you have a saved snapshot or export covering a representative business period, so later comparisons use data from your own instance.

  2. Set the production limit in configuration

    Add the N8N_CONCURRENCY_PRODUCTION_LIMIT variable to the environment file or container configuration that starts the main process, using a value your baseline supports. Confirm the variable name and accepted values in the documentation for your n8n version before editing, since settings can change between releases. Keep a copy of the previous file so you can revert. This step is done when the change is committed in your configuration management and the value appears in the deployed file.

  3. Restart and verify startup

    Restart the n8n process through your service manager or container orchestrator so the new value is read at startup. Environment changes do not apply to a running process, so a restart is required. Check the startup log for warnings about the variable, then confirm the health endpoint responds. This step is done when the instance returns to normal operation and the startup output shows no configuration errors.

  4. Send a controlled burst of test triggers

    Trigger a burst of executions using a dedicated test workflow that resembles production work, ideally one that calls the same downstream systems. Keep the test off production data and size the burst to exceed the limit by a margin you choose. If your change window allows, run the burst once with the limit and once without it for comparison. This step is done when the burst completes and you have timestamps for the first and last triggers.

  5. Confirm queuing and release in logs

    Inspect the logs for entries showing executions waiting for a free slot and then starting. Log wording depends on the version, so raise the log level during the test, search for concurrency or capacity terms, and match what you find against the release notes for your version. Count the executions that reported waiting and confirm the active count never exceeded the limit. This step is done when queued executions are released in the order they arrived.

  6. Measure waiting time against tolerance

    Compare the time between trigger and start for each burst execution with the waiting tolerance your business owners set for each workflow. Use execution timestamps or monitoring metrics, and watch event loop lag on the main process during the burst. Write down a result per workflow showing whether queued executions start within tolerance. This step is done when every workflow has a recorded result, and any workflow with a hard deadline that waits too long is logged as a finding to resolve before go-live.

  7. Roll back if waiting exceeds tolerance

    If waiting time grows beyond what the workflows tolerate, restore the previous configuration file and restart the instance. Repeat the health check and a short burst to confirm the prior behavior. Then decide whether the fix is a higher limit, more capacity on the same host, or a different architecture such as queue mode, and confirm which options your version supports. This step is done when the instance runs with the prior settings, the health check passes, and the burst results are saved as evidence for the decision.

  8. Record the final settings and monitor

    Save the final limit value, the log messages you confirmed, the burst timings and the baseline comparison in your change record. Add a log search or alert for the queuing message so future spikes are visible to operators. Recheck the setting and the log wording after each n8n upgrade, because defaults and messages can change. This step is done when the change record names the owner, the limit value, and the n8n version tested.

How first-in, first-out order affects work that waits

When the concurrency limit is reached, held executions start in first-in, first-out order: the oldest waiting run starts first as a slot frees up. That makes ordering predictable, but it also means a burst of slow executions delays everything behind it, including cheap or time-sensitive runs that arrived later. Before you rely on this behavior, confirm the ordering guarantee in the n8n documentation for your version, and check whether it applies the same way to webhook-triggered, schedule-triggered and manually started executions. Do not assume the guarantee holds for every trigger type until you have verified it.

Webhook callers are the first to notice. If a caller waits on a synchronous response, a request held in the queue can exceed the caller's timeout while the execution still runs later on the server. The caller may then retry, and you end up with duplicate work. Confirm how held webhook requests behave, what the caller's timeout is, and whether a workflow returns a response before or after its heavy steps. Schedule runs have a similar problem: a backlog from an earlier burst can push a scheduled job past its intended window, so a nightly load may start after the morning's work has already arrived. Confirm whether scheduled runs wait in line or are skipped when the limit is full.

Order matters most when workflows depend on the sequence of side effects, such as one workflow creating a record that another updates. FIFO only preserves that sequence if events enter the queue in the right order, and retries or separate triggers can break it. Test with a staged burst: send a known set of events with recorded timestamps, then compare the order of arrival with the order of start and completion in your logs. Where order must hold, design the downstream steps to be idempotent so a late or repeated run does no harm.

Signs the limit is set too low or too high

Each card pairs a symptom with the signal that confirms it and the first step to take. Read them together, because a limit that is wrong in one direction can look like a different problem in the other. Check the signal before you change the value.

Limit too low: queues grow

Executions wait for a free slot while the server still has spare CPU and memory. The backlog keeps growing during peaks, webhook callers see slow responses or timeouts, and scheduled runs start late. Look for log lines reporting that executions are waiting for concurrency capacity, and confirm the exact wording in your version's logs. Compare queue depth at peak with the limit you set. First action: raise the limit in small steps while watching memory and event loop lag after each change.

Limit too high: event loop lag

Too many executions run at once and compete for the single Node.js event loop. The editor becomes slow, timers fire late and memory climbs during peaks. The limit does not cap memory on its own, so a high value lets heavy payloads stack up. Check event loop lag and memory trends in your monitoring, and open the editor during a peak to see whether it still responds. First action: lower the limit and identify the workflows that handle the largest payloads.

Limit hides a workflow bug

A workflow that waits on an unresponsive API, or loops without an exit condition, can hold slots for a long time. The limit then looks like the problem when the workflow is at fault. Signals include one workflow dominating the running executions list with durations far above its normal run, and the same workflow sitting at the front of each backlog. First action: find that workflow, add timeouts and error handling, and test it before you change the limit.

Limit masks the need for queue mode

The instance runs at its ceiling for most of the day, webhook callers time out even at moderate settings, and CPU and memory have no headroom left after tuning. Raising or lowering the limit only moves the bottleneck, because triggers, webhooks and executions still share one process. Check sustained utilization across peak windows, not single spikes. First action: plan queue mode with workers and a shared Redis broker, and keep the limit as a guard afterward. The Queue mode docs describe the architecture.

What buyers ask about limiting n8n concurrency

Is a concurrency limit enough for our n8n workload volume?

A concurrency limit protects one regular-mode instance from overload, but it does not add capacity. It caps how many production executions run at once, so it helps when bursts are the problem and the instance is otherwise sized for its normal work. If your steady-state volume already exceeds what one instance can process, the limit only moves the backlog into a queue. Before deciding, ask for a view of your execution history by hour, the share of executions triggered by webhooks versus schedules, and how often the instance becomes unresponsive today. Those three facts show whether the limit addresses the symptom or the cause. Capacity planning is a separate question that benchmarking and load testing answer.

Does the concurrency limit work when we run queue mode?

No. The N8N_CONCURRENCY_PRODUCTION_LIMIT setting applies to regular mode, where the main instance runs executions itself. In queue mode, the main instance hands executions to workers through Redis, and concurrency is controlled per worker and through the number of workers. Queue mode also brings Redis, a shared encryption key across processes and separate webhook handling, so it is a different architecture and a different scope of work. If your current deployment already uses queue mode or you expect to move to it, treat that decision as its own engagement before tuning concurrency. Confirm the current mode from your deployment configuration first.

How much effort does it take to set and verify the limit?

Setting the variable is a small configuration change. Verifying it is where the effort sits. The work includes choosing a value that fits your hardware and workflow mix, confirming that the setting takes effect after restart, checking that queued executions behave as expected, and confirming that log entries show the queue state you need to watch. Effort rises with the number of workflows that depend on timing, such as webhooks that callers expect to answer quickly. Ask any provider to state which tests they will run, what evidence they will return, and whether the tuning is repeated after your next n8n upgrade.

What drives the cost and duration of a first pass?

Cost follows scope, and scope follows four drivers: the number of workflows that run in production, the mix of trigger types (webhooks, schedules, polling and manual runs behave differently under load), the depth of monitoring already in place, and how many environments must be checked. A small instance with a documented workflow inventory and existing logs needs less discovery than a shared instance with undocumented workflows. Who is paid for what should be explicit in the quote: discovery and load profiling, configuration and change control, verification, and handover notes for your administrators. Ask for a written scope that lists these items and their deliverables, because a fixed scope is what makes the cost comparable with your internal estimate.

What must we provide before the work starts?

Three inputs make the first pass efficient. First, application logs from the period when the instance slowed down or failed, so the team can match overload events to workflows. Second, a workflow inventory listing each production workflow, its trigger type, its typical runtime and the systems it calls. Third, a load profile that shows execution counts by hour and by day, including peak periods such as month-end or batch windows. You should also provide the current deployment details, including how n8n is installed, the database in use and the reverse proxy settings. Missing inputs usually extend discovery, so confirm access to these sources before scheduling the engagement.

Can our own n8n administrators set and watch the limit?

Yes, if they have access to the instance configuration, its logs and a test environment that resembles production. The setting itself is simple, so the harder parts are judgment and discipline: selecting a value from observed load, testing the change against real workflow patterns, and deciding what to watch after go-live. Internal teams that already monitor n8n and keep a change log can usually manage this without outside help. Teams without a test environment, without log retention or without a clear owner for n8n changes should weigh the time cost of building those first. A short review with your administrators can show which group you fall into.

How do we confirm the limit is working in production?

Confirm it with logs and a controlled test, not with the setting alone. Check the instance logs after a restart for the configured value, then run a test that submits more production executions than the limit allows and observe how the extra executions wait. Executions run first in, first out, so the order of waiting work should match the order of arrival. Watch for entries showing that executions were delayed, errors that suggest event loop stalls, and whether webhook callers still receive timely responses. Record the results in your change log so that a later upgrade or workload change can be compared with a known baseline.

Security and operational considerations for a throttled instance

A concurrency limit protects the event loop, but it also changes how requests wait, retry and fail. The cards below cover the controls and checks that keep a throttled instance safe to operate, from webhook retries and log content to configuration change control and restart behavior.

Webhook retries during backlog

When executions queue behind the limit, callers that do not receive a timely response may retry the same webhook. Duplicate deliveries can trigger duplicate side effects such as double invoices or repeated notifications. Put idempotency keys in the workflow logic for every webhook that writes to another system, and confirm with each sending system how it retries and how long it waits for a response. Test the behavior by sending the same payload twice during a load test.

Payload data in logs

Execution logs and container output can capture request bodies, field values and error messages that contain personal or financial data. Before raising log verbosity to watch queued work, decide which fields may appear in output and who can read the log store. Confirm where container logs go in your environment, how long they are kept, and whether your log platform masks sensitive fields.

Access to the environment file

The concurrency limit is set through an environment variable, usually in a .env file or the container definition. Anyone who can edit that file can raise the limit and overload the host, or lower it and create a backlog. Restrict read and write access to the file, keep it out of version control, and confirm which service accounts and CI jobs can change it.

Change control for limit changes

Changing the limit is a capacity decision, not a cosmetic tweak. Record the current value, the reason for the change, the expected effect and the rollback value in your change system before editing it. Confirm who approves changes and whether a restart is needed to apply them, so the change follows the same review path as other production configuration.

Alerting on queue growth

A limit that holds work back is only safe if someone notices when the backlog grows. Set alerts on the number of waiting executions, on the age of the oldest waiting execution and on rising response times for webhooks. Confirm which metrics your monitoring stack can scrape from the instance and who receives the alert at night and on weekends.

Restarts and held executions

Executions waiting behind the limit live in the instance's memory until they start. A restart, crash or container replacement can lose work that had been accepted but not yet run, and a deployment may restart the process without warning. Before each release, check how your version handles in-flight and waiting executions, and confirm with your webhook senders whether a retry will arrive after a planned restart.

When a concurrency limit stops being enough

A concurrency limit tunes one regular-mode process, and it cannot add capacity beyond what that process and its host can carry. When executions keep stacking up even after the limit is set sensibly, or when the instance must stay up through a failure, the decision shifts to queue mode. In queue mode, the main instance handles triggers and webhooks and passes executions through Redis to a pool of workers, which read and write workflow data in PostgreSQL. You gain separate processes to scale and a broker that holds work, but you also add Redis, a shared PostgreSQL database and more machines to operate, monitor and patch.

Moving to queue mode has a security cost that many teams miss. The main instance's encryption key must be shared with every worker and webhook processor so they can decrypt credentials stored in the database, so each new node becomes a holder of that key and must be protected accordingly. High availability through multi-main setup is a separate question, because it is restricted to Enterprise self-hosted deployments and is not available in the Community edition or n8n Cloud. Confirm your license position with n8n before you design around multiple main instances, and check the n8n pricing page for current plan details.

The right choice depends on three things you should measure before deciding: your execution volume, your availability target for webhooks and scheduled runs, and what your license allows. If a single instance meets volume and availability with a tuned limit, keep it. If not, the sibling topics on webhook processors and on worker concurrency for the database explain the next steps, including how many workers and how large a PostgreSQL connection pool your load needs.

Limits to confirm in your environment

The concurrency limit only protects an instance if it behaves the way you expect in your exact n8n version, trigger mix and runtime setup. Each card below names one thing to verify and how to confirm it, starting with the configuration reference and release notes and ending with a staged test you run yourself.

Variable name and default

Confirm the exact spelling of N8N_CONCURRENCY_PRODUCTION_LIMIT and the value it takes when unset in the version you run. Check the environment variable reference for that release, then start the instance with the variable set to a low value and confirm the setting appears in startup output or logs. Do not copy a value from a forum post or an older guide, because defaults and names can change between versions.

n8n release notes

Trigger types covered

Find out which trigger types count against the limit. Test each one you plan to use, such as webhooks, schedule triggers, polling triggers and manual runs, by sending a burst of events and watching whether executions wait or start immediately. Record the results per trigger type, because a limit that covers scheduled runs may not cover webhook traffic in the same way.

Visibility of queued executions

Confirm how the instance reports executions that are waiting for a free slot. Check whether the log output names the queue, whether the execution list shows a waiting state and whether any metric exposes the count. If your monitoring depends on a signal that does not exist in your version, alerts will stay silent during overload, so decide the signal before go-live.

Process manager and container memory

Check how your process manager or container runtime restarts n8n and how much memory it allows. A limit that keeps the event loop responsive does not help if the container is killed for memory first, and a restart can discard executions that were waiting in the queue. Run a load test with the same memory ceiling and restart policy you will use in production, then watch for restarts and out-of-memory events.

Behavior changes between releases

Review the release notes for every version between your current release and your target release for changes to concurrency, queueing or execution ordering. Treat any change in default or ordering as a reason to repeat your staged test. Keep the version you tested pinned until the retest passes, and record which release each result belongs to.

Release notes

License edition and planned features

Confirm which features your license edition includes before you design around them. Queue mode, multi-main high availability and log streaming are tied to plan tiers, so a design that depends on one of them may not be buildable on the edition you hold. Ask n8n or your account contact to confirm the entitlements for your edition, and get that answer in writing before you commit to an architecture.

n8n pricing

How DeployOpen scopes and delivers n8n scaling work

DeployOpen approaches limiting concurrent executions on a single n8n instance as a scoped engineering change to a system you already run. We start from your workflows, your hosting and the load you actually see, then agree in writing what gets changed, tested and handed over before any configuration is touched.

How we scope

  • Inventory which workflows are CPU-heavy, long-running or triggered by bursts of webhook traffic on the instance
  • Confirm the instance runs in regular mode, the n8n version in use and the hosting model before choosing limits
  • Agree the written scope, deliverables and timeline in advance, with the concurrency value and its test plan named

How we build

  • Set N8N_CONCURRENCY_PRODUCTION_LIMIT in your environment configuration and record the reasoning behind the chosen value
  • Test under representative trigger bursts in a staging copy, checking queued executions, event loop lag and memory
  • Confirm which trigger types bypass the limit, such as manual runs, and document any workflows that need separate handling

How we hand over

  • Deliver the configuration change, the test results and a short runbook describing how the limit behaves in practice
  • Document the log lines to watch for queued executions and the thresholds that should prompt a review of the value
  • Walk your operators through the change so they can explain the FIFO queueing behavior to workflow owners

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, including retesting after n8n version changes
  • Review queue and log trends periodically to decide whether the limit still fits your workload or whether queue mode is the next step
  • Confirm with your team which support response arrangements apply, since these are set out in the retainer scope

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.