kafka.common.KafkaStorageException: I/O exception in append to log 'messagejournal-0'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by gitfrederic
, 1 year ago
I/O exception in append to log 'messagejournal-0'
via mail-archive.com by Unknown author, 2 years ago
via Stack Overflow by Francisco
, 1 year ago
via Stack Overflow by kaushik H S
, 2 months ago
I/O exception in append to log 'store_sales-16'
via Stack Overflow by eric zhao
, 1 year ago
I/O exception in append to log '__consumer_offsets-38'
java.io.FileNotFoundException: /app/graylog-server/data/journal/messagejournal-0/00000000007602215471.index (Too many open files)
at java.io.RandomAccessFile.open0(Native Method)
at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
at java.io.RandomAccessFile.(RandomAccessFile.java:243)
at kafka.log.OffsetIndex$$anonfun$resize$1.apply(OffsetIndex.scala:277)
at kafka.log.OffsetIndex$$anonfun$resize$1.apply(OffsetIndex.scala:276)
at kafka.utils.Utils$.inLock(Utils.scala:535)
at kafka.log.OffsetIndex.resize(OffsetIndex.scala:276)
at kafka.log.OffsetIndex$$anonfun$trimToValidSize$1.apply$mcV$sp(OffsetIndex.scala:265)
at kafka.log.OffsetIndex$$anonfun$trimToValidSize$1.apply(OffsetIndex.scala:265)
at kafka.log.OffsetIndex$$anonfun$trimToValidSize$1.apply(OffsetIndex.scala:265)
at kafka.utils.Utils$.inLock(Utils.scala:535)
at kafka.log.OffsetIndex.trimToValidSize(OffsetIndex.scala:264)
at kafka.log.Log.roll(Log.scala:563)
at kafka.log.Log.maybeRoll(Log.scala:539)
at kafka.log.Log.append(Log.scala:306)
at org.graylog2.shared.journal.KafkaJournal.write(KafkaJournal.java:411)
at org.graylog2.shared.buffers.JournallingMessageHandler.writeToJournal(JournallingMessageHandler.java:113)
at org.graylog2.shared.buffers.JournallingMessageHandler.onEvent(JournallingMessageHandler.java:96)
at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:129)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

6 times, 2 months ago
Once, 5 months ago
Once, 7 months ago
4 times, 9 months ago
3 times, 10 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.