Skip to main content

Module rss_watchdog

Module rss_watchdog 

Source
Expand description

RSS watchdog: samples memory periodically, logs above threshold, and writes a synthetic crash report when RSS crosses a critical level so the existing crash-report flusher ships it through the same pipeline on next startup.

Constants§

ENV_RSS_CRITICAL_MIB
ENV_RSS_SAMPLE_SECS
ENV_RSS_WARN_MIB
Environment variables that tune the watchdog.

Functions§

spawn
Spawn the watchdog in the background. Idempotent — calling it more than once in the same process is a no-op.