Confluence running on MySQL throws "Errcode: 28 - No space left on device"

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

Confluence fails while performing various operations (including but not limited) to:

  • Performing Backup

The following appears in the atlassian-confluence.log

caused by: java.sql.SQLException: Can't create/write to file '/tmp/#sql_59f_0.MYI' (Errcode: 28 - No space left on device)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965)

Diagnosis

Environment

  • MySQL as database

Cause

There is not enough disk space to run the database.

In particular, it means that MySQL cannot create a temporary file for the result set in the temporary directory (refer to the MySQL documentation for more details).

Resolution

  • Stop Confluence
  • Increase the available space for the database for the /tmp folder
  • Start Confluence
Last modified on Dec 17, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.