Disk usage warning

Posted in: Newspaper
Post count: 44

Is there something that can be done about this?

The filesystem “/” mounted at “/” reached “critical” status because you currently use 92.58% of its available blocks.
Notification Type: critical ⛔
Server: xxx.com
Primary IP Address: 1.0.0.1.x
Filesystem: /
Mount Point: /
Percent Used: 92.58%

Disk Block Usage: Used: 275.08 GB
Available: 23.32 GB
Total: 314.39 GB

ChkServd Version: 17.0

Here is what I’ve done so far

The wp_actionscheduler_logs table continues to grow rapidly. For now, I’ve manually removed the old log entries from this table to free up disk space.
To automate the cleanup process, I added the necessary code inside your WordPress theme’s functions.php file, but it doesn’t seem to be working as expected.

Why does the wp_actionscheduler_logs table grow so large and so quickly?

If they suggestion or specific fix or configuration that can be applied? As if I dont’ manually clean this up every 2 weeks the website goes down.

Post count: 35449

Hi,

Usually, the table wp_actionscheduler_logs keeps growing because WooCommerce (and other plugins) log every background task but don’t clean them up automatically.
1. Clean it up manually using an sql code (one-time):
DELETE FROM wp_actionscheduler_logs WHERE log_date_gmt < NOW() - INTERVAL 14 DAY; OPTIMIZE TABLE wp_actionscheduler_logs;
2. Use a plugin: Install “Action Scheduler Cleanup” — it deletes old logs automatically.
Option 2 is usually more friendly and safety.

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.