Files
geedge-jira/md/OMPUB-523.md

131 lines
4.1 KiB
Markdown
Raw Permalink Normal View History

2025-09-14 21:52:36 +00:00
# 【E21现场】优化app_sketch_local插件的内存使用修复BOLE-IGW 10.225.11.1 内存告警
| ID | Creation Date | Assignee | Status |
|----|----------------|----------|--------|
| OMPUB-523 | 2022-06-14T04:07:14.000+0800 | 刘学利 | 已关闭 |
---
BOLE-IGW 10.225.11.1 从2022-06-09 16:17:00 重启之后内存持续上涨 到现在已经超过80了告警已经持续了一天多
DIR-IGW 10.219.11.7 在2022-06-06出现内存告警查看流量、内存曲线升级之后 内存曲线是持续上涨的。**liuxueli** commented on *2022-06-16T13:22:53.812+0800*:
* 更新app_sketch_local-v4.3.6版本可以节约10%的内存。
---
**liuxueli** commented on *2022-06-16T15:58:21.460+0800*:
* 更新BOLE-IGW 10.225.11.1
---
**liuxueli** commented on *2022-06-20T09:12:00.914+0800*:
* 在BOLE-IGW 10.225.11.1更新app_sketch_local后内存节约10%左右
** !image-2022-06-20-09-11-06-798.png!
---
**zhengchao** commented on *2022-06-20T10:14:46.991+0800*:
并发会话有多少?列一下节省内存的计算公式。
---
**liuxueli** commented on *2022-06-20T10:44:19.379+0800*:
* SAPP统计的流标签的数量如下{color:#de350b}其中app_sketch_local的流标签数量为3095301个每个流标签节省约4KB的内存3095301+4KB=12678352896(约12.6GB){color}
**  旧版本app_sketch_local每个流标签大小为(32+4096)bytes4K存储包长序列的特征
** 修改后app_sketch_local每个流标签大小为(32+24+N*8*2)bytes其中N代表记录包长的个数目前配置是N=2
**
{code:java}
Project_ID In_Use_Number Project_Name
         1       2856557 tcp_flow_stat
         2       2856557 tcp_deduce_flow_stat
         3       1226075 udp_flow_stat
         4       2415256 L7_PROTOCOL_LABEL
         6       3940743 TSG_MASTER_INTERNAL_LABEL
         7       3095300 TSG_MASTER_CONTEXT
         8       3940746 TSG_TCPALL_CONTEXT
         9       3041973 APP_IDENTIFY_RESULT
        10       1280149 MESA_PROTO
        11       1172430 JA3_FINGERPRINT_LABEL
        12          1718 MAIL_IDENTIFY
        13       2856560 SKETCH_PROTO_CTX_LABEL
        14       3940748 SKETCH_TRANS_LAYER_CTX_LABEL
        15         19169 CAPTURE_STREAM_PME
        17         33869 USER_DEFINE_APP_ID_LABEL
        18        582895 BUILT_IN_APP_ID_LABEL
        19       2322879 SYN_ATTRIBUTE
        20        787358 SACK_ATTRIBUTE
        21       3095301 APP_SKETCH_CONTEXT
     Total      39466283 N/A
{code}
---
2025-09-14 22:26:17 +00:00
# Attachments
2025-09-14 21:52:36 +00:00
2025-09-14 22:26:17 +00:00
Attachment: 225.11.1.memory_used_stat.txt
2025-09-14 22:27:11 +00:00
2025-09-14 22:26:17 +00:00
[225.11.1.memory_used_stat.txt](https://gfwleak.exec.li/admin/geedge-jira/raw/branch/master/attachment/28953/225.11.1.memory_used_stat.txt)
2025-09-14 21:52:36 +00:00
2025-09-14 22:26:17 +00:00
Attachment: 225.11.1.sysinfo.txt
2025-09-14 22:27:11 +00:00
2025-09-14 22:26:17 +00:00
[225.11.1.sysinfo.txt](https://gfwleak.exec.li/admin/geedge-jira/raw/branch/master/attachment/28954/225.11.1.sysinfo.txt)
2025-09-14 21:52:36 +00:00
2025-09-14 22:26:17 +00:00
Attachment: 225.11.1.tsg_stat.txt
2025-09-14 22:27:11 +00:00
2025-09-14 22:26:17 +00:00
[225.11.1.tsg_stat.txt](https://gfwleak.exec.li/admin/geedge-jira/raw/branch/master/attachment/28955/225.11.1.tsg_stat.txt)
2025-09-14 21:52:36 +00:00
2025-09-14 22:26:17 +00:00
Attachment: image-2022-06-20-09-11-06-798.png
2025-09-14 22:27:11 +00:00
2025-09-14 22:26:17 +00:00
![image-2022-06-20-09-11-06-798.png](https://gfwleak.exec.li/admin/geedge-jira/raw/branch/master/attachment/28948/image-2022-06-20-09-11-06-798.png)
2025-09-14 21:52:36 +00:00
2025-09-14 22:26:17 +00:00
Attachment: 微信图片_20220613230446.png
2025-09-14 22:27:11 +00:00
2025-09-14 22:26:17 +00:00
![微信图片_20220613230446.png](https://gfwleak.exec.li/admin/geedge-jira/raw/branch/master/attachment/28720/微信图片_20220613230446.png)
2025-09-14 21:52:36 +00:00
2025-09-14 22:26:17 +00:00
Attachment: 微信图片_20220613230452.png
2025-09-14 22:27:11 +00:00
2025-09-14 22:26:17 +00:00
![微信图片_20220613230452.png](https://gfwleak.exec.li/admin/geedge-jira/raw/branch/master/attachment/28719/微信图片_20220613230452.png)
Attachment: 微信图片_20220613230506.png
2025-09-14 22:27:11 +00:00
2025-09-14 22:26:17 +00:00
![微信图片_20220613230506.png](https://gfwleak.exec.li/admin/geedge-jira/raw/branch/master/attachment/28718/微信图片_20220613230506.png)
Attachment: 微信图片_20220613230511.png
2025-09-14 22:27:11 +00:00
2025-09-14 22:26:17 +00:00
![微信图片_20220613230511.png](https://gfwleak.exec.li/admin/geedge-jira/raw/branch/master/attachment/28717/微信图片_20220613230511.png)
2025-09-14 21:52:36 +00:00