Hi,

it looks like the journal has been corrupted and Graylog tries to read lots 
more data from it than fits into memory. Deleting the journal files and 
restarting Graylog should fix this problem.


Cheers,
Jochen

On Thursday, 24 December 2015 11:46:59 UTC+1, Scarlet Eza wrote:
>
> Dear all,
> My server operate well for a long time. But now when I can not search any 
> log on website. There no logs.
> When I access System --> Nodes I found that Graylog received log but can 
> not handle it. Please help to check attach file.
>
> When I restart graylog-server service, I receive log as below:
>
> java.lang.OutOfMemoryError: Java heap space
>         at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:57)
>         at java.nio.ByteBuffer.allocate(ByteBuffer.java:335)
>         at 
> kafka.log.FileMessageSet$$anon$1.makeNext(FileMessageSet.scala:188)
>         at 
> kafka.log.FileMessageSet$$anon$1.makeNext(FileMessageSet.scala:165)
>         at 
> kafka.utils.IteratorTemplate.maybeComputeNext(IteratorTemplate.scala:66)
>         at kafka.utils.IteratorTemplate.hasNext(IteratorTemplate.scala:58)
>         at 
> org.graylog2.shared.journal.KafkaJournal.read(KafkaJournal.java:470)
>         at 
> org.graylog2.shared.journal.KafkaJournal.read(KafkaJournal.java:435)
>         at 
> org.graylog2.shared.journal.JournalReader.run(JournalReader.java:136)
>         at 
> com.google.common.util.concurrent.AbstractExecutionThreadService$1$2.run(AbstractExecutionThreadService.java:60)
>         at 
> com.google.common.util.concurrent.Callables$3.run(Callables.java:95)
>         at java.lang.Thread.run(Thread.java:745)
>
> It relate about graylog heap size???
> Elasticsearch is green, I think another things will be ok. Please help to 
> check and advise me. Thanks.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/ae83b1fd-ae4d-4427-92d2-c6ed7dfc981a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to