Comments (4)
You may have run into your system's limit on the number of open file descriptors, although I couldn't tell you why without knowing a bit more about that box. You can easily increase the limit--Googling around a little bit led me to this guide--or try to figure to figure out why so many are gettng opened--does this box have other responsibilities besides those of a build server?
If you'd like to ask around a bit before opening an issue, there is a CruiseControl.rb users mailing list you can subscribe to.
from cruisecontrol.rb.
Hmmm, I don't think so... the server is an ec2 instance which is only used for cruisecontrol.rb... I don't know the exact reason why it fails... but now I know how to get it to run... might be related to running cc.rb with apache/passenger...
After I changed the cc configuration(site_config.rb) by adding "BuilderStarter.run_builders_at_startup = false" and then starting the builder process manually at the console with "sudo su -c "./cruise builder projectname" www-data" all the builds which are started e.g. with "Build Now" in the GUI, finish as they should without the file descriptor error message...
So there seems to be a difference in how the builder is started from within apache/passenger compared to starting it manually from the command line...
Could there be a problem with "Platform.create_child_process(project_name, command)" if cc is running with apache/passenger?
from cruisecontrol.rb.
OK. Found the culprit. It was the cover_me gem trying to open the coverage report in a browser... after configuring the cover_me task like
task :report do
require 'cover_me'
CoverMe.config do |c|
c.at_exit = proc {} # do not open the coverage report automatically
c.html_formatter.output_path = File.join(ENV['CC_BUILD_ARTIFACTS'] || Rails.root , 'coverage')
end
CoverMe.complete!
end
everything worked. Sorry for the inconvenience...
from cruisecontrol.rb.
No trouble at all. Glad you were able to figure it out!
from cruisecontrol.rb.
Related Issues (20)
- builder exits, cruise process still up HOT 1
- Change default git branch HOT 4
- Builder doesn't understand parameterized rake tasks HOT 1
- Email notification sent when test is still running HOT 2
- site_config.rb seems to be ignored HOT 2
- Nil error with empty commit messages HOT 1
- Download links broken, there's nowhere to download the project from anymore. HOT 4
- Wildcards in branch name for testing feature branches HOT 3
- Todo HOT 10
- test errors introduced by a merge
- Not work send emails after cruise update to latest version
- Is this project still active? HOT 4
- Looks like link to docs is broken HOT 4
- Code browser route unreachable
- Allow "Build Now" when disable_admin_ui is enabled HOT 3
- Builder exits unexpectedly HOT 2
- Upgrade to Rails 3.2.x HOT 7
- Test fails but build passes HOT 1
- Cruisecontrol.rb on top of Amazon EC2
- Running cruise add --help starts builders for existing projects
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cruisecontrol.rb.