imbajin commented on code in PR #528: URL: https://github.com/apache/hugegraph-doc/pull/528#discussion_r4296869575
########## content/en/docs/config/config-option.md: ########## @@ -327,14 +327,23 @@ Basic Config Options and Backend Config Options correspond to configuration file > | k8s.internal_algorithm_image_url | Empty | Image URL for built-in > Kubernetes algorithms. | > [!DETAILS]- **Arthas Diagnostic Config Options (Optional)** -> Corresponding configuration file `rest-server.properties` +> Corresponding configuration file: `rest-server.properties`. +> Starting with HugeGraph 1.8.0. +> +> | Config option | Default value | Description | +> |---------------|---------------|-------------| +> | arthas.telnet_port | 8562 | Arthas telnet port for administrator activation through `PUT /arthas`. | +> | arthas.http_port | 8561 | Arthas HTTP port for administrator activation. | +> | arthas.ip | 127.0.0.1 | Loopback bind address; activation rejects non-loopback addresses. | +> | arthas.disabled_commands | jad | Disabled Arthas commands, separated by commas. | Review Comment: Scoped `arthas.disabled_commands` to administrator activation through `PUT /arthas` in both EN and CN `config-option.md`, and noted that the local helper does not apply these options. ########## content/cn/docs/quickstart/hugegraph/hugegraph-hstore.md: ########## @@ -265,12 +265,20 @@ Store 使用无界队列处理 gRPC 回调,避免队列满时丢弃取消或 **诊断** -| 配置项 | 代码默认值 | 说明 | -|--------|------------|------| -| `arthas.telnetPort` | `8566` | 调用 `/v1/arthasstart` 后 Arthas 的 telnet 端口。 | -| `arthas.httpPort` | `8565` | Arthas HTTP 端口。 | -| `arthas.ip` | `0.0.0.0` | Arthas 监听地址。 | -| `arthas.disabledCommands` | `jad` | 需要禁用的 Arthas 命令。 | +自 HugeGraph 1.8.0 起,Server 和 Store 统一使用 Arthas 4.1.5,PD 未内置 Arthas 代理。Store 的 HTTP 激活接口 `GET /v1/arthasstart` 返回 `403`(包括 loopback 或代理请求)。 +推荐以服务进程所属的 OS 用户运行发行包内的脚本,即可直接诊断运行中的 JVM: + +```bash +bin/arthas.sh +``` + +脚本读取 `bin/pid`,需要 JDK 17,离线使用包内代理,无需重启服务或修改配置。 +新激活代理时,Telnet 固定监听 `127.0.0.1:3658`,HTTP 和 MCP 均禁用。同机多进程时可指定 `--pid <PID> --telnet-port 3659`。 Review Comment: Changed `固定监听` to `默认监听 127.0.0.1:3658` in `hugegraph-hstore.md` to accurately reflect that custom ports can be passed via `--telnet-port`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
