You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by Marshall Schor <ms...@schor.com> on 2020/01/17 20:53:35 UTC

Re: Node H29 (not H23) insufficient memory - not really, more likely out of threads?

oops, the runs are on H29, not H23, the H23 just left over from the subject thread.

-Marshall

On 1/17/2020 3:40 PM, Chris Lambertus wrote:
> As far as I can tell, H23 is working normally, builds are running normally since the reboot to clear up issues a couple days ago.
>
>
>
>
>> On Jan 17, 2020, at 12:34 PM, Marshall Schor <ms...@schor.com> wrote:
>>
>> Today, my github pull request Jenkins jobs are continually failing with messages
>> similar to this - Java can't create threads.
>>
>> For example:
>>
>> [Apache UIMA Java SDK (GitHub PR)] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx4g -Xms4g -cp /home/jenkins/jenkins-slave/maven33-agent.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/conf/logging jenkins.maven3.agent.Maven33Main /home/jenkins/tools/maven/apache-maven-3.3.9 /home/jenkins/jenkins-slave/remoting.jar /home/jenkins/jenkins-slave/maven33-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 33042
>> Error occurred during initialization of VM
>> java.lang.OutOfMemoryError: unable to create new native thread
>> 	at java.lang.Thread.start0(Native Method)
>> 	at java.lang.Thread.start(Thread.java:717)
>> 	at java.lang.ref.Reference.<clinit>(Reference.java:232)
>>
>> This message, is because the OS can't create a new thread. So far, it's retried
>> multiple (maybe 6+) times, always getting this failure.Any workarounds,
>> appreciated! Ref:
>> https://builds.apache.org/job/Apache%20UIMA%20Java%20SDK%20(GitHub%20PR)/38/console
>> -Marshall
>> On 1/12/2020 11:45 AM, Martin wrote:
>>> Hi,
>>>
>>> the builds on H23 fail consistently with:
>>> # There is insufficient memory for the Java Runtime Environment to continue.
>>> # Cannot create GC thread. Out of system resources.
>>>
>>> Other nodes run fine. Could you please check or restart the node?
>>>
>>> Regards
>>>
>>> Martin
>>>
>>>
>>>

Re: Node H29 (not H23) insufficient memory - not really, more likely out of threads?

Posted by Chris Lambertus <cm...@apache.org>.
H29 has been restarted. 



> On Jan 17, 2020, at 12:53 PM, Marshall Schor <ms...@schor.com> wrote:
> 
> oops, the runs are on H29, not H23, the H23 just left over from the subject thread.
> 
> -Marshall
> 
> On 1/17/2020 3:40 PM, Chris Lambertus wrote:
>> As far as I can tell, H23 is working normally, builds are running normally since the reboot to clear up issues a couple days ago.
>> 
>> 
>> 
>> 
>>> On Jan 17, 2020, at 12:34 PM, Marshall Schor <ms...@schor.com> wrote:
>>> 
>>> Today, my github pull request Jenkins jobs are continually failing with messages
>>> similar to this - Java can't create threads.
>>> 
>>> For example:
>>> 
>>> [Apache UIMA Java SDK (GitHub PR)] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx4g -Xms4g -cp /home/jenkins/jenkins-slave/maven33-agent.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/conf/logging jenkins.maven3.agent.Maven33Main /home/jenkins/tools/maven/apache-maven-3.3.9 /home/jenkins/jenkins-slave/remoting.jar /home/jenkins/jenkins-slave/maven33-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 33042
>>> Error occurred during initialization of VM
>>> java.lang.OutOfMemoryError: unable to create new native thread
>>> 	at java.lang.Thread.start0(Native Method)
>>> 	at java.lang.Thread.start(Thread.java:717)
>>> 	at java.lang.ref.Reference.<clinit>(Reference.java:232)
>>> 
>>> This message, is because the OS can't create a new thread. So far, it's retried
>>> multiple (maybe 6+) times, always getting this failure.Any workarounds,
>>> appreciated! Ref:
>>> https://builds.apache.org/job/Apache%20UIMA%20Java%20SDK%20(GitHub%20PR)/38/console
>>> -Marshall
>>> On 1/12/2020 11:45 AM, Martin wrote:
>>>> Hi,
>>>> 
>>>> the builds on H23 fail consistently with:
>>>> # There is insufficient memory for the Java Runtime Environment to continue.
>>>> # Cannot create GC thread. Out of system resources.
>>>> 
>>>> Other nodes run fine. Could you please check or restart the node?
>>>> 
>>>> Regards
>>>> 
>>>> Martin
>>>> 
>>>> 
>>>>