Skip to content
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

Update 0.FAQ.md #2407

Merged
merged 3 commits into from
Dec 26, 2022
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions docs-2.0/20.appendix/0.FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,36 @@ NebulaGraph {{ nebula.release }} 未提供运维命令以实现自动扩缩容

`OFFLINE` 状态的 Host 将在一天后自动删除。

### 如何查看 dmp 文件?

dmp 文件是错误报告文件,详细记录了进程退出的信息,可以用操作系统自带的 gdb 工具查看。Coredump 文件默认保存在启动二进制的当前目录下(默认为`/usr/local/nebula`目录),在 NebulaGraph 服务 crash 时,系统会自动生成。

1. 查看 Core 文件进程名字,pid 一般为数值。
```
$ file core.<pid>
foesa-yang marked this conversation as resolved.
Show resolved Hide resolved
```
2. 使用 gdb 调试。
```
$ gdb <process.name> core.<pid>
```
3. 查看文件内容。
```
$(gdb) bt
```
例如:

```bash
$ file core.624
core.624: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/local/nebula', real uid: 0, effective uid: 0, real gid: 0, effective gid: 0, execfn: '/usr/local/nebula', platform: 'x86_64'
$ gdb /usr/local/nebula core.624
$(gdb) bt
...
warning: File "/usr/lib64/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load:/usr/share/gdb/auto-load".
...
```

如果用户不清楚 dmp 打印出来的相关信息,可以将打印出来的内容,带上操作系统版本、硬件配置、Core文件产生前后的错误日志和可能导致错误的操作贴在 [NebulaGraph 论坛](https://discuss.nebula-graph.com.cn/)上寻求帮助。

## 关于连接

### 防火墙中需要开放哪些端口?
Expand Down