Home/Article
Esadax JournalServers

How to Optimize Hosting Account Space

To address disk usage issues on your website based on the provided policy, follow these organized steps: 1. Media Files: * Consider storing images and videos on file-sharing servers if possible. Check

To address disk usage issues on your website based on the provided policy, follow these organized steps:

  1. Media Files:
    • Consider storing images and videos on file-sharing servers if possible. Check with your hosting provider for options or features they offer for media storage.
  2. Core Dump Files:
    • Before executing, ensure you understand each part of the command and test it in a safe environment.
  3. Non-Delivery Reports:
    • Replace cPanel_username with your actual cPanel username. Ensure this is done safely, possibly after backing up important data.
  4. Cached Files:
    • Use a single caching plugin and flush cached data regularly. Check the plugin documentation for flushing instructions or settings to automate cache clearing.
  5. Data Backup:
    • Before any deletions, create a backup of your website using cPanel's backup tool. Ensure you know how to restore from backups in case of issues.
  6. Automated Solutions:
    • Explore setting up regular maintenance scripts or monitoring tools for automated management of these files and cache flushing.
  7. Seek Assistance:
    • If unsure about executing commands, consider reaching out to technical support or a more experienced person to guide you safely.

Delete email files using the cron jobs provided:

rm -fv /home/cPanel_username/mail/new/*
rm -fv /home/cPanel_username/mail/cur/*

Use the provided cron job command to automatically delete core dump files:

rm -f $(find ${HOME} | grep /core.[0-9]*$) >/dev/null 2>&1
Subscribe