One workflow took the whole server down
When one workflow runs out of memory, every flow on the server stops with it. Six checks for a shared install, from run limits to a written stop plan.

A restart is meant to be the last step. In two of the reports below, people restarted, and the problem came back.
When workflows share one installation, they share its memory and its processors. Most days, that is the point: one server, many flows, one bill. On a bad day, one flow takes more than its share, the process that runs everything stops, and every other flow stops with it. So there are two questions: how to make that less likely, and what you can still do while it happens.
Three reports from this year show how it looks from the inside.
Three reports of one load stopping everything
A slow leak from agent runs. A team that runs its own workflow server reported on the tool's issue tracker in October 2026 that their agent runs never closed their connections to MCP servers (Model Context Protocol servers, a common way to give an agent tools). The team had four workers and three agent workflows, each with three to five tool servers. About 3,250 open connections built up per day, each holding about 1 MiB of memory in the main process. The main process reached its 5 GiB memory limit in 25 to 40 hours and crashed. The team saw this twice. Restarting the workers freed memory on the main process for a while. The reporter traced the cause in the source code and ran their own fix on one of the four workers.
One task, and the whole instance answered 503. In October 2026, a user of a hosted workflow service reported on the vendor's community forum that running one specific task turned the whole instance off with a 503 error. Another user replied that a 503 with the whole instance down usually means that the main process crashed, most often because it ran out of memory on that one run. The vendor's support team wrote that the container could have been stopped after a burst of memory use, or because it reached its CPU cap. The report is one line long, and the user gave no further detail.
Switched off after repeated crashes. A user on a hosted plan reported on a forum in May 2026 that several of their workflows had failed that week with an error that named a possible out-of-memory issue. Nothing in the workflows had changed. A retry worked for some runs. The service switched two workflows off after repeated crashes, and the user had to switch them on again by hand each time. The user asked for a fix that did not need a larger plan.
In the same month, another user reported the case in this article's title: one workflow ran out of memory, the instance could not be reached for hours, a restart did not help because the workflow started again, and they found no way to switch off that one workflow from outside.
What the reports have in common
Of these four reports, three come from hosted plans and one from a team's own server. The pattern is the same. One load grew past what the shared process could hold. When the process stopped, every flow on it stopped. And the usual levers, the screen, the restart and the on/off switch, depended on the thing that was down.
On your own server, the limits are yours to set, and so is the plan for the bad day.
Six checks for one runaway flow on a shared install
These checks apply to any platform that runs workflows and agents, ours included. Where EpicStaff answers a check, the answer is under it.
1. Find out which limits apply to a single run
Ask what stops one run from taking all the memory or all the processor time: a time limit, a memory cap, a separate process. Then ask whether each cap belongs to one run or is shared by many. A cap shared by many runs is not the same as a cap per run. Whatever the platform gives you, set your own memory and CPU limits on each container of the install, so that a runaway process stops before the host does.
In EpicStaff: By default, each Python step runs as its own process, and all Python steps share one 2 GB memory cap. Each Python code has its own time limit: 5 minutes by default, up to an operator maximum of 30 minutes by default. The sandbox starts new code runs while the server has room (below 85% CPU and 80% memory by default; both can be changed), up to a set maximum. Other runs wait in a queue for up to 2 minutes by default.
2. Know how many runs can go at once
A limit on runs at the same time keeps a burst of work from starting all at once. Find the number. Find out whether it counts per flow or across the install, and what happens to a run above it: does it wait, or is it refused? Then size your container limits for that number of your heaviest runs, not your average ones. For how to size the number of runs at the same time, see How much load can it take? Runs at the same time.
In EpicStaff: By default, at most 25 flow runs and 10 agent runs run at the same time across the install, and extra runs wait in a queue.
3. Stop one flow's runs while the rest keep going
In an incident, you want to stop one flow and leave the others alone. Check what you can stop: a single run, every run of one flow, or one trigger. Then check whether you can switch off one trigger while the others keep running, for each kind of trigger you use: schedules, webhooks, chat channels.
In EpicStaff: A user can stop a run in the UI. A schedule trigger has an on/off switch in the UI and the API.
4. Plan for the moment the screen does not load
In the reports above, the web interface could not be reached while the server was overloaded. Write down, before you need it, what you will do without it: which API call stops a run, where the API key for it is kept, and who may use it. For why one key that opens everything is a risk of its own, see One key, every client: the quiet risk inside your automation server.
For triggers that come from outside, decide where you stop the calls when the platform cannot: at the system that sends them, or at the gateway in front of the server. Last, write down how to stop the whole service cleanly on the host.
In EpicStaff: A user can also stop a run by API, with an API key, while the API is up.
5. Know what starts again after a restart
A restart clears memory. It does not clear the cause. If the flow that filled the memory starts again by itself, from a schedule, a queue or a retry, the restart buys minutes. Find out what comes back after a restart: unfinished runs, queued runs, schedules, webhooks. For what a run keeps when the server stops, see The server will fail. What matters is what survives it..
Then put one step into your written procedure: switch off the trigger of the flow that caused the problem, through the API if it still answers, or as the first act after the restart.
In EpicStaff: After a restart, once the services are running again, schedules and webhooks work for new events, and unfinished runs do not come back.
6. Test with a large input before go-live
Most memory problems appear only at real volume. Copy your heaviest flow to a test install with the same container limits, and give it ten times its normal input: more rows, longer documents, more tool calls. Watch the memory of each container while it runs, and note where it stops. For how to test the rest of a workflow, see You cannot test an AI agent like normal code. You can test most of the workflow.
For agent flows, also run many in a row. In the first report, each run left a little behind, and the crash came only after a day or more.
One page to write this week
A stop plan written during an outage is written under the worst conditions: no screen, people waiting, and the cause still unknown. Write it now, on one page that does not live on the server it describes:
- the heaviest flows, and the trigger of each;
- how to switch off each trigger, with the screen and without it;
- where the API key for an emergency stop is kept, and who may use it;
- the memory and CPU limits on each container;
- what starts again after a restart, and what to switch off first.
Then ask someone who did not write the page to follow it once, on a test install. Where they stop to ask a question, the page has a gap. For what else belongs to running your own stack, see Self-hosted AI: how to own your AI stack.
Q&A
Why does one workflow bring down every other workflow on the server?
Because they share the same server, and often the same process. When one run uses up the memory, the system stops that process, and every run inside it stops too. Separate containers with their own limits, a cap on runs at the same time and a test with large input before go-live make it less likely.
How do I stop a workflow when the automation server will not load?
Use a way in that does not need the screen: the platform's API, if it still answers, the system that sends the calls, or the gateway in front of the server. If none of these works, stop the service on the host. Switch off the flow's trigger as the first act after the restart, and only then look for the cause.
How much memory does a self-hosted workflow server need?
There is no general number. Measure it: run your heaviest flow with a large input, note the peak memory of each container, and add room for the other runs that can go at the same time. Measure again when a flow, a model or the size of the input changes.
What happens to EpicStaff runs and schedules after a restart?
After a restart, once the services are running again, schedules and webhooks work for new events, and unfinished runs do not come back. A schedule trigger has an on/off switch in the UI and the API.
