tailfin 0.30.6

Install Tailfin

Web dashboard for Gyroscopic. Supported on Linux and FreeBSD only (x86_64); not on Windows or OpenBSD. See also the whole-stack setup guide.

1. Download and verify

Binaries live at https://download.solidfokus.com/public/tailfin/<platform>/. Platforms: x86_64-linux-glibc, x86_64-linux-musl, x86_64-freebsd-15-static, x86_64-freebsd-15-dynamic, x86_64-freebsd-14-static, x86_64-freebsd-14-dynamic. FreeBSD binaries are per major (15 and 14; pick the directory matching the major from uname -r). Tailfin is not published for OpenBSD or Windows. Each directory holds the binary tailfin-0.30.6-caca6e7 and a .sha256 file in sha256sum format (<hex digest> <file name>).

Linux

P=x86_64-linux-musl        # or x86_64-linux-glibc
curl -fLO https://download.solidfokus.com/public/tailfin/$P/tailfin-0.30.6-caca6e7
curl -fLO https://download.solidfokus.com/public/tailfin/$P/tailfin-0.30.6-caca6e7.sha256
sha256sum -c tailfin-0.30.6-caca6e7.sha256

FreeBSD builds depend on the OS version: run uname -r and pick the build for its major (15 or 14).

FreeBSD

P=x86_64-freebsd-15-static    # or x86_64-freebsd-15-dynamic; also 14 (x86_64-freebsd-14-static / x86_64-freebsd-14-dynamic). Pick the major from uname -r.
fetch https://download.solidfokus.com/public/tailfin/$P/tailfin-0.30.6-caca6e7 https://download.solidfokus.com/public/tailfin/$P/tailfin-0.30.6-caca6e7.sha256
[ "$(sha256 -q tailfin-0.30.6-caca6e7)" = "$(cut -d ' ' -f1 tailfin-0.30.6-caca6e7.sha256)" ] && echo OK

Install

install -m 0755 tailfin-0.30.6-caca6e7 /usr/local/bin/tailfin     # Linux
install -m 0555 tailfin-0.30.6-caca6e7 /usr/local/bin/tailfin     # FreeBSD
tailfin --version

The service examples below assume /usr/local/bin/tailfin.

Published SHA-256 digests for tailfin 0.30.6-caca6e7:

PlatformSHA-256
x86_64-linux-glibc6df82ad0329a9ff5b1d3953c40204d1bb8c030e74f4d867ff14e855818ced5ff
x86_64-linux-muslee5cd224ce9637ad3dba3357ba609917e58d98b9d1a0b585d6aa48e962a9c770
x86_64-freebsd-15-dynamic773d4a01a5a4420d885353c8069dc353dbc44453588baadebbb82bb517021753
x86_64-freebsd-15-staticb46c3d2c3094ccbf59ea8a8f138f833ffe20b86374271ba490fef707f9c73642
x86_64-freebsd-14-dynamic9612f6a01d739c1e00fc551b02ad905b207d504c24651384dcda8616e9d920d1
x86_64-freebsd-14-static78a4b01e3ee48d5bc3c79089cdc04bdc1377593f9adedaa5d2848737b7769780

2. Generate the config template (first step)

tailfin --config with no argument prints the template and exits; it creates or overwrites no files.

Linux (the service user first, then its config directory; FreeBSD: see the service section, which uses other paths and owners):

useradd --system --no-create-home --shell /usr/sbin/nologin tailfin
install -d -m 0700 -o tailfin -g tailfin /etc/tailfin
tailfin --config > /etc/tailfin/config.json
chown tailfin:tailfin /etc/tailfin/config.json
chmod 0600 /etc/tailfin/config.json

Replace auth.tailfin_secret; to require a dashboard login set dashboard_secret too. The template value is a public placeholder. Generate a strong secret, for example with openssl rand -base64 32, and use the same value on both sides.

All config options

KeyDefaultMeaning
listen_addr"127.0.0.1"Dashboard bind address (keep loopback behind NGINX on the same host).
listen_port8080Dashboard port.
gyroscopic_url"http://127.0.0.1:3000/api/v1"Gyroscopic API base URL, e.g. http://10.0.0.10:3000/api/v1 when on another host. An unpinned https:// url needs the OS CA store (section 4b); a redirect from http:// to https:// is not followed.
gyro_connect_timeout_secs5Connect timeout to Gyroscopic.
gyro_request_timeout_secs30Request timeout to Gyroscopic; keep NGINX proxy timeouts above it.
api_max_limit-1Cap on limit for dashboard API queries; -1 = no cap. Set e.g. 10000 when internet-facing.
tag_health_refresh_secs60Seconds each open dashboard page waits after a tag-health sweep before the next one (minimum 1; 0 is rejected). Each open page runs its own sweep, so do not set it low with many tags.
tls"off""off", "self-signed", or {"cert": "<path>", "key": "<path>"} (read at start; restart after a renewal). New in 0.30.0.
tls_names[]Extra names or IPs for the self-signed certificate (needs "self-signed").
tls_dirper-OS defaultFolder for cert.pem/key.pem; not in the template, add it only to override.
allow[]Allowed client addresses or CIDRs. Empty = everyone. Applies to localhost too.
dashboard_secret""Dashboard password, HTTP Basic auth with user tailfin, on every route except GET/HEAD /health. Empty = open dashboard.
gyroscopic_tls_sha256noneFingerprint of a self-signed Gyroscopic (64 hex). Needs an https:// gyroscopic_url. Not in the template; add it.
auth.tailfin_secretnonePassword Tailfin uses as user tailfin towards Gyroscopic; must equal Gyroscopic auth.tailfin_secret. Empty or absent = no auth header.

Command-line flags

FlagDefaultMeaning
--config [PATH]Config file; with no path prints the template and exits.
--log-formatprettypretty or json; logs go to stdout, level via RUST_LOG.
--tls-infoPrint the self-signed certificate path and fingerprint and exit, without serving. New in 0.30.0.
--licensePrint license and exit.
-h / -VHelp / version.

3. Security model and firewall

4. NGINX with TLS (optional)

Tailfin 0.30.0 can serve TLS itself (section 4b); NGINX stays fully supported, e.g. for a public name and certificate. With NGINX in front keep "tls": "off" and an empty allow (or only the NGINX address). For the full-stack front end (collect, API, MCP and the dashboard; NGINX normally on a separate host) see Deploy option 2, NGINX, which also says where the file goes on Linux and FreeBSD.

upstream tailfin { server 127.0.0.1:8080; keepalive 32; }

server {
    listen 80;
    server_name dash.example.net;
    location /.well-known/acme-challenge/ { root /var/www/letsencrypt; }
    location / { return 301 https://$host$request_uri; }
}
server {
    listen 443 ssl;
    http2 on;   # needs nginx 1.25.1+; on older nginx (Ubuntu 24.04 has 1.24) use "listen 443 ssl http2;" and drop this line
    server_name dash.example.net;
    ssl_certificate     /etc/letsencrypt/live/dash.example.net/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/dash.example.net/privkey.pem;
    ssl_protocols       TLSv1.2 TLSv1.3;
    add_header X-Content-Type-Options "nosniff" always;
    add_header X-Frame-Options "SAMEORIGIN" always;
    add_header Referrer-Policy "strict-origin-when-cross-origin" always;
    client_max_body_size 1k;
    client_body_timeout  10s;

    location = /health { proxy_pass http://tailfin; }
    location / {
        proxy_read_timeout 35s;      # > gyro_request_timeout_secs (30)
        proxy_send_timeout 35s;
        proxy_pass http://tailfin;
        proxy_http_version 1.1;
        proxy_set_header Connection        "";
        proxy_set_header Host              $host;
        proxy_set_header X-Real-IP         $remote_addr;
        proxy_set_header X-Forwarded-For   $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}

4b. TLS, allow list and dashboard login (0.30.0, optional)

All optional; an existing config keeps serving plain HTTP with an open dashboard.

Self-signed TLS

  1. Install the service setup from section 5 first (systemd StateDirectory=tailfin, or the FreeBSD rc.d install -d line).
  2. Set "tls": "self-signed"; put every name or IP users type in the browser in tls_names.
  3. Restart. Tailfin creates the folder, cert.pem (0644) and key.pem (0600) itself and reuses them. Keep foreground tests on "off".
OSFolder
Linux/var/lib/tailfin/tls
FreeBSD/var/db/tailfin/tls

tls_dir overrides it. The log line tls self-signed listener=http cert=<path> sha256=<hex> generated=<bool> and tailfin --config <file> --tls-info show the path and fingerprint. A browser warns until cert.pem is imported as a trusted CA, and still checks the URL host against the names. For a public name use your own certificate: "tls": {"cert": "…/fullchain.pem", "key": "…/privkey.pem"}, restart after renewal. To regenerate: stop, delete both files, start.

Dashboard login

"dashboard_secret": "<password>" asks for HTTP Basic auth, user tailfin, on every route except GET/HEAD /health (open for probes). Use TLS when the listener is reachable from other hosts; otherwise Tailfin warns Basic auth on http is unencrypted.

# FreeBSD: use --cacert /var/db/tailfin/tls/cert.pem
curl -s -o /dev/null -w '%{http_code}\n' --cacert /var/lib/tailfin/tls/cert.pem https://localhost:8080/        # 401
curl -fsS -u "tailfin:$DASHBOARD_SECRET" --cacert /var/lib/tailfin/tls/cert.pem https://localhost:8080/ | head
curl -fsS --cacert /var/lib/tailfin/tls/cert.pem https://localhost:8080/health                          # no login

Allow list

"allow": [] permits everyone; a non-empty list (addresses or CIDRs) permits only matching TCP peers, forwarded headers are ignored, and it applies to localhost too, so add 127.0.0.1 (and ::1) for local checks. Drops are closed without reply and logged only at debug. IPv6/all interfaces: "listen_addr": "[::]", not ::. From 0.30.1 [::] accepts IPv4 and IPv6 on every OS (log listening addr=[::]:8080 (IPv4 and IPv6)); 0.0.0.0 is IPv4 only, and a host with IPv6 disabled needs 0.0.0.0. 0.30.0 on FreeBSD served [::] IPv6 only: upgrade (details).

Reaching a self-signed Gyroscopic

"gyroscopic_url": "https://192.168.1.10:3000/api/v1",
"gyroscopic_tls_sha256": "<64 hex from gyroscopic --tls-info>"

Tailfin then accepts exactly that certificate (host name and expiry not checked). A wrong pin does not stop Tailfin from starting: it shows on the first dashboard load or /api/* request as a WARN certificate fingerprint mismatch: expected <pin>, got <actual> and data source unavailable. After Gyroscopic's certificate is regenerated, update the pin and restart Tailfin. Pin self-signed only. Tailfin's address must be on Gyroscopic's allow list, if it has one.

Public certificates, private CA and the system CA store (0.30.5)

An https:// gyroscopic_url without gyroscopic_tls_sha256 (Gyroscopic with a public or company certificate, or NGINX in front) is checked against the operating system's CA store, the same roots curl uses:

OSRootsIf missing
LinuxThe distribution bundle, e.g. /etc/ssl/certs/ca-certificates.crt (Debian, Ubuntu), /etc/pki/tls/certs/ca-bundle.crt (Fedora, RHEL), /etc/ssl/cert.pem (Alpine)Install ca-certificates: apt install ca-certificates, dnf install ca-certificates or apk add ca-certificates
FreeBSD/usr/local/etc/ssl/cert.pem and /etc/ssl/certspkg install ca_root_nss, or certctl rehash to rebuild /etc/ssl/certs from the base system

A private CA works once it is installed in the OS trust store; no Tailfin setting is needed. To add one: Debian/Ubuntu install -m 644 ca.crt /usr/local/share/ca-certificates/<name>.crt && update-ca-certificates (the file name must end in .crt); FreeBSD: copy the PEM to /usr/local/share/certs/<name>.pem, then certctl rehash. Restart the service afterwards. Tested on Ubuntu 24.04 and FreeBSD 15.1 (2026-11-26). SSL_CERT_FILE (a PEM bundle) or SSL_CERT_DIR replaces these locations for the process; an empty value counts as set and means no certificates. In a service set it with systemd Environment= or the FreeBSD tailfin_env rc.conf variable. A plain http:// url and a pinned self-signed Gyroscopic do not use the store and need no CA bundle. A plain http:// url does not follow a redirect to https://; put the https:// url in the config.

Without any CA certificates, an unpinned https:// url stops at start-up with exit code 1:

failed to build gyroscopic HTTP client ... no CA certificates found on this host, needed to verify the unpinned https url <url>: <fix for this OS>, or set SSL_CERT_FILE to a PEM CA bundle. …

Fix as in the table, or see Troubleshooting. Before 0.30.4 the binary carried its own root list; 0.30.4 exited without a CA bundle even for http:// (No CA certificates were loaded from the system).

5. Run as a service

Linux (systemd)

Tested on Ubuntu 24.04 (2026-11-25) with Tailfin 0.30.5-02cb152: this unit (enable, start, stop), /health, the dashboard login and live data. Start at boot tested on Ubuntu 24.04 (2026-11-26).

The user tailfin and /etc/tailfin (owner tailfin, 0700; config 0600) come from section 2. If you created the config before the user, fix ownership:

id tailfin || useradd --system --no-create-home --shell /usr/sbin/nologin tailfin
chown -R tailfin:tailfin /etc/tailfin

/etc/systemd/system/tailfin.service:

[Unit]
Description=Tailfin statistics dashboard
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
User=tailfin
Group=tailfin
ExecStart=/usr/local/bin/tailfin --config /etc/tailfin/config.json --log-format json
Restart=on-failure
RestartSec=5
LimitNOFILE=65536
StandardOutput=journal
StandardError=journal
SyslogIdentifier=tailfin
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
StateDirectory=tailfin
StateDirectoryMode=0755
AmbientCapabilities=
CapabilityBoundingSet=

[Install]
WantedBy=multi-user.target
systemctl daemon-reload && systemctl enable --now tailfin

FreeBSD (rc.d)

Tested on FreeBSD 15.1 (2026-11-23) with Tailfin 0.30.5-02cb152: the user and config setup, this script, start and stop, and /health. Tested on FreeBSD 15.1 (2026-11-26): start at boot and a forced log rotation (newsyslog -F). Not yet tested: the daily scheduled rotation.

Create the user, the config directory and the config. The app reads the config after the privilege drop, so it is owned by root:tailfin with mode 0640 (on Linux it is 0600 and owned by the service user). pw useradd creates a same-named primary group and no home directory. The binary is installed in step 1.

pw useradd tailfin -c "Tailfin" -d /nonexistent -s /usr/sbin/nologin
install -d -m 0750 -o root -g tailfin /usr/local/etc/tailfin
tailfin --config > /usr/local/etc/tailfin/config.json
chown root:tailfin /usr/local/etc/tailfin/config.json
chmod 0640 /usr/local/etc/tailfin/config.json

/usr/local/etc/rc.d/tailfin (mode 0555, owner root):

#!/bin/sh
#
# PROVIDE: tailfin
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# rc.conf(5) variables:
#   tailfin_enable (bool)   Default: "NO"
#   tailfin_config (path)   Default: /usr/local/etc/tailfin/config.json
#   tailfin_runas  (str)    Default: tailfin  (passed to daemon(8) -u)
#   tailfin_log    (path)   Default: /var/log/solidfokus/tailfin.log
#   tailfin_umask  (str)    Default: 022  (rc.subr umask for daemon(8); keeps -M 0640)
#   tailfin_env    (str)    No default. Passed to env(1); use it for RUST_LOG
#
# Do NOT set tailfin_user. rc.subr(8) starts $command via "su -m".
# The account shell is /usr/sbin/nologin, so su execs nologin and exits.
# If the shell can run the command, daemon(8) is not root and "daemon -u"
# fails with "failed to set user environment".
# Do NOT set tailfin_flags: rc.subr puts them right after $command, so
# they would be parsed by daemon(8), not by tailfin.
# The script unsets both after load_rc_config and warns. A custom tailfin_log is kept.
#
# daemon(8) flags:
#  -r : Restart the child one second after an unexpected exit
#  -f : Point the supervisor's stdin, stdout and stderr at /dev/null
#  -P : Write the supervisor pid (use with -r; the child pid changes)
#  -H : Reopen the output log on SIGHUP
#  -o : Append the child's output to this log file
#  -M : Mode used when the log file is created
# -M is in FreeBSD 14.5 and 15.1 and later. It is not in 13.x,
# 14.0-14.4, or 15.0; on those releases delete "-M 0640" from
# command_args and the log is created mode 0600 until newsyslog
# rotates it.
#  -u : Run the child as this user; the supervisor stays root

. /etc/rc.subr

name="tailfin"
rcvar="tailfin_enable"

load_rc_config $name

# rc.subr consumes these two names. Clear them so a leftover rc.conf
# line cannot start daemon(8) via su(1) or hand daemon(8) the flags.
if [ -n "${tailfin_user-}" ]; then
	warn "tailfin_user is ignored; rc.subr would su(1) to it and daemon -u would fail. Use tailfin_runas."
	unset tailfin_user
fi
if [ -n "${tailfin_flags-}" ]; then
	warn "tailfin_flags is ignored; rc.subr would pass it to daemon(8), not to tailfin."
	unset tailfin_flags
fi

: ${tailfin_enable:="NO"}
: ${tailfin_config:="/usr/local/etc/tailfin/config.json"}
: ${tailfin_runas:="tailfin"}
: ${tailfin_log:="/var/log/solidfokus/tailfin.log"}
: ${tailfin_umask:="022"}

pidfile="/var/run/${name}.pid"
procname="/usr/sbin/daemon"
command="/usr/sbin/daemon"
command_args="-r -f -P ${pidfile} -H -o ${tailfin_log} -M 0640 -u ${tailfin_runas} /usr/local/bin/tailfin --config ${tailfin_config} --log-format json"
required_files="${tailfin_config}"
start_precmd="${name}_prestart"

tailfin_prestart()
{
	install -d -m 0755 -o root -g wheel "${tailfin_log%/*}"
	# self-signed TLS folder (0.30.0); the app creates cert.pem and key.pem in it
	install -d -m 0755 -o ${tailfin_runas} -g ${tailfin_runas} /var/db/tailfin/tls
}

run_rc_command "$1"

Install with install -m 0555 tailfin /usr/local/etc/rc.d/.

/etc/rc.conf:

tailfin_enable="YES"
# tailfin_config="/usr/local/etc/tailfin/config.json"
# tailfin_env="RUST_LOG=info"

Enable and start:

sysrc tailfin_enable=YES
service tailfin start
service tailfin status
sockstat -4 -l -P tcp -p 8080      # USER column must read: tailfin
tail -f /var/log/solidfokus/tailfin.log

Side-by-side or test instance: the script hardcodes the binary path /usr/local/bin/tailfin in command_args (the program daemon(8) starts). When you copy or rename the script for a second instance, for example to test a new version next to the running one, also change that path to the new binary; otherwise the copy runs the old binary. Check with ps -ax -o command | grep tailfin.

Notes (checked against FreeBSD 15.1 rc.subr(8), rc.conf(5), su(1) and daemon(8)):

Migrating from an earlier script

Stop with the old script still installed. Its pid file is /var/run/tailfin/tailfin.pid. The new script's stop looks at /var/run/tailfin.pid and will not signal a supervisor recorded in the old file. That matters when a 0.29.4 start stayed up: if the log file already existed and was writable by tailfin, daemon(8) keeps restarting the child every second.

  1. service tailfin stop
  2. Install the new script over the old one (install -m 0555 tailfin /usr/local/etc/rc.d/tailfin).
  3. In /etc/rc.conf, remove tailfin_user, tailfin_group, and tailfin_flags. Keep tailfin_log when it sets a path other than the default. Set tailfin_runas only to run as a different user. The script unsets tailfin_user and tailfin_flags if they are still present, and warns.
  4. Remove the old run directory: rm -rf /var/run/tailfin
  5. Delete /etc/newsyslog.conf.d/tailfin.conf if it exists. Append the 6. Logging section line to /usr/local/etc/newsyslog.conf.d/solidfokus.conf (create the file if it is absent). Do not replace that file: Gyroscopic, Tailfin, and Tracerlight share it, and replacing it drops the other services. Leaving the old file in place rotates the same log twice. The new pid file is /var/run/tailfin.pid.
  6. service tailfin start, then check with sockstat as above.

6. Logging

Logs go to stdout (--log-format, RUST_LOG); no built-in rotation. Linux: journald. FreeBSD: /var/log/solidfokus/tailfin.log.

# FreeBSD /usr/local/etc/newsyslog.conf.d/solidfokus.conf
/var/log/solidfokus/tailfin.log               tailfin:tailfin         640  7     *    @T00  ZB    /var/run/tailfin.pid

Append this line to the shared /usr/local/etc/newsyslog.conf.d/solidfokus.conf (create it if absent); never replace that file, since Tracerlight, Gyroscopic and Tailfin share it. Z gzips rotated logs; B stops newsyslog writing its plain-text turnover banner into the JSON log. The entry needs the pid file, otherwise newsyslog signals syslogd.

7. Verify

dash.example.net below is a placeholder: use your own host (and :port, e.g. https://192.168.1.50:8080 without NGINX).

curl -fsS https://dash.example.net/health
# -> {"status":"ok","version":"0.30.5-..."}
curl -fsS https://dash.example.net/ | head      # dashboard HTML
curl -fsS "https://dash.example.net/api/data?tag=client-a-server1&type=client&limit=10"
# -> {"records":[...], ...}   (502 = Tailfin cannot reach Gyroscopic or the secret is wrong)

A live example runs at tailfin.solidfokus.com.

Upgrade

Download and verify (section 1), replace /usr/local/bin/tailfin, restart (systemctl restart tailfin / service tailfin restart), check -V and /health. To 0.30.6: no config change; upgrade in place. Only the --license text changed. To 0.30.5: no config change for a plain http:// or pinned gyroscopic_url; with an unpinned https:// gyroscopic_url the host now needs a system CA bundle (CA store), otherwise Tailfin stops at start-up with no CA certificates found on this host; an http:// url that redirects to https:// must be changed to the https:// url. A [::] listener also accepts IPv4. Before turning on "tls": "self-signed", install the current unit (then systemctl daemon-reload) or rc.d script from section 5. Troubleshooting: Troubleshooting. Sizing, CPU, memory and the open-file limit: section 8.

8. Sizing

Measured on 2026-11-11 and 2026-11-12 with the published builds Tailfin 0.30.5-fd803b0, Gyroscopic 1.12.3-0d480d8 and Tracerlight 2.20.2-6f853e8. Gyroscopic held 1,020 tags (1,000 client and 20 server) fed at 1 Hz and ran on its own 8-core Atom C3758 host. Tailfin ran on a 4-core Intel Core i5-2500 (Linux) and, for comparison, an i5-3570 (FreeBSD). The load came from a third host on the same LAN and replays the requests a real browser sends (status sweep, live panel polls, page opens). Figures are medians of three runs; “one run” marks steps that ran once. Every step finished with 0 errors.

Load per open page

Each open dashboard page sends about tags / tag_health_refresh_secs + 0.6 × panels requests per second, plus one data request per panel when the page opens. The tag-health sweep visits every tag in Gyroscopic, not only the ones on your panels, so the tag count drives the load: with 1,020 tags, 4 panels and the default 60 s sweep one page is 17.0 + 2.4 = 19.4 req/s (measured 19.4); with 500 tags it is 8.3 + 2.4 ≈ 10.7 req/s (measured 53.7 req/s for 5 pages).

Measured: Linux, 1,020 tags

Open pagesRequests/sTailfin CPU, % of one core (peak)Tailfin RAM (RSS)Open filesEnd-to-end latency p50 / p99
5973.8 (4.4)9.8 MB241.04 / 2.52 ms
101947.5 (8.8)10.1 MB281.00 / 2.79 ms
2038814.2 (16.4)11.8 MB490.92 / 2.77 ms
4077626.4 (31.6)14.1 MB920.90 / 2.74 ms
60 (one run)1,16439.5 (48.4)15.6 MB1390.90 / 2.76 ms
90 (one run)1,74655.0 (69.4)18.5 MB2040.93 / 2.78 ms
135 (one run)2,61871.3 (94.4)22.3 MB3040.93 / 2.91 ms
2023,91797.9 (140)29–33 MB458–6450.97 / 3.11 ms
3035,876119 (180)42–48 MB805–1,0740.99 / 3.24 ms
455 (one run)8,822138 (210)73 MB1,8321.01 / 3.36 ms

No capacity limit was found. Every step up to 455 open pages (8,822 req/s) passed with 0 errors; the test stopped there because it was the top step of the plan, not because anything failed. Tailfin uses more than one core: at that step it averaged 138 % of one core (peak 210 %) of the four, and the Gyroscopic host was at about 25 % CPU. Tailfin's memory starts at about 7 MB idle and grows with the request rate, not over time: a 60-minute run at 40 pages ended 0.3 % below where it started, with p99 2.77 ms and 0 errors (one run). Ten pages opened within 5 s (each page: index plus four data requests with limit 600) were served with p50 32 ms and p99 38 ms, peak RSS 18 MB (one run).

Latency is end to end: it is the time the load host waited for Tailfin, which includes Gyroscopic answering Tailfin. Tailfin's own share cannot be separated from Gyroscopic's response-time variation at these rates, so no separate “Tailfin adds” figure is given. With 500 tags the same page counts gave p50 0.81–0.95 ms and p99 0.99–1.12 ms (5 to 80 pages, up to 859 req/s, 25 % of one core at 80 pages), which suggests that most of the p99 with 1,020 tags comes from Gyroscopic working with many tags; that is an inference, not a separate measurement.

Measured: FreeBSD, 1,020 tags

Open pagesRequests/sTailfin CPU, % of one core (peak)Tailfin RAM (RSS)Open filesEnd-to-end latency p50 / p99
5972.1 (2.6)12.6 MB270.90 / 2.27 ms
101944.2 (5.4)13.6 MB310.88 / 2.32 ms
203888.1 (9.4)16.0 MB520.80 / 2.28 ms
4077615.2 (17.6)19.1 MB980.82 / 2.27 ms

At the same rates FreeBSD used about 40–45 % less CPU than Linux and a few MB more memory. The FreeBSD host has a slightly newer CPU (i5-3570 against i5-2500), so read this as two measured hosts, not as a pure OS comparison.

TLS, dashboard login and keep-alive (Linux, 10 pages, 194 req/s)

VariantEnd-to-end p50 / p99Tailfin CPU, % of one coreTailfin RAM (RSS)
Plain HTTP1.01 / 2.82 ms7.510.1 MB
Self-signed TLS1.03 / 3.18 ms7.812.1 MB
TLS + dashboard_secret1.04 / 3.11 ms7.912.1 MB
Plain HTTP, no keep-alive (one run)1.23 / 3.06 ms10.69.4 MB
TLS, no keep-alive (one run)2.17 / 4.27 ms19.511.5 MB

With keep-alive (what browsers do), TLS and the dashboard login add no measurable latency and about 2 MB of memory. Without keep-alive every request opens a new connection, and TLS then adds about 0.9 ms per new connection (p50 2.17 ms against 1.23 ms) and nearly doubles the CPU (19.5 % against 10.6 % of one core). This matters only for scripts or proxies that open a new connection for every request.

Open files: raise the limit for large installs

Tailfin holds about 2–4 open files (sockets) per open page: 92 at 40 pages, 458–645 at 202, 805–1,074 at 303 and 1,832 at 455 (one run). With the common default limit of 1,024 open files it runs out at roughly 250–300 pages. The tests ran with the limit raised to 65,536. If an install may reach about 200 open pages or more, raise the limit:

Disk and logs

Tailfin keeps no data of its own; besides the TLS files its disk use is the log (section 6). At the default log level it writes about 0.33–0.40 KB per request, which is about 23–28 MB per open page per hour at 1,020 tags, or 0.93–0.98 GB per hour at 40 pages. Size journald retention (SystemMaxUse=) or the count and size fields of the newsyslog line in section 6 for that.

9. Uninstall

These steps reverse sections 1–6. Run them as root. Tailfin keeps no data of its own. The steps keep the self-signed TLS folder (if used), so a later install reuses the certificate; to remove it as well, see the last step. Tailfin runs on Linux and FreeBSD only.

Deleting log files is your choice. /var/log/solidfokus and /usr/local/etc/newsyslog.conf.d/solidfokus.conf are shared with Tracerlight and Gyroscopic: remove only Tailfin's lines and files, and the directory only when it is empty.

Linux (systemd)

systemctl disable --now tailfin
rm /etc/systemd/system/tailfin.service
systemctl daemon-reload
rm -r /etc/tailfin                             # config and secrets
rmdir /var/lib/tailfin 2>/dev/null           # StateDirectory; removed only when empty, so TLS files stay
userdel tailfin
getent group tailfin && groupdel tailfin          # if a group is left
rm /usr/local/bin/tailfin

FreeBSD (rc.d)

service tailfin stop
sysrc -a | grep '^tailfin_'                    # every Tailfin line in rc.conf, e.g. tailfin_limits
sysrc -x tailfin_enable                        # and each other name listed above
rm /usr/local/etc/rc.d/tailfin
# Delete the tailfin.log line from /usr/local/etc/newsyslog.conf.d/solidfokus.conf
rm -r /usr/local/etc/tailfin
pw userdel tailfin
pw groupshow tailfin >/dev/null 2>&1 && pw groupdel tailfin        # if a group is left
rm /usr/local/bin/tailfin

# Optional: log files
rm -f /var/log/solidfokus/tailfin.log*

If you raised openfiles for the tailfin login class in /etc/login.conf (section 8), undo that change and run cap_mkdb /etc/login.conf.

Firewall, NGINX and browsers

Optional: remove the TLS certificate and key

Only if you also want the self-signed cert.pem and key.pem gone. A later install then creates a new certificate, which browsers must trust again. If the config set tls_dir, remove that folder instead. Your own certificate files are not touched.

rm -rf /var/lib/tailfin       # Linux
rm -rf /var/db/tailfin        # FreeBSD

Check: tailfin -V is not found, and nothing listens on 8080.

Tested on FreeBSD 15.1 (2026-11-23) and Ubuntu 24.04 (2026-11-25): the FreeBSD and Linux steps, except the firewall step and the optional TLS step.