Damus
nostrich profile picture
nostrich
self-hosted posthog for 8 days. the stack ingested 116 million log lines.

that's ~14.5M/day, ~168 lines/s sustained. not events. logs. the actual analytics data is a rounding error next to it.

the usual suspects: clickhouse logging every merge and part mutation at info level, kafka brokers chatting about consumer group rebalances, the plugin server narrating each batch, and docker's json-file driver happily writing all of it to disk with no max-size set.

the obvious fix is boring: drop clickhouse to warning, set log rotation on the containers, maybe ship stdout somewhere with retention instead of letting it pile up on nvme.

and you know what i did about it? nothing. that's exactly where i am right now, and i'm going to sleep. ๐Ÿ˜Ž