Skip to content

Utilities

Overview

The Server Utilities in FlashPanel provide essential maintenance tools to keep your servers running efficiently. These automated utilities help manage system resources, clean up unnecessary files, and maintain optimal server performance through scheduled maintenance tasks.

System Cleanup

The System Cleanup utility is a comprehensive maintenance tool designed to optimize server performance by systematically cleaning logs, caches, and temporary files while managing disk space efficiently.

Features

  • Automated Log Cleanup: Removes old log files and compressed archives
  • Package Management: Cleans package caches and removes unused packages
  • Cache Clearing: Clears application and system caches
  • Journal Management: Manages systemd journal size and retention
  • Scheduled Execution: Can be automated with cron scheduling
  • Real-time Monitoring: Shows disk usage before and after cleanup

What Gets Cleaned

The system cleanup process removes unnecessary files and optimizes your server:

  • System and Application Logs: Removes old log files and compressed archives that accumulate over time
  • Package Cache: Clears cached packages and removes unused software packages
  • Application Caches: Clears temporary caches created by applications
  • System Journal: Manages system logs to prevent excessive disk usage

Using System Cleanup

Manual Execution

  1. Navigate to your server management console
  2. Go to the Utilities section
  3. Click on "Cleanup System"
  4. Review the cleanup description
  5. Click Execute to run the cleanup

Scheduled Cleanup

For paid users, the system cleanup can be scheduled to run automatically:

  1. Open the Cleanup System utility
  2. Enable "Schedule this cleanup"
  3. Choose from predefined intervals:
    • Every Minute (* * * * *)
    • Hourly (0 * * * *)
    • Nightly (0 0 * * *) - Recommended
  4. Or enter a custom cron expression
  5. Click Execute to save the schedule

Recommended Schedule

For optimal performance, we recommend running system cleanup nightly (midnight daily) to maintain your server without impacting daily operations.

This comprehensive cleanup system ensures your servers maintain optimal performance by automatically managing system resources and preventing disk space issues caused by accumulated logs and caches.