AnyQ icon indicating copy to clipboard operation
AnyQ copied to clipboard

solr启动出错

Open hitzhs opened this issue 5 years ago • 8 comments

4370 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.schema.IndexSchema – [collection1] Schema name=example

A fatal error has been detected by the Java Runtime Environment:

SIGILL (0x4) at pc=0x00007feb1f99806e, pid=25314, tid=0x00007feb349b8700

JRE version: Java(TM) SE Runtime Environment (8.0_171-b11) (build 1.8.0_171-b11) Java VM: Java HotSpot(TM) 64-Bit Server VM (25.171-b11 mixed mode linux-amd64 compressed oops) Problematic frame: C [libpaddle_fluid.so+0xa8a06e] _ZN6paddle9framework17OperatorRegistrarII31_OpClass_polygon_box_transform_NS_9operators26PolygonBoxTransformOpMakerENS0_16EmptyGradOpMakerEEEC1EPKc+0x42e

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: /opt/soft/AnyQ/build/hs_err_pid25314.log

If you would like to submit a bug report, please visit: http://bugreport.java.com/bugreport/crash.jsp The crash happened outside the Java Virtual Machine in native code. See problematic frame for where to report the bug.

hitzhs avatar Mar 26 '19 09:03 hitzhs

在docker、物理机上部署都出现了同样的错误

hitzhs avatar Mar 26 '19 09:03 hitzhs

image

hitzhs avatar Mar 26 '19 12:03 hitzhs

image

hitzhs avatar Mar 27 '19 02:03 hitzhs

建议在centos7系统上试试,centos6容易失败。

ljch2018 avatar Apr 04 '19 03:04 ljch2018

建议在centos7系统上试试,centos6容易失败。

我们是在CentOS7.3系统上部署的,但还是失败了

hitzhs avatar Apr 04 '19 06:04 hitzhs

我碰到类似的问题,请问这个问题解决了吗 @hitzhs

kimjuny avatar May 07 '19 08:05 kimjuny

很大的可能是CPU不支持AVX指令集造成的, cat /proc/cpuinfo | grep avx 如果上面的命令没有任何输出, 就会导致默认编译的anyq-solr无法正常运行. anyq的solr依赖paddle, paddle默认编译开启了WITH_AVX. 我虽然修改cmake/external/paddle.cmake了之后, 重新编译生成libpaddle_fluid.so, 但是还是启动失败. 最后更换成支持AVX的虚拟机解决问题.

hereisok avatar Dec 18 '19 03:12 hereisok

jdk 换成 32 位试试

oduoge avatar Dec 30 '19 08:12 oduoge