Skip to content

Commit

Permalink
add a memory configuration param (#1062)
Browse files Browse the repository at this point in the history
change the default value to 0.9
  • Loading branch information
abby-cyber authored Oct 15, 2021
1 parent 6e70a2d commit de2f46a
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ Graph服务提供了两份初始配置文件`nebula-graphd.conf.default`和`nebu
| `daemonize` | `true` | 是否启动守护进程。 |
| `pid_file` | `pids/nebula-graphd.pid`| 记录进程ID的文件。 |
|`enable_optimizer` |`true` | 是否启用优化器。|
| `system_memory_high_watermark_ratio` | - |内存高水位报警机制的触发阈值,默认为`0.8`。系统内存占用率高于该值会触发报警机制,Nebula Graph会停止接受查询。初始配置文件中未设置该参数,使用需手动添加。|
| `timezone_name` | - | 指定Nebula Graph的时区。初始配置文件中未设置该参数,使用需手动添加。系统默认值为`UTC+00:00:00`。格式请参见[Specifying the Time Zone with TZ](https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html "Click to view the timezone-related content in the GNU C Library manual")。例如,东八区的设置方式为`--timezone_name=UTC+08:00`|
| `local_config` | `true` | 是否从配置文件获取配置信息。 |

Expand Down Expand Up @@ -94,6 +93,12 @@ Graph服务提供了两份初始配置文件`nebula-graphd.conf.default`和`nebu
|`enable_authorize` |`false` |用户登录时是否进行身份验证。身份验证详情请参见[身份验证](../../7.data-security/1.authentication/1.authentication.md)|
|`auth_type` |`password` |用户登录的身份验证方式。取值为`password``ldap``cloud`|

## memory配置

| 名称 | 预设值 | 说明 |
| ------------------- | ------------------------ | ------------------------------------------ |
| `system_memory_high_watermark_ratio` | - |内存高水位报警机制的触发阈值,默认为`0.9`。系统内存占用率高于该值会触发报警机制,Nebula Graph会停止接受查询。|

## experimental配置

| 名称 | 预设值 | 说明 |
Expand Down

0 comments on commit de2f46a

Please sign in to comment.