owls8521
Active member
Elasticsearch was working fine for me for a few months... but then one day my web host had a problem, and the website crashed. I had to repair the Xenforo database, and then I restarted Elasticsearch. Everything seemed to be working fine. However, after maybe 30 minutes or so, Elasticsearch stopped working. Every time I restart it, it works for a while and then stops; and then I get this in Xenforo's server error log:
Does anyone have any idea why it would stop working after a crash when it was working fine before? I've spent a lot of time trying to fix it and haven't gotten anywhere. Any help is greatly appreciated.
I've looked at as many logs as I could find, and I know that the java virtual machine is crashing because of this message:XenForo_Exception: Elasticsearch server returned no response. Is it running? - library/XenES/Search/SourceHandler/ElasticSearch.php:850
I've even tried using different versions of Java and it doesn't make a difference. The other version I tried was 8.0_25.# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fe7a2a37dc3, pid=21651, tid=140630601455360
#
# JRE version: OpenJDK Runtime Environment (8.0_31-b13) (build 1.8.0_31-b13)
# Java VM: OpenJDK 64-Bit Server VM (25.31-b07 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x421dc3]
Does anyone have any idea why it would stop working after a crash when it was working fine before? I've spent a lot of time trying to fix it and haven't gotten anywhere. Any help is greatly appreciated.