Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 29 Nov 2026. What's built · Install 0.6.0
jadpo
ReferenceErrors

ErrorsTools · rule

cli.signal_handler_failed

On this page

SIGTERM and ctrl-c couldn't be watched, so jadpo dev runs without them, and a signal ends it at once.

Area 14, Tools; not declinable; the next step is usually the human's.

Why Jadpo refuses it

jadpo dev watches SIGTERM and ctrl-c so that stopping it is clean: the server finishes the requests it has, and its background work gives back what it holds, so the next session runs that work straight away. Watching them needs a thread and a file descriptor of the process's own, and when the process can't have either, as when it has every file descriptor its limit allows open, the signals go unwatched.

Jadpo still starts the app, since you can work with it all the same, and says so once, as it starts. Without the signals, ctrl-c or SIGTERM ends jadpo dev at once: a delivery, a batch run or a schedule's run that was under way keeps its lease until the lease ends, and a tick runs it again after that. Whether to carry on like that, or restart where the signals can be watched, is yours to decide.

What it looks like

A project whose app has a schedule:

domains/news/schedules/morning_digest.jadpo:

example
use news/actions { send_digest }/// Sends the digest every morning.schedule morning_digest {    every: 1d    run: send_digest()}

The signals can be watched on any machine with file descriptors to spare, so this output is copied rather than checked. It is jadpo dev on a Mac, started from a shell whose open-file limit its other programs had used up:

shell
jadpo dev
output
jadpo dev, started 09:12:03error: SIGTERM and ctrl-c can't be watched, so `jadpo dev` runs without them  reason: Watching them failed: Too many open files (os error 24). A signal now ends `jadpo dev` at once, and background work it was running waits for its lease to end before a tick runs it again.  next: Stop `jadpo dev` and run it again; if the reason says too many files are open, raise the limit first with `ulimit -n 4096` (human)  rule: cli.signal_handler_failed  help: https://jadpo.dev/docs/errors/cli.signal_handler_failed

The app is served after it, as it is when the signals are watched.

(human) at the end of the next: line tells your coding agent to stop and ask you which fix you want, because the choice is yours to make: it decides whether this session stops cleanly.

How to fix it

The question is what the reason says stopped the signals being watched.

If too many files are open, stop jadpo dev, raise the shell's limit and start it again:

shell
ulimit -n 4096jadpo dev

The session then watches the signals, and ctrl-c stops it cleanly, giving back what its background work holds.

If it says anything else, stop jadpo dev and start it again:

shell
jadpo dev

A session that could watch the signals prints no error, and stops cleanly at the first signal.

Markdown for agents: /docs/errors/cli.signal_handler_failed.md.Built from Jadpo's main branch at commit 9080dc3.