Attachments get not enough disk space when 13 GB free on attachment folder drive

We get random errors for not enough disk space when attaching files to JIRA issue. The drive that has the attachment folder  has 13 GB free and the files sizes are usually under 198MB. Is there a bug with JIRA older versions?


Caused by: There is not enough space on the disk
at Method)
at org.apache.lucene.index.SegmentInfos.write(
at org.apache.lucene.index.SegmentInfos.prepareCommit(
at org.apache.lucene.index.IndexWriter.startCommit(
at org.apache.lucene.index.IndexWriter.prepareCommit(
at org.apache.lucene.index.IndexWriter.commitInternal(
at org.apache.lucene.index.IndexWriter.commit(
at org.apache.lucene.index.IndexWriter.commit(
at com.atlassian.jira.index.WriterWrapper.commit(
... 342 more

2 answers

0 votes
Sam Caldwell Atlassian Team Oct 09, 2015


I assume you are in Linux.  If not this won't apply.  But if so have you checked your inodes?  Use "df -i"  I can't tell you the number of times I have had a file system tell me I had free space when I ran "df" only to find out all the inodes were used.  If your inodes are all used up, I might suggest taking the system offline and using "fsck" to clean things up.

We are on Wondows 2008 server latest updates

0 votes

Windows is known to be really bad at reporting on disk problems in some cases.

As Sam describes, Linux can be a bit obscure - it says "out of space" when it's genuinely out of space, but also does it when out of inodes (which is very different, but the error messages are misleading).  But that's 2 causes.  Windows will throw "out of space" on all sorts of silly errors.

Start with a quick check - most silly errors only happen on genuinely low disk space.  Forget the absolute space of 13Gb free - what is the proportion?  Is 13Gb more or less than 5% of the total (formatted) disk space available?  If it's under 5% (as reported by the windows disk overview), then that's where spurious errors happen.  Free up some space to get back up above 5%.

If 13Gb is less than 5% of the total disk, then you'll need to start digging through system logs to find out why Windows is lying to the JVM

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

393 views 6 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you