Jira server functionality fails with No space left on device error

お困りですか?

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

コミュニティに質問

プラットフォームについて: 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 は除く

問題

All sorts of functionality in JIRA may fail once the disk runs on out space. The type of functionality that fails depends upon how the disks have been configured - for example:

  • JIRA may fail to startup
  • Items in the UI may be missing
  • Attachments cannot be uploaded
  • Reindexing may fail or perform very slowly

Depending on which partition is out of space (the JIRA-Home or JIRA-Install), JIRA will not be able to start up or items in the UI will be missing.

atlassian-jira.log に次のエラーが返される。

Caused by: java.io.IOException: No space left on device
	at java.io.FileOutputStream.writeBytes(Native Method)
	at java.io.FileOutputStream.write(FileOutputStream.java:282)
	at java.io.BufferedOutputStream.write(BufferedOutputStream.java:1

診断

If this exception is thrown, it indicates there's a problem with disk space. Locate the JIRA-Home and JIRA-Install directories and verify the amount of space left on these partitions. Additionally ensure the database server has sufficient disk space available.

原因

One of the two partitions, or the database server, is out of space, or does not have enough left for JIRA to operate normally.

ソリューション

JIRA will not necessarily gracefully recover from a disk space outage, it is highly likely corruption will occur. Databases are hardened against this, however JIRA is not designed to be able to be run with insufficient space on the disk.

  1. Immediately stop JIRA.
  2. Hosting JIRA indexes ($JIRA_HOME/caches/indexes)  over network shares is not officially supported as per our Supported platforms. If using a remote network share please move this to a locally mounted drive.
  3. Allocate more space where the directories and/or database is located and restart JIRA.
  4. Restore the last known working backup from prior to the outage.
  5. Install monitoring for the disk space to prevent this problem from happening again.
最終更新日 2019 年 9 月 25 日

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

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