Skip to content

Commit

Permalink
add max connections flag (#2037)
Browse files Browse the repository at this point in the history
  • Loading branch information
abby-cyber committed Apr 25, 2023
1 parent 8ac98ea commit 573fd22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ For all parameters and their current values, see [Configurations](1.configuratio
|`session_idle_timeout_secs` |`28800` | Specifies the time to expire an idle session. The value ranges from 1 to 604800. The default is 8 hours. This configuration is measured in seconds. | No|
|`num_accept_threads` |`1` | Specifies the number of threads that accept incoming connections. | No|
|`num_netio_threads` |`0` | Specifies the number of networking IO threads. `0` is the number of CPU cores. | No|
|`num_max_connections` |`0` |Max active connections for all networking threads. 0 means no limit.<br/>Max connections for each networking thread = num_max_connections / num_netio_threads|No|
|`num_worker_threads` |`0` | Specifies the number of threads that execute queries. `0` is the number of CPU cores. | No|
| `ws_ip` | `0.0.0.0` | Specifies the IP address for the HTTP service. | No|
| `ws_http_port` | `19669` | Specifies the port for the HTTP service. | No|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ For all parameters and their current values, see [Configurations](1.configuratio
| `query_concurrently` |`true`| Whether to turn on multi-threaded queries. Enabling it can improve the latency performance of individual queries, but it will reduce the overall throughput under high pressure. | Yes|
| `auto_remove_invalid_space` | `true` |After executing `DROP SPACE`, the specified graph space will be deleted. This parameter sets whether to delete all the data in the specified graph space at the same time. When the value is `true`, all the data in the specified graph space will be deleted at the same time.| Yes|
| `num_io_threads` | `16` | The number of network I/O threads used to send RPC requests and receive responses. | Yes|
|`num_max_connections` |`0` |Max active connections for all networking threads. 0 means no limit.<br/>Max connections for each networking thread = num_max_connections / num_netio_threads|No|
| `num_worker_threads` | `32` | The number of worker threads for one RPC-based Storage service. | Yes|
| `max_concurrent_subtasks` | `10` | The maximum number of concurrent subtasks to be executed by the task manager. | Yes|
| `snapshot_part_rate_limit` | `10485760` | The rate limit when the Raft leader synchronizes the stock data with other members of the Raft group. Unit: bytes/s. | Yes|
Expand Down

0 comments on commit 573fd22

Please sign in to comment.