We use Hudson as a continuous integration system to perform automatic builds (at night and based on a CVS survey) of many of our projects.
Some CVS survey projects every 15 minutes, some other polls every 5 minutes, and some polls every hour.
Every few weeks we get an assembly that does not work with the following output:
FATAL: java.io.IOException: Too many open files java.io.IOException: java.io.IOException: Too many open files at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
The next build always worked (with 0 changes), so we always wrote it down to two build jobs that ran simultaneously, and it happened that there were too many files during the process.
This weekend we had a failure on Friday night (automatic nightly assembly) with a message, and every other nightly collection also failed. Somehow, this forced Hudson to continuously build every project that failed until the problem was resolved. This led to a build every 30 minutes or so of each project before Saturday night, when the problem magically disappeared.
java exception build-automation continuous-integration hudson
Randyaa
source share