Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-4512

Hudson consumes 100% CPU

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • core
    • None
    • Platform: PC, OS: Windows XP

      The system is running on:
      Xeon X5482 @ 3.2Ghz, Hyper-threading disabled
      8Gb RAM
      Windows XP x64
      Hudson 1.323

      It is configured to poll SVN once a minute for 2 projects. The authentication is
      done via active-directory.

      After a few days of running, Java start to use the whole CPU power available.
      Investigation showed up that there are 4 threads (one per core) running all the
      time. All these threads are having the same dump:

      "RequestHandlerThread0" daemon prio=6 tid=0x0000000009b10000 nid=0x54574
      runnable [0x000000000c51f000..0x000000000c51f860]
      java.lang.Thread.State: RUNNABLE
      at java.util.HashMap.put(HashMap.java:376)
      at java.util.HashSet.add(HashSet.java:200)
      at winstone.WinstoneSession.addUsed(WinstoneSession.java:112)
      at winstone.WinstoneRequest.getSession(WinstoneRequest.java:1320)
      at
      winstone.auth.FormAuthenticationHandler.validatePossibleAuthenticationResponse(FormAuthenticationHandler.java:216)
      at
      winstone.auth.BaseAuthenticationHandler.processAuthentication(BaseAuthenticationHandler.java:85)
      at
      winstone.auth.FormAuthenticationHandler.processAuthentication(FormAuthenticationHandler.java:99)
      at
      winstone.RequestDispatcher.continueAfterSecurityCheck(RequestDispatcher.java:349)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:323)
      at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      at java.lang.Thread.run(Thread.java:619)

            Unassigned Unassigned
            yzach yzach
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: