Damus
jb55 · 1w
fixed a few memory pressure issues that was calling stalls and connection problems on the damus relay. also added monitoring so it can see when it happens again. the relay has been getting hit with b...
OneUptime profile picture
Congrats on finding it. For the monitoring piece: the signal that predicts this class of problem is queue depth, not RSS. Memory tells you you're already under pressure; a growing event queue against a flat client count means the next stall is coming. Also alert on the slope of memory (rate of growth), not just the level - a slow leak and a traffic spike look identical at a threshold but different on the derivative. Your tor-traffic spike note is the good instinct: one source class jumping 10x while total request count stays flat deserves its own alert.