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

Windows Slaves wore out after a certain number of builds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • remoting
    • None
    • Platform: All, OS: Windows XP

      I have a Windows 2008 Slave machine.

      As a workaround of issue #3973 I've created a periodically scheduled dummy build
      on the slave as "ping". Unfortunately it seems after a some time this dummy
      build makes the slave unusable.

      FATAL: Failed to enumerate processes error=8 at .\enumProcess.cpp:12
      org.jvnet.winp.WinpException: Failed to enumerate processes error=8 at
      .\enumProcess.cpp:12
      at org.jvnet.winp.Native.enumProcesses(Native Method)
      at org.jvnet.winp.WinProcess$2$1.<init>(WinProcess.java:160)
      at org.jvnet.winp.WinProcess$2.iterator(WinProcess.java:153)
      at hudson.util.ProcessTreeKiller$Windows.kill(ProcessTreeKiller.java:192)
      at hudson.util.ProcessTreeKiller.kill(ProcessTreeKiller.java:109)
      at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:706)
      at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:698)
      at hudson.remoting.UserRequest.perform(UserRequest.java:103)
      at hudson.remoting.UserRequest.perform(UserRequest.java:47)
      at hudson.remoting.Request$2.run(Request.java:236)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at hudson.remoting.Engine$1$1.run(Engine.java:54)
      at java.lang.Thread.run(Unknown Source)

      The dummy build contains no build steps and no publishers. and it is tied to the
      slave.

      I've tested with a not so dummy build when I've just executed a Windows batch
      command: time /t
      At this case the slave went unusable with OOME as it couldn't create more
      NativeThreads.

            Unassigned Unassigned
            lkishalmi lkishalmi
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: