Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.4.4
-
CentOS 5/6
Description
Ambari Web UI threads blocked when Server CPUs > 64, So the web ui will not response any thing till the browser timeout. In ambari-server.log it will logging a "Insufficient Threads configuration" It's should be a Jetty container bug.
So I change the ambari-server/src/main/org/apache/ambari/server/controller/AmbariServer.java
serverForAgent.setThreadPool(new QueuedThreadPool(25));
server.setThreadPool(new QueuedThreadPool(25));
to
serverForAgent.setThreadPool(new QueuedThreadPool(65));
server.setThreadPool(new QueuedThreadPool(65));