Skip to content

Commit 2355f1a

Browse files
hengyunabcactions-user
authored andcommitted
Prettified Code!
1 parent 2f5ab94 commit 2355f1a

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

site/docs/doc/faq.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
日志文件路径: `~/logs/arthas/arthas.log`
1010

11-
1211
### telnet: connect to address 127.0.0.1: Connection refused
1312

1413
1. 检查日志 `~/logs/arthas/arthas.log`
@@ -17,19 +16,16 @@
1716
4. 如果`LISTEN 3658` 端口的进程不是 `java` 进程,则`3658`端口已经被占用。需要在`as.sh`/`arthas-boot.jar` 的启动参数指定其它端口。
1817
5. 确认进程和端口后,尝试用`telnet 127.0.0.1 3658`去连接
1918

20-
2119
本质上`arthas`会在应用java进程内启动一个`tcp server`,然后使用`telnet`去连接它。
2220

2321
1. 可能端口不匹配
2422
2. 可能进程本身已经挂起,不能接受新连接
2523

26-
2724
如果Arthas 日志里有 `Arthas server already bind.`
2825

2926
1. 说明`Arthas server`曾经启动过,检查目标进程打开的文件描述符。如果是`linux`环境,可以去 `/proc/$pid/fd` 下面,使用`ls -alh | grep arthas`,检查进程是否已加载`arthas`相关的 jar 包。
3027
2. 如果没有,那么可能已启动`arthas`的是其它进程,也可能应用已经重启过了。
3128

32-
3329
### Arthas attach 之后对原进程性能有多大的影响
3430

3531
[https://github.com/alibaba/arthas/issues/44](https://github.com/alibaba/arthas/issues/44)

site/docs/en/doc/faq.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ For questions that are not in this list, please search in issues. [https://githu
88

99
Log file path: `~/logs/arthas/arthas.log`
1010

11-
1211
### telnet: connect to address 127.0.0.1: Connection refused
1312

1413
1. Check the log `~/logs/arthas/arthas.log`

0 commit comments

Comments
 (0)