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

add max connections flag #2687

Merged
merged 1 commit into from
Apr 3, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ Graph 服务提供了两份初始配置文件`nebula-graphd.conf.default`和`neb
|`session_idle_timeout_secs` |`28800` | 空闲会话的超时时间。取值范围为 1~604800。默认 8 小时。单位:秒。 |不支持|
|`num_accept_threads` |`1` | 接受传入连接的线程数。 |不支持|
|`num_netio_threads` |`0` | 网络 IO 线程数。`0`表示 CPU 核数。 |不支持|
|`num_max_connections` |`0` |所有网络线程的最大活动连接数,`0`表示没有限制。<br/>每个网络线程的最大连接数=`num_max_connections`/`num_netio_threads`。|不支持|
|`num_worker_threads` |`0` | 执行用户查询的线程数。`0`表示 CPU 核数。 |不支持|
| `ws_ip` | `0.0.0.0` | HTTP 服务的 IP 地址。 |不支持|
| `ws_http_port` | `19669` | HTTP 服务的端口。 |不支持|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ Storage 服务提供了两份初始配置文件`nebula-storaged.conf.default`和
| `query_concurrently` | `true` | 是否开启多线程查询。开启后可以提高单个查询的时延性能,但大压力下会降低整体的吞吐量。 |支持|
| `auto_remove_invalid_space` | `true` | 在执行`DROP SPACE`后,会删除指定图空间,该参数设置是否同时删除指定图空间内的所有数据。当值为`true`时,同时删除指定图空间内的所有数据。 |支持|
| `num_io_threads` | `16` | 网络 I/O 线程的数量,用于发送 RPC 请求和接收响应。 |支持|
|`num_max_connections` |`0` |所有网络线程的最大活动连接数,`0`表示没有限制。<br/>每个网络线程的最大连接数=`num_max_connections`/`num_netio_threads`。|不支持|
| `num_worker_threads` | `32` | Storage 的 RPC 服务的工作线程数量。 |支持|
| `max_concurrent_subtasks` | `10` | TaskManager 并发执行子任务的最大个数。 |支持|
| `snapshot_part_rate_limit` | `10485760` | Raft leader 向 Raft group 中其它成员同步存量数据时的限速。单位:字节/秒。 |支持|
Expand Down