Giter VIP home page Giter VIP logo

Comments (4)

bguthrie avatar bguthrie commented on July 3, 2024

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.

Govinda-Fichtner avatar Govinda-Fichtner commented on July 3, 2024

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.

Govinda-Fichtner avatar Govinda-Fichtner commented on July 3, 2024

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.

bguthrie avatar bguthrie commented on July 3, 2024

No trouble at all. Glad you were able to figure it out!

from cruisecontrol.rb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.