Skip to content

Commit

Permalink
Merge pull request #15 from whitewum/minor-fix
Browse files Browse the repository at this point in the history
minor fix errors
  • Loading branch information
Amber1990Zhang committed May 11, 2020
2 parents 94ffb8c + 978ea8e commit b60a79c
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 20 deletions.
38 changes: 20 additions & 18 deletions docs/manual-CN/1.overview/2.quick-start/2.FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@

本文档列出了 **Nebula Graph** 常见问题。如果您没有在文档中找到需要的信息,请尝试在 Nebula Graph [官方论坛](https://discuss.nebula-graph.com.cn/)搜索[用户问答](https://discuss.nebula-graph.com.cn/c/users/5)标签。

- [常见问题](#%e5%b8%b8%e8%a7%81%e9%97%ae%e9%a2%98)
- [Trouble Shooting](#trouble-shooting)
- [服务器参数配置](#%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%8f%82%e6%95%b0%e9%85%8d%e7%bd%ae)
- [配置文件](#%e9%85%8d%e7%bd%ae%e6%96%87%e4%bb%b6)
- [partition 分布不均](#partition-%e5%88%86%e5%b8%83%e4%b8%8d%e5%9d%87)
- [日志和更改日志级别](#%e6%97%a5%e5%bf%97%e5%92%8c%e6%9b%b4%e6%94%b9%e6%97%a5%e5%bf%97%e7%ba%a7%e5%88%ab)
- [使用多块硬盘](#%e4%bd%bf%e7%94%a8%e5%a4%9a%e5%9d%97%e7%a1%ac%e7%9b%98)
- [进程异常 crash](#%e8%bf%9b%e7%a8%8b%e5%bc%82%e5%b8%b8-crash)
- [使用 Docker 启动后,执行命令时报错](#%e4%bd%bf%e7%94%a8-docker-%e5%90%af%e5%8a%a8%e5%90%8e%e6%89%a7%e8%a1%8c%e5%91%bd%e4%bb%a4%e6%97%b6%e6%8a%a5%e9%94%99)
- [单机先后加入两个不同集群](#%e5%8d%95%e6%9c%ba%e5%85%88%e5%90%8e%e5%8a%a0%e5%85%a5%e4%b8%a4%e4%b8%aa%e4%b8%8d%e5%90%8c%e9%9b%86%e7%be%a4)
- [连接失败](#%e8%bf%9e%e6%8e%a5%e5%a4%b1%e8%b4%a5)
- [Could not create logging file:... Too many open files](#could-not-create-logging-file-too-many-open-files)
- [如何查看 Nebula Graph 版本信息](#%e5%a6%82%e4%bd%95%e6%9f%a5%e7%9c%8b-nebula-graph-%e7%89%88%e6%9c%ac%e4%bf%a1%e6%81%af)
- [修改配置文件不生效](#%e4%bf%ae%e6%94%b9%e9%85%8d%e7%bd%ae%e6%96%87%e4%bb%b6%e4%b8%8d%e7%94%9f%e6%95%88)
- [修改 RocksDB block cache](#%e4%bf%ae%e6%94%b9-rocksdb-block-cache)
- [使用 CentOS 6.5 Nebula 服务失败](#%e4%bd%bf%e7%94%a8-centos-65-nebula-%e6%9c%8d%e5%8a%a1%e5%a4%b1%e8%b4%a5)
- [General Information](#general-information)
- [查询返回时间解释](#%e6%9f%a5%e8%af%a2%e8%bf%94%e5%9b%9e%e6%97%b6%e9%97%b4%e8%a7%a3%e9%87%8a)
- [常见问题](#%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98)
- [Trouble Shooting](#Trouble-Shooting)
- [服务器参数配置](#%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%8F%82%E6%95%B0%E9%85%8D%E7%BD%AE)
- [配置文件](#%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6)
- [partition 分布不均](#partition-%E5%88%86%E5%B8%83%E4%B8%8D%E5%9D%87)
- [日志和更改日志级别](#%E6%97%A5%E5%BF%97%E5%92%8C%E6%9B%B4%E6%94%B9%E6%97%A5%E5%BF%97%E7%BA%A7%E5%88%AB)
- [使用多块硬盘](#%E4%BD%BF%E7%94%A8%E5%A4%9A%E5%9D%97%E7%A1%AC%E7%9B%98)
- [进程异常 crash](#%E8%BF%9B%E7%A8%8B%E5%BC%82%E5%B8%B8-crash)
- [使用 Docker 启动后,执行命令时报错](#%E4%BD%BF%E7%94%A8-Docker-%E5%90%AF%E5%8A%A8%E5%90%8E%E6%89%A7%E8%A1%8C%E5%91%BD%E4%BB%A4%E6%97%B6%E6%8A%A5%E9%94%99)
- [单机先后加入两个不同集群](#%E5%8D%95%E6%9C%BA%E5%85%88%E5%90%8E%E5%8A%A0%E5%85%A5%E4%B8%A4%E4%B8%AA%E4%B8%8D%E5%90%8C%E9%9B%86%E7%BE%A4)
- [连接失败](#%E8%BF%9E%E6%8E%A5%E5%A4%B1%E8%B4%A5)
- [Could not create logging file:... Too many open files](#Could-not-create-logging-file-Too-many-open-files)
- [如何查看 Nebula Graph 版本信息](#%E5%A6%82%E4%BD%95%E6%9F%A5%E7%9C%8B-Nebula-Graph-%E7%89%88%E6%9C%AC%E4%BF%A1%E6%81%AF)
- [修改配置文件不生效](#%E4%BF%AE%E6%94%B9%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E4%B8%8D%E7%94%9F%E6%95%88)
- [修改 RocksDB block cache](#%E4%BF%AE%E6%94%B9-RocksDB-block-cache)
- [使用 CentOS 6.5 Nebula 服务失败](#%E4%BD%BF%E7%94%A8-CentOS-65-Nebula-%E6%9C%8D%E5%8A%A1%E5%A4%B1%E8%B4%A5)
- [General Information](#General-Information)
- [查询返回时间解释](#%E6%9F%A5%E8%AF%A2%E8%BF%94%E5%9B%9E%E6%97%B6%E9%97%B4%E8%A7%A3%E9%87%8A)

## Trouble Shooting

Expand All @@ -41,6 +41,8 @@ nebula> SHOW CONFIGS;

配置文件默认在 `/usr/local/nebula/etc/` 下。

配置参考[本节](../../3.build-develop-and-administration/3.configurations/0.system-requirement.md)及之后几节。

[[] 回到顶部](#常见问题)

### partition 分布不均
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

## 资源估算

* 存储空间(全集群):边数量 平均边属性的字节数 * 2.5
* 存储空间(全集群):边数量 * 平均边属性的字节数 * 2.5
* 内存(全集群):边数量 * 4 字节 + RocksDB 实例数量 * (write_buffer_size * max_write_buffer_number + rocksdb_block_cache), 其中 `etc/nebula-storaged.conf` 文件中 `--data_path` 项中的每个目录对应一个 RocksDB 实例
* 图空间 partition 数量:全集群硬盘数量 * (2 至 10 —— 硬盘越好该值越大)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
`ws_http_port` | 11000 | HTTP 协议监听端口 (内部使用)
`ws_h2_port` | 11002 | HTTP/2 协议监听端口 (内部使用)
`ws_ip` | "127.0.0.1" | web service 绑定地址
`heartbeat_interval_secs` | 10 (秒) | 与 Storage-config 文件中的该项需一致

## storage 元信息持久化相关

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ nebula> UPDATE CONFIGS storage:v=1;
`ws_http_port` | 12000 | HTTP 协议监听端口 (内部使用) |
`ws_h2_port` | 12002 | HTTP/2 协议监听端口 (内部使用) |
`ws_ip` | "127.0.0.1" | web service 绑定地址 |
`heartbeat_interval_secs` | 10 (秒) | 与 meta service 心跳 | UPDATE CONFIGS 命令修改,下个心跳周期生效
`heartbeat_interval_secs` | 10 (秒) | 与 meta service 的心跳,需和 Meta-config 文件中的该项一致 | UPDATE CONFIGS 命令修改,下个心跳周期生效
`raft_heartbeat_interval_secs` | 5 (秒) | RAFT 选举通信超时时间 | 修改配置文件重启| |
`raft_rpc_timeout_ms` | 500 (ms) | RAFT RPC 通信超时 | 修改配置文件重启| |

Expand Down

0 comments on commit b60a79c

Please sign in to comment.