Linux static binaries compiled 2026-11-26. Copy, chmod +x, run. Zero dependencies.
user line in a root-owned path refuses to start instead of silently running as root, and the CLI needs root or membership of group apm. Run sudo apm healconf after installing: it checks your config and every include, explains each setting this version reads differently, and fixes it with a backup beside the file (--check only reports; --yes applies every safe fix). apm upgrade runs the check for you.
Wacatac.B!ml. This is a known false positive: its ML heuristic misfires on statically compiled Go binaries and UPX-compressed executables. It has been reported to Microsoft for review. All other major antivirus engines report these files as clean — see the VirusTotal links below for full scan results.
metadata.json (the SHA-256 of every file above), install.sh and each connector carry an ed25519 signature beside them as <file>.sig. The public key is compiled into every APM binary since v2.10: apm upgrade refuses anything that does not verify, and apm verify <file> <file>.sig checks a download by hand. Key fingerprint (SHA-256 of the public key): f6af819d1b56bcc075a009f5051bb3a4bcf5d0cd962b513d763898a8ca09527f
-----BEGIN PUBLIC KEY----- MCowBQYDK2VwAyEAJaQi2HxEjH2ncrimkjGwyyj1XYYwfqTtSPuNT2VIiy8= -----END PUBLIC KEY-----To check with OpenSSL:
openssl pkeyutl -verify -pubin -inkey apm.pub -rawin -in metadata.json -sigfile <(base64 -d metadata.json.sig)
Everything found by the black-box security test of 2.13.0, the connector conformance run and the lab failover, flood, scale and soak runs of 2026-11-24/25, fixed. It is a major version because several defaults change what reaches an application: whose client address a request carries, malformed requests and WebSocket frames that used to be forwarded, who may read a worker's log, and the identity a path is opened as. Read Upgrading from 2.x below before rolling it out; the frame protocol is unchanged, so 3.4.0 connectors keep working.
The daemon runs as root and opens, creates, rotates, reads, binds and unlinks paths on a worker's behalf — and did all of that as root, whoever had supplied the path. A member of group apm could write a config into apm.conf.d through -log (root at the next start), read root-only files through -err_log, -env_file and -tls_key, or replace a root-only file with a socket. Now every such operation names an identity: a path from an unprivileged apm run / update / copy is handled with that caller's uid, gid and groups; a path from root's config is walked one component at a time and a symlink is followed only with the privileges of whoever owns it. Worker logs, rotation, apm log / grep, env_file, the TLS files and unix listeners all go through it. Unix sockets now belong to the worker's user, and socket_mode / socket_group close them to other local accounts. A wildcard include passes over logs, backups, hidden files and READMEs. The generated GUI password is no longer in the daemon log (which is now 0640 root:apm), apm log / grep / env are for the worker's owner, and masking catches credential URLs, JWTs, cookies and the like.
daemon: no listener could accept, apm list hung, and the control socket wrote 19.7 GB of log in four minutes. The last sixteenth of the descriptors is now kept for the daemon itself, one listener may hold three quarters of the rest and one address half (max_conns_per_ip); a client turned away gets 503 with Retry-After. Measured with a million descriptors: 1,200,000 attempts on one listener, 748,463 held, apm list 25–33 ms, another worker on another port 60 of 60.
pending connections, and repeated header timeouts put it out for 30 s, doubling. Third-party requests during floods: 150 of 150 (was 2 of 200).
empty); max_body (64M) and the daemon-wide body_memory (512M) bound them, and their deadline follows their size.
Content-Length / Transfer-Encoding / Host, folded headers, control bytes — are answered 400. Forbidden WebSocket frames close with 1002 (ws_lenient restores the old tolerance).
when it is a proxy: trusted_proxies, or by default loopback, private addresses and Cloudflare. CF-Connecting-IP is read only from Cloudflare. A client can no longer choose its own rate-limit key or step out of a ban_ip range.
ban_path matches every form an app might take the path for:/admin;x, /x.php/y, /admin%20, \admin, full-width letters.
goes back to the OS when a crowd leaves.
Every session has a home slot. An instance restarted on purpose keeps its sessions and takes them back; one that crashed or was removed has its sessions spread at once over the instances that are running — 17 ms as a client sees it, where it was ~550 ms and all of them went to one replacement. New sessions go to the least loaded instance, a planned stop drains first, and a request whose instance died is offered to two more when that cannot repeat anything. A process that ran for ten seconds before it crashed is restarted at once (with the default err_delay). Measured with 400,000 sessions on eight instances: 1,181,105 times a session lost its process, 1,181,105 were delivered — no counter lost, none given another's data. A 25-minute soak with a kill every 20 seconds ended with 15,000 of 15,000 clients connected after 212,449 hand-overs.
A reload keeps the listeners. A changed env, exec, params, env_file, memory_limit or health_check restarts the instances in place (rolling, drained, sessions held) instead of stopping the worker with its listeners: 381,622 requests at 27,000 a second through apm reload, every one answered 200.
New from the feed up. A sentence and a tile per worker that says what needs a human — a crash loop in red with the line it died with, 2 of 3 running in amber, a stopped worker in grey with how and when. A page per worker with per-instance start / stop / restart, traffic, Vanguard, sessions, logs, config and events; a Dashboards view for every worker's dashboard { }; the event history kept by the daemon; Reload config that does what apm reload does; the telemetry level from the page. Every command is answered with what happened. Light and dark, laid out for a phone, keyboard shortcuts, and a stricter Content-Security-Policy (no inline style). The daemon keeps dashboard values from the moment an app starts, so apm gui an hour later shows what was pushed at start-up.
telemetry off | low | medium | full: one report at start, every hour and at stop, instead of a ping a minute. low stays the default and adds the build channel and which features are in use, as counts of workers; no level sends a host, worker or application name, a path or configuration. apm telemetry prints exactly what the next report contains. See the privacy notice.
An HTTP handler that throws is answered 500 at once (it waited 30 s for the daemon's 504). A closed session or stream lets go of its handlers — the Perl connector grew from 13.3 to 199.9 MB over 42,000 requests and streams, and now by 0.1 MB. writeBinary in every language, dashboard text from PHP and Perl, the raw bytes of a text body as onData's third argument in Node, and an updater that says who it is. Go programs get an official IPC connector: go get github.com/tominkoltd/apm/connectors/[email protected].
A mediator's IPC stream data now reaches its peers. apm reload --all stops workers whose block left the config. apm monitor and apm list keep their columns on a box that has been up for a month. The first reload after a start no longer forgets Vanguard bans. apm gui prints only URLs that work. Dashboards read x / y counted from 0 or from 1, the way they were written.
in trusted_proxies, or every client appears as the proxy. The daemon log names it with the line to add. A proxy that passes CF-Connecting-IP without being behind Cloudflare no longer has it believed when it also sets X-Real-IP or X-Forwarded-For.
400 and non-compliant WebSocket clients areclosed with 1002 (ws_lenient true; for one that cannot be fixed).
unless max_conns says otherwise.
user** (a capistrano-style current) has that log opened as that user; chown an existing root-owned log to them once.
apm members can no longer read other users' worker logs orenvironment; /var/log/apm.log is no longer world-readable; the generated GUI password is printed by sudo apm gui.
A file an include names is loaded whatever it is called.
telemetry off now also silencesremote_logging.
color is drawn in the text colour; adashboard counted from 1 that used x 0; to mean "place it for me" should leave x out.
User-Agent): curl -fsSO https://processmanager.dev/connectors/apm_module.py once.
Details, measurements and tests are in the timestamped notes beside this file.