Index snapshot failed due to insufficient space on the storage

お困りですか?

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

コミュニティに質問

 

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

問題

Copying index from node to node is failing with message No space left on device. This is also applicatable for creation of index recovery snapshot. 

log に次のメッセージが出力される。

2016-06-10 08:47:00,311 ClusterMessageHandlerServiceThread:thread-1 ERROR      [atlassian.jira.cluster.OfBizMessageHandlerService] There was a problem handling a cluster message
java.lang.RuntimeException: java.io.IOException: No space left on device
    at com.atlassian.jira.index.ha.IndexUtils.copySpecificIndex(IndexUtils.java:256)
	at com.atlassian.jira.index.ha.IndexUtils.copyIndexes(IndexUtils.java:173)
	at com.atlassian.jira.index.ha.IndexUtils.takeIndexSnapshot(IndexUtils.java:127)
	at com.atlassian.jira.index.ha.DefaultIndexCopyService$MessageConsumer.copyIndex(DefaultIndexCopyService.java:164)
	at com.atlassian.jira.index.ha.DefaultIndexCopyService$MessageConsumer.backupIndex(DefaultIndexCopyService.java:142)
	at com.atlassian.jira.index.ha.DefaultIndexCopyService$MessageConsumer.backupIndex(DefaultIndexCopyService.java:124)
	...
 
Caused by: java.io.IOException: No space left on device
	at java.io.RandomAccessFile.writeBytes(Native Method)
	at java.io.RandomAccessFile.write(RandomAccessFile.java:525)
	at org.apache.lucene.store.FSDirectory$FSIndexOutput.flushBuffer(FSDirectory.java:448)
	at org.apache.lucene.store.BufferedIndexOutput.flushBuffer(BufferedIndexOutput.java:99)
	at org.apache.lucene.store.BufferedIndexOutput.flush(BufferedIndexOutput.java:88)
	at org.apache.lucene.store.BufferedIndexOutput.close(BufferedIndexOutput.java:113)
	at org.apache.lucene.store.FSDirectory$FSIndexOutput.close(FSDirectory.java:457)
	at org.apache.lucene.util.IOUtils.closeSafely(IOUtils.java:118)
	at org.apache.lucene.index.FieldsWriter.close(FieldsWriter.java:127)
	at org.apache.lucene.index.SegmentMerger.mergeFields(SegmentMerger.java:251)
	at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:107)
	at org.apache.lucene.index.IndexWriter.addIndexes(IndexWriter.java:3080)
	at com.atlassian.jira.index.ha.IndexUtils.copySpecificIndex(IndexUtils.java:247)
	... 17 more

診断

環境

  • Different partitions for <JIRA_INSTALL> and <JIRA_HOME> are used.

原因

During creating the snapshot of the index it is created in java.io.tmpdir directory, by default it set to CATALINA_BASE/temp (<JIRA_INSTALL>/temp).

回避策

  • Set in bin/setenv.sh CATALINA_TMPDIR variable and point to directory at <JIRA_HOME> partition. 
  • .nix 環境の場合はシンボリック リンクを作成できます。

ソリューション

Please check that partition for <JIRA_INSTALL> has enough space.

最終更新日: 2016 年 10 月 4 日

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

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