Issue
-
Windows JNLP agents failing to connect after Jenkins restart
-
You are getting
java.lang.OutOfMemoryError: unable to create new native
Environment
-
CloudBees CI (CloudBees Core) on modern cloud platforms - Managed controller (CORE-MM)
-
CloudBees CI (CloudBees Core) on modern cloud platforms - Operations Center (CORE-CLOUD-OC)
-
CloudBees CI (CloudBees Core) on traditional platforms - Client controller (CORE-CM)
-
CloudBees CI (CloudBees Core) on traditional platforms - Operations Center (CORE-OC)
-
CloudBees Jenkins Enterprise - Managed controller (CJE-MM)
-
CloudBees Jenkins Enterprise - Operations Center (CJE-OC)
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.