Skip to content
SadPackets home

The log that never rotates

Systems › Linux administration › Services (systemd)Linux

Atelier Brossard's quoting app has filled its log volume again, though logrotate was meant to keep it small. You run srv: get the log rotated the way it should be, by logrotate, and keep it that way.

The situation

The quoting app's log volume on Atelier Brossard's srv is at 97 % again. Thomas emptied it by hand last month, and IT told him logrotate would take care of it from then on; clearly it doesn't. You run srv, where logrotate runs from its systemd timer. At the end logrotate rotates the app's log again, on its own and on record, its timer keeps running it, the volume has room again at the size it was built with, and the app goes on writing its current log at its usual path. Emptying the log by hand does not count.

Topology

srv

The network you inherit. Once the lab is running, you open a terminal on any node.

New to networking? The glossary explains the words our briefs use.