0
SQLSTATE[HY000]: General error: 6 Error on delete of '/tmp/#sql_10f07_0.MAI' (Errcode: 2 "No such file or directory")

this error has started to pop up every now and then in different queries all across my app. This is basically the last ditch effort of getting this solved.

Server information Neofetch

  • /tmp/ permissions -> root:root 777
  • Issue happens on both of our identical servers

Database information

  • MariaDB 10.4.15 database server
  • Database is in a Master - Master sync with its counterpart on the other server using Galera cluster.

Possible causes

  • Restart of workers is scheduled about 20 minutes before the issue appeared last == they would get disconnected from the database.

Logs

  • Went through both mysqld and system logs
  • In mysqld logs, only thing that shows up at the time is a deadlock, which is handeled by the code and most likely completely unrelated since deadlocks happen quite a few times per day and none of them cause this issue:deadlock
  • System logs dont show anything during the time of the issue.

Similar issues found online and why they didn't work

  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Community Mar 29 '22 at 10:50

0 Answers0