Git Product home page Git Product logo

Comments (8)

tarragon avatar tarragon commented on June 1, 2024

This seems to be something to do with how I'm running the buildbox-agent. I built a launchd plist file and it's running as a daemon, but it's dying as described. Running it by hand seems to work. I will investigate further.

from agent.

tarragon avatar tarragon commented on June 1, 2024

Modified the plist a little and also started it as an agent for my ci user rather than a launch daemon. The agent seems to run ok, and does some builds, but is also restarting every do often after fetching a build. Not sure what's going on. Might be resource limits on tasks on the box; I'll investigate further.

from agent.

keithpitt avatar keithpitt commented on June 1, 2024

Let me know how I can help!

from agent.

keithpitt avatar keithpitt commented on June 1, 2024

Aside from the hanging artifact stuff, is this still happening @tarragon?

from agent.

tarragon avatar tarragon commented on June 1, 2024

Adjusting the settings in the plist rectified this issue for me. I believe that OSX places restrictions on how processes under launchd control can fork, depending on which environment you put the process in. I put buildbox-agent into the "Interactive" environment, which means it runs with the same restrictions as someone who's physically using the machine, e.g. no restrictions.

from agent.

danthorpe avatar danthorpe commented on June 1, 2024

@tarragon any chance you could share your launchd plist file as a gist? Thanks!

from agent.

tarragon avatar tarragon commented on June 1, 2024

@danthorpe Sure: https://gist.github.com/tarragon/81510d935e53db5f06e9

from agent.

keithpitt avatar keithpitt commented on June 1, 2024

I think @tommeier has solved this in our latest version of https://github.com/buildbox/agent/blob/master/templates/launchd-for-0.2-agents.plist

from agent.

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.