元数据解析导致CPU高消耗
1、适用版本
EAS 820版本
2、问题描述
EAS服务器CPU持续高消耗,导致系统整体卡慢
收集对应进程的javacore日志分析发现大量线程卡在com.kingdee.bos.metadata.query元数据解析进程上,堆栈如下:
at com.kingdee.bos.metadata.AbstractMDValueDele.<init>(AbstractMDValueDele.java:44)
at com.kingdee.bos.metadata.query.PropertyRefDele.<init>(PropertyRefDele.java:24)
at com.kingdee.bos.metadata.query.PropertyRefDele.getInstance(PropertyRefDele.java:41)
at com.kingdee.bos.metadata.query.PropertyRefCollectionDele.createDelegate(PropertyRefCollectionDele.java:24)
at com.kingdee.bos.dao.AbstractObjectCollectionDele.handleDelegate(AbstractObjectCollectionDele.java:174)
at com.kingdee.bos.dao.AbstractObjectCollectionDele.getObject(AbstractObjectCollectionDele.java:133)
at com.kingdee.bos.metadata.query.token.CollectionFormulaParser.parser(CollectionFormulaParser.java:84)
at com.kingdee.bos.metadata.query.token.CollectionFormulaParser.<init>(CollectionFormulaParser.java:49)
at com.kingdee.bos.metadata.query.util.QueryDeleUtil.getUnitString(QueryDeleUtil.java:710)
at com.kingdee.bos.metadata.query.util.SelectBuilder.buildSelect(SelectBuilder.java:147)
at com.kingdee.bos.metadata.query.util.SelectBuilder.getSql(SelectBuilder.java:44)
at com.kingdee.bos.metadata.query.util.QuerySqlAccessBase.getSql(QuerySqlAccessBase.java:164)
- locked <0x00000007ff397620> (a com.kingdee.bos.metadata.query.QueryDele)
at com.kingdee.bos.dao.query.server.BaseDataAccess.getRuntimeSql(BaseDataAccess.java:187)
at com.kingdee.bos.dao.query.server.QueryDataAccess.innerGetSum(QueryDataAccess.java:729)
at com.kingdee.bos.dao.query.server.QueryDataAccess.sum(QueryDataAccess.java:354)
at rpc_generate._PROXY_com_1_kingdee_1_bos_1_dao_1_query_1_server_1_IQueryDataAccess.pi30(Unknown Source)
at rpc_generate._PROXY_com_1_kingdee_1_bos_1_dao_1_query_1_server_1_IQueryDataAccess.processInvoke(Unknown Source)
3、解决方案
EAS 820版本中可安装补丁PT168653来解决此问题,请更新至该补丁或最新补丁即可。
4、注意
安装补丁方法请参考补丁说明,并严格按照补丁说明进行补丁安装。必要时可以在测试环境下先验证通过。
补丁下载及安装参考:https://vip.kingdee.com/school/179679115719568640?productLineId=8
元数据解析导致CPU高消耗
本文2024-09-22 20:27:43发表“eas cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-eas-113777.html