Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-5273

Web UI does not work when CPUs > 64

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.4
    • 1.4.4
    • ambari-server
    • 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));

      Attachments

        1. AMBARI-5273.patch
          0.5 kB
          Lei Xiang

        Activity

          People

            ncole@hortonworks.com Nate Cole
            Slaytanic Lei Xiang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: