Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7901857

JavaTest should clearn wait timer treads

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • jt5.0
    • jt5.0
    • tools
    • None
    • b36
    • b37
    • Verified

      jconsole shows increasing of tread numbers

      javatest: snapshot

      Agent log:
      [2422.764s][warning][os,thread] Failed to start thread - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, detached.
      Exception in thread "CommandExecutor executeThread for command args: [-suite, /net/spbnas402/export/SQE_jessika/qa-results/jck/9/ea/b51/network_mode_build/JCK-runtime-9, -resourcesRemovingStrategy, filesAndParents, -loadResourcesIntoMemory, false, -resource, tests/vm/classfmt/cpl/cplnat002/cplnat00201m1/cplnat00201m1p.jcod, -resource, tests/vm/classfmt/cpl/cplnat002/cplnat00201m1/cplnat00201m1n.jcod, com.sun.jck.lib.ExecInSeparateThreadCmd, -timeout, 600, com.sun.jck.lib.ExecJCKTestSameJVMCmd, -loadDir, /net/spbnas402/export/SQE_jessika/qa-results/jck/9/ea/b51/network_mode_build/JCK-runtime-9/classes, javasoft.sqe.tests.vm.classfmt.cpl.cplnat002.cplnat00201m1.cplnat00201m1]" java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
              at java.base/java.lang.Thread.start0(Native Method)
              at java.base/java.lang.Thread.start(Thread.java:813)
              at com.sun.jck.lib.ExecInSeparateThreadCmd.getStatus(ExecInSeparateThreadCmd.java:46)
              at com.sun.jck.lib.ExecInSeparateThreadCmd.run(ExecInSeparateThreadCmd.java:34)
              at com.sun.jck.lib.ResourceLoaderCmd.run(ResourceLoaderCmd.java:75)
              at com.sun.javatest.agent.Agent$Task$CommandExecutor$2.run(Agent.java:897)
              at java.base/java.lang.Thread.run(Thread.java:844)
      ^C[2828.314s][warning][os,thread] Failed to start thread - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, detached.

            afedorch Alexey Fedorchenko (Inactive)
            izlatkin Ilya Zlatkin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: