What happens if the error log file becomes full?

Question

Grade: Education Subject: Support
What happens if the error log file becomes full?
Asked by:
48 Viewed 48 Answers

Answer (48)

Best Answer
(367)
If the error log file becomes full, MariaDB will typically rotate the log file. This means it will create a new log file and rename the old one (e.g., `mariadb.log.1`, `mariadb.log.2`). However, if log rotation is disabled or the disk is full, MariaDB may stop writing to the log, potentially causing critical errors. Configure log rotation and monitor disk space.