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

115 lines
3.0 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现场】优化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}
---
## Attachments
**28953/225.11.1.memory_used_stat.txt**
---
**28954/225.11.1.sysinfo.txt**
---
**28955/225.11.1.tsg_stat.txt**
---
**28948/image-2022-06-20-09-11-06-798.png**
---
**28720/微信图片_20220613230446.png**
---
**28719/微信图片_20220613230452.png**
---
**28718/微信图片_20220613230506.png**
---
**28717/微信图片_20220613230511.png**
---