You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have Hudson configured to launch builds on a number of slave machines. After running for a few days, jobs start failing with the following exception:
SEVERE: Unable to launch the slave agent for RHEL 3 JDK 5
java.io.IOException: Cannot run program "/scripts/bin/launch.sh":
java.io.IOException: error=24, Too many open files
at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
The lsof command shows hundreds of opened slave log files (~/.hudson/slave-XYZ.log).
We tracked down this issue in the source code to the methods SlaveComputer._connect() and SlaveComputer.disconnect(). See attached patch for details.
We have Hudson configured to launch builds on a number of slave machines. After running for a few days, jobs start failing with the following exception:
SEVERE: Unable to launch the slave agent for RHEL 3 JDK 5
java.io.IOException: Cannot run program "/scripts/bin/launch.sh":
java.io.IOException: error=24, Too many open files
at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
The lsof command shows hundreds of opened slave log files (~/.hudson/slave-XYZ.log).
We tracked down this issue in the source code to the methods SlaveComputer._connect() and SlaveComputer.disconnect(). See attached patch for details.
Code changed in hudson
User: : kohsuke
Path:
trunk/hudson/main/core/src/main/java/hudson/slaves/SlaveComputer.java
trunk/www/changelog.html
http://jenkins-ci.org/commit/29663
Log:
[FIXED JENKINS-6137] in 1.354. Thanks for the patch!
Code changed in hudson
User: : kohsuke
Path:
trunk/hudson/main/core/src/main/java/hudson/slaves/SlaveComputer.java
trunk/www/changelog.html http://jenkins-ci.org/commit/29663
Log: [FIXED JENKINS-6137] in 1.354. Thanks for the patch!
Activity
jenkins-infra-bot commentedon Mar 31, 2010
Raw content of original comment:
Code changed in hudson
User: : kohsuke
Path:
trunk/hudson/main/core/src/main/java/hudson/slaves/SlaveComputer.java
trunk/www/changelog.html
http://jenkins-ci.org/commit/29663
Log:
[FIXED JENKINS-6137] in 1.354. Thanks for the patch!