Tag

Log Cleanup

1 views collected around this technical thread.

DevOps Operations Practice
DevOps Operations Practice
Jun 3, 2025 · Operations

7 Practical Shell Scripts for Linux Automation

This article presents seven practical Bash shell scripts for Linux system administration, covering automatic file backup, disk usage alerts, old log cleanup, server reachability checks, DNS resolution monitoring, HTTP service health checks, and random password generation, each with explanations and code examples.

BackupDisk usage alertLinux automation
0 likes · 6 min read
7 Practical Shell Scripts for Linux Automation
Wukong Talks Architecture
Wukong Talks Architecture
Oct 10, 2022 · Operations

Diagnosing 100% Disk Usage and Cleaning Docker Logstash Container Logs

This article explains how to identify the cause of a full disk on a Linux server by using df and du commands, discovers that oversized Logstash container logs are the culprit, and presents three practical solutions—including manual cleanup, a periodic script, and Docker log size limits—to reclaim space.

Disk UsageDockerLog Cleanup
0 likes · 8 min read
Diagnosing 100% Disk Usage and Cleaning Docker Logstash Container Logs
Ops Development Stories
Ops Development Stories
Aug 28, 2021 · Operations

Inside Kafka's Topic Deletion: Code Walkthrough & Process Explained

This article explains the complete Kafka topic deletion workflow, from the client’s deleteTopics request through Zookeeper node creation, controller coordination, broker StopReplica handling, log renaming, delayed file removal, and final cleanup, while providing code excerpts and practical Q&A for common pitfalls.

BrokerLog CleanupScala
0 likes · 17 min read
Inside Kafka's Topic Deletion: Code Walkthrough & Process Explained
Practical DevOps Architecture
Practical DevOps Architecture
Jan 7, 2021 · Backend Development

Understanding MySQL Binary Log: Functions, Cleanup Methods, and Switching

This article explains the role of MySQL binary logs for replication and point‑in‑time recovery, outlines four practical cleanup techniques—including reset master and purge commands—and demonstrates how to switch logs using flush operations while showing relevant command outputs and screenshots.

BackupLog CleanupReplication
0 likes · 5 min read
Understanding MySQL Binary Log: Functions, Cleanup Methods, and Switching