New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server crashed at startup in CentOS 7.6 #981
Comments
Could you print the content of milvus-20-01-09-18:17-error.log and milvus-20-01-09-18:17-debug.log? |
tail -f logs/milvus-20-01-09-18:17-debug.log error log no content |
Is seems crash at startup during initialize. Could you print the content of server_config.yaml? |
I just configured backend_url.
|
The global.log shows you are "Using SQLite", but the server_config.yaml backend_url is mysql, it is weird. |
I tried it twice, the first time using sqlite and the second time using mysql. The configuration using sqlite is the default. All failed. I recompiled the source from git, and the compilation was successful, but the startup still failed. |
What is your operating system? We recommend Ubuntu18.04. Before compiling the code, please run milvus/core/ubuntu_build_deps.sh firstly. |
My operating system is CentOS Linux release 7.6.1810,and I ran core / centos7_build_deps.sh before compiling. I will try to debug it using gdb. |
GNU gdb (GDB) Red Hat Enterprise Linux 8.0.1-36.el7
/ |/ / / /| | / / / / / __/ Welcome to Milvus! Loading configuration from: ../conf/server_config.yaml Thread 1 "milvus_server" received signal SIGSEGV, Segmentation fault. [Thread 0x7fffeca5f700 (LWP 174314) exited] |
I do some test on CentOS docker container(We have public docker images for milvus build environment). Firstly pull CentOS images:
then start a container from this image, and download milvus source code to compile. I use sqlite to run milvus, seems everything is ok.
|
Your crash point is in MySQl initialize phase. From the call stack I could not get the root cause of the crash.
Start MySQL container:
Login and create database for milvus:
Change server_config.yaml to use mysql:
Start milvus to test. |
I tried and failed. Then I used the debug parameter to compile the source, and debugged with gdb. Thread 1 "milvus_server" received signal SIGSEGV, Segmentation fault. |
Please check your boost library version. Typically the boost library is installed in /usr/lib64 for CentOS. We require boost library version not less than 1.53.
|
I found two boost installed on my machine, 1.53 on / usr / lib64 and 1.67 on / usr / local / lib, I moved that 1.67 and recompiled the source code, finally run successfully.Thanks! |
Great! |
Welcome to Milvus!
Milvus Release version: v0.6.0, built at 2020-01-09 18:06.24, with OpenBLAS library.
You are using Milvus CPU edition
Last commit id: 4a116a6
Loading configuration from: conf/server_config.yaml
Initializing log config from: conf/log_config.conf
MinIO DISABLED !
Milvus server is going to shutdown ...
Milvus server exit...
tail -f logs/milvus-20-01-09-18:17-global.log -n 1000
2020-01-09 18:17:15,135 | INFO | default | [SERVER] Milvus Release version: v0.6.0, built at 2020-01-09 18:06.24
2020-01-09 18:17:15,135 | INFO | default | [SERVER] CPU edition
2020-01-09 18:17:15,141 | INFO | default | [ENGINE] Using SQLite
2020-01-09 18:17:15,141 | INFO | default | [SERVER] Server received critical signal: 11
2020-01-09 18:17:15,141 | INFO | default | [SERVER] Call stack:
2020-01-09 18:17:15,141 | INFO | default | [SERVER] bin/milvus_server() [0x53e674]
2020-01-09 18:17:15,141 | INFO | default | [SERVER] bin/milvus_server() [0x53ed98]
2020-01-09 18:17:15,141 | INFO | default | [SERVER] /lib64/libc.so.6(+0x363b0) [0x7fccb6f113b0]
2020-01-09 18:17:15,141 | INFO | default | [SERVER] bin/milvus_server() [0x5b976f]
2020-01-09 18:17:15,142 | INFO | default | [SERVER] bin/milvus_server() [0x5c3efd]
2020-01-09 18:17:15,142 | INFO | default | [SERVER] bin/milvus_server() [0x5c413d]
2020-01-09 18:17:15,142 | INFO | default | [SERVER] bin/milvus_server() [0x59501d]
2020-01-09 18:17:15,142 | INFO | default | [SERVER] bin/milvus_server() [0x5724ff]
2020-01-09 18:17:15,142 | INFO | default | [SERVER] bin/milvus_server() [0x56bb7f]
2020-01-09 18:17:15,142 | INFO | default | [SERVER] bin/milvus_server() [0x4ae7eb]
2020-01-09 18:17:15,142 | INFO | default | [SERVER] bin/milvus_server() [0x4b0a83]
2020-01-09 18:17:15,142 | INFO | default | [SERVER] bin/milvus_server() [0x4b1d27]
2020-01-09 18:17:15,142 | INFO | default | [SERVER] bin/milvus_server() [0x423cff]
2020-01-09 18:17:15,142 | INFO | default | [SERVER] /lib64/libc.so.6(__libc_start_main+0xf5) [0x7fccb6efd505]
2020-01-09 18:17:15,142 | INFO | default | [SERVER] bin/milvus_server() [0x42b4f7]
The text was updated successfully, but these errors were encountered: