Unable to rebuild_index elasticsearch with Django Haystack: 'Connection refused' Unable to rebuild_index elasticsearch with Django Haystack: 'Connection refused' elasticsearch elasticsearch

Unable to rebuild_index elasticsearch with Django Haystack: 'Connection refused'


The fact that elasticsearch stops listening on a port is a testament that the problem lies there (it might not be the root cause but it's the current lead). You need to get more info about what is happening there.


Try to update open-jdk to last version. And could you show logs from /tmp/hs_err_pid3481.log ?


# A fatal error has been detected by the Java Runtime Environment:##  Internal Error (cppInterpreter_arm.S:2625), pid=3481, tid=625996896#  fatal error:         *** Unimplemented opcode: 232 = <unknown>## JRE version: OpenJDK Runtime Environment (7.0_95) (build 1.7.0_95-b00)# Java VM: OpenJDK Zero VM (24.95-b01 mixed mode linux-arm )# Derivative: IcedTea 2.6.4# Distribution: Raspbian GNU/Linux 8.0 (jessie), package 7u95-2.6.4-1~deb8u1+rpi1# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again## An error report file with more information is saved as:# /tmp/hs_err_pid3481.log## If you would like to submit a bug report, please include# instructions on how to reproduce the bug and visit:#   http://icedtea.classpath.org/bugzilla#

That seems a bug in openjdk 1.7. There are people encountered the same issue: https://discuss.elastic.co/t/openjdk-on-arm-crashes-elastic/27283

The solution is to upgrade your jvm.