Windows JNLP agents failing to connect after Jenkins restart

Article ID:204578860
1 minute readKnowledge base

Issue

  • Windows JNLP agents failing to connect after Jenkins restart

  • You are getting java.lang.OutOfMemoryError: unable to create new native

Resolution

The error is about platform-specific process creation limits. If the controller is on Unix, you would need to adjust a ulimit. We explain how to do this in this link.

This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.