Files
geedge-jira/md/OMPUB-368.md
2025-09-14 21:52:36 +00:00

55 lines
1.2 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 【E21-OLAP】绘制E21现场OAP-PE及Bole-PE站点火焰图
| ID | Creation Date | Assignee | Status |
|----|----------------|----------|--------|
| OMPUB-368 | 2022-02-16T17:19:23.000+0800 | 刘菊 | 完成 |
---
OAP-PE及Bole-PE目前存在Flink Taskmanager容器内存占用偏高现象需要绘制火焰图辅助故障定位。
操作步骤:
1登录10.229.12.4、10.231.12.4
2将软件上传至服务器,并解压。
3将软件包传入taskmanager容器内。
docker cp async-profiler-2.7-linux-x64 taskmanager:/opt/
4进入容器
docker exec -it taskmanager /bin/bash
查看taskmanager pid。
ps -ef |grep taskmanager
5:绘制火焰图
cd /opt/async-profiler-2.7-linux-x64
./profiler.sh -d 30 -e itimer -f 【站点名称】-taskmanager.html pid
执行后会在当前目录生成【站点名称】-taskmanager.html文件
6:退出容器将文件复制到服务器
exit
docker cp taskmanager:/opt/async-profiler-2.7-linux-x64/【站点名称】-taskmanager.html ./
 **liuju** commented on *2022-02-16T20:35:59.614+0800*:
已上传到附件。
---
## Attachments
**25348/async-profiler-2.7-linux-x64.tar.gz**
---
**25377/Bole-PE-taskmanager.html**
---
**25376/OAP-PE-taskmanager.html**
---