ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lei Xiang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-5273) Web UI does not work when CPUs > 64
Date Mon, 31 Mar 2014 05:02:14 GMT
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)

Mime
View raw message