personal_infra/ansible
counterweight 2a80f0e3ca
bitcoin-knots: ride out block-time RPC stalls
The RPC probe flapped while every other knots check stayed green. Each burst
lined up with a block: validation on the saturated HDD holds the node busy
while Fulcrum, mempool and DATUM all fetch the block, and bitcoind rejected
calls with "work queue depth exceeded" (93 times on 2026-10-18).

- 403: the probe runs every minute, so failure-threshold 4 rides out a
  1-3 minute burst while a real outage still alerts within ~5 minutes.
  Probes now take an optional failure_threshold over a shared probe_alert.
- rpcworkqueue=64 and rpcthreads=8, so bursts queue instead of failing.

Profiling later showed the stalls are per-input UTXO lookups at ~5 ms each -
HDD seek latency - so this treats the symptom. The fix is chainstate on SSD.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 22:10:25 +02:00
..
group_vars ntfy-emergency-app: remove it 2026-10-19 22:10:22 +02:00
host_vars monero: check every five minutes again 2026-10-19 22:10:24 +02:00
infra bitcoin-knots: ride out block-time RPC stalls 2026-10-19 22:10:25 +02:00
playbooks jar-lid-archive: a staging deployment on its own box 2026-10-03 23:56:30 +02:00
roles bitcoin-knots: ride out block-time RPC stalls 2026-10-19 22:10:25 +02:00
services gatus: turn Signal alerting back on 2026-10-19 22:10:25 +02:00
ansible.cfg now using password 2026-09-11 17:59:41 +02:00
inventory.ini rebuild: fold monitoring into spacey and prd-arbret into vipy 2026-10-19 22:10:22 +02:00
requirements.yml uptime-kuma: annotate config and drop the unused collection 2026-09-11 22:43:56 +02:00
site.yml ntfy-emergency-app: remove it 2026-10-19 22:10:22 +02:00