Explains how configurable core dump folder limits in Cisco IOS XR control diagnostic file storage, automate cleanup, and help safeguard system reliability.
A core dump folder limit is a storage management feature that
-
enables administrators to control the amount of disk space used for storing core dump diagnostic files,
-
enforces the maximum number of coreinfo files retained in the core dump directory, and
-
automates periodic cleanup and disk usage monitoring to prevent data loss during system failures.
Before Cisco IOS XR Release 25.2.1, the core dump folder lacked a storage limit, which meant repeated system crashes could fill all allocated disk space, preventing newer core files from being saved and resulting in potential data loss.
From Release 25.2.1, Cisco IOS XR supports the following mechanisms to manage core dump folder usage:
-
Disk usage limit: Use the
exception disk-usage-limit <usage limit percent>command to set core dumps to fill only 20% to 50% of the disk space. -
Throttling mechanism bypass: Use the
exception filepathcommand to redirect core files to another directory, enabling new storage locations. -
Periodic cleanup: The system automatically checks the core dump folder every 15 minutes and deletes the oldest coreinfo files if their count exceeds 50, focusing on files like those ending with
.core.txt. -
Syslog alerts: Syslog messages notify administrators when limits are reached, or automatic cleanup occurs, maintaining disk health and alerting to critical storage events.