'Not enough space on disk' errors in Confluence 6.5 or later when disk space is available

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

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.

*Fisheye および Crucible は除く

問題

Confluence 6.5 or later throws "not enough space on disk" errors in Linux operating systems, but there is plenty of free space available on the file system.

You see errors similar to this in the atlassian-confluence.log:

Caused by: java.io.IOException: There is not enough space on the disk


診断

環境

This problem affects Confluence instances running on Linux with EXT2, EXT3 or EXT4 file systems. 

Diagnostic steps

Run the following command to check inode usage in your file system.

df -i

This will enable to you check whether you have exhausted the inode allocation for the file system where your <home-directory>/attachments directory (or <shared-home>/attachments in the case of Data Center instances) is located.

原因

When creating an EXT2, EXT3, or EXT4 file system a fixed number of inodes are allocated (essentially limiting the total number of files and directories that can be created on the file system, regardless of size). When files are uploaded to pages, Confluence creates a series of directories and stores a file for each version of the file, plus an additional file containing text extracted from the latest version (if it happens to be a text-based file), for indexing purposes. These files are generally quite small, so over time this can add up to a lot of individual files and directories, and may mean you run out of inodes.

ソリューション

To resolve this issue, you will likely need to migrate your home directory to another file system or disk partition that has been provisioned with a greater number of inodes, or to a file system type that does not reserve a fixed amount of inodes (such as XFS, JFS etc).


最終更新日: 2018 年 1 月 25 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.