Error
Error Code: 1378

MariaDB Error 1378: Log File In Use

📦 MariaDB
📋

Description

Error 1378 indicates that MariaDB is unable to purge (delete) a log file because the server or a replication replica is actively using it. This typically occurs when the system attempts to perform log rotation or cleanup, but the log file is still required for ongoing operations or replication synchronization.
💬

Error Message

A purgeable log is in use, will not purge
🔍

Known Causes

3 known causes
⚠️
Active Replication Dependency
A replication replica server is still actively reading from the specific log file, preventing its safe removal by the primary server.
⚠️
Server Internal Activity
The MariaDB server itself requires the log file for ongoing transactions, recovery, or other internal processes, despite it being marked for purging.
⚠️
Replication Lag or Stalled
Significant replication lag or a stalled replica prevents it from catching up and releasing its dependency on older log files, thus blocking purging.
🛠️

Solutions

Coming Soon

Detailed step-by-step solutions for this error are being prepared. In the meantime, try these general troubleshooting tips:

General Troubleshooting Tips

  • Check the error message carefully for specific details
  • Review recent changes that might have caused the error
  • Search for the exact error code in the official documentation
  • Check log files for additional context
  • Try restarting the application or service
🔗

Related Errors

5 related errors