You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Lei Xiang (JIRA)" <ji...@apache.org> on 2014/03/31 07:02:14 UTC

[jira] [Created] (AMBARI-5273) Web UI does not work when CPUs > 64

Lei Xiang created AMBARI-5273:
---------------------------------

             Summary: Web UI does not work when CPUs > 64
                 Key: AMBARI-5273
                 URL: https://issues.apache.org/jira/browse/AMBARI-5273
             Project: Ambari
          Issue Type: Improvement
          Components: controller
    Affects Versions: 1.4.4
         Environment: CentOS 5/6
            Reporter: Lei Xiang


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));



--
This message was sent by Atlassian JIRA
(v6.2#6252)