Threads stuck at 100% CPU utilization in HashMap during JSF saveState()

前端 未结 2 828
谎友^
谎友^ 2020-12-18 03:18

We have an issue in our production environment, 4 Threads is at 100% CPU Usage from the HTOP command. To further investigate the issue I generated a Thread dump in order to

2条回答
  •  被撕碎了的回忆
    2020-12-18 04:23

    after long analysis my issue is resolved.

    as we are using jsf 2.1.7 version , UI repeat implemented using hashmap in 2.1.7 version. hence when we use the nested ui repeat cpu is high. i have replaced ui repeat with JSTL for each now the application is working.

    other way also you can use, you need to change the JSF 2.2.4 OR LATER VERSION.

提交回复
热议问题