Tag

PCX

1 views collected around this technical thread.

Efficient Ops
Efficient Ops
Oct 27, 2019 · Operations

Why Did My MongoDB Logs Turn Into PCX Images? Investigation and Fix

A MongoDB shard node’s logs unexpectedly turned into PCX image files due to improper log rotation using echo, causing CPU spikes and slow‑query analysis failures; the investigation reproduces the issue, explains the header corruption, and presents a SIGUSR1‑based solution to restore proper ASCII logs and retrieve the needed time‑range data.

PCXSIGUSR1log rotation
0 likes · 18 min read
Why Did My MongoDB Logs Turn Into PCX Images? Investigation and Fix