SOLR:索引的例外编写文档ID XXX
可能的分析错误: 引起:java.io.io exception:设备上没有剩余的空间 enter Image Description
也有自由空间。我应该如何解决这个问题?请帮我。
possible analysis error:
Caused by: java.io.IOException: No space left on device
enter image description here
But I check linux memory by using the command of 'df -h' and 'df -i'.It have free space.And the Solr JVM Memory have free space too. How should I solve this problem? Please help me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
合并索引文件时,它没有足够的可用空间。您的堆栈跟踪表明,当Lucene试图将索引文件合并到一个文件中时,这正在发生。常规案例将在磁盘上至少需要足够的可用空间来复制索引,但是您应该尝试将至少2倍的索引尺寸作为可用空间(因此,总共可用的磁盘空间应为3倍,预期索引尺寸)。
合并索引文件需要获取现有索引,然后将内容合并到新的索引文件中,然后删除旧文件 - 因此,在合并完成后,Lucene使用了2倍索引的磁盘空间(因为它有效地具有两个在删除先前的索引之前,索引)可以启动。
It doesn't have enough free space when merging the index files. Your stack trace shows that this is happening when Lucene attempts to merge the index files into a single file. The regular case will require at least enough free space on the disk to duplicate the index, but you should try to have at least 2x the index size available as free space (so in total, disk space available to solr should be 3x the expected index size).
Merging the index files requires taking the existing index, then merging the content into a new index file, and then removing the old files - so after the merge has completed, Lucene have used 2x the disk space of the index (since it effectively has two indexes present) before removal of the previous index can start.