Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-6764

Shutdown fails when disk full

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Incomplete
    • 10.0.13
    • N/A
    • OTHER
    • None
    • CentOS 6.5

    Description

      I imported a few hundred gb of data and ran out of disk space, so I cancelled the import (Ctrl+C). At this point the logs show:

      140919 15:12:54 [Warning] mysqld: Disk is full writing './mysql-bin.000055' (Errcode: 28 "No space left on device"). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)
      140919 15:12:54 [Warning] mysqld: Retry in 60 secs. Message reprinted in 600 secs
      140919 15:14:54 [Warning] mysqld: Disk is full writing './mysql-bin.000055' (Errcode: 28 "No space left on device"). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)
      140919 15:14:54 [Warning] mysqld: Retry in 60 secs. Message reprinted in 600 secs
      140919 15:24:54 [Warning] mysqld: Retry in 60 secs. Message reprinted in 600 secs

      I forgot about it until today (2 days later) and attempted to stop the service (service mysql stop), but realised the disk space issue is probably blocking it. I freed 7gb (actually free, not open files locking space!) and tried to stop it again, with no success.

      There appears to be no writes to the log or binlog.

      "strace" shows:

      futex(0x13a8904, FUTEX_WAIT_PRIVATE, 5, NULL) = -1 EAGAIN (Resource temporarily unavailable)
      futex(0x13a8904, FUTEX_WAIT_PRIVATE, 6, NULL

      Attachments

        Activity

          People

            elenst Elena Stepanova
            itccompliance Marc Gray
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.