Code Monkey home page Code Monkey logo

Comments (6)

magnayn avatar magnayn commented on June 27, 2024

What kind of timeouts have you set in the config ?

from docker-plugin.

thomassuckow avatar thomassuckow commented on June 27, 2024

The defaults:

Connection Timeout: 5
Read Timeout: 15

from docker-plugin.

magnayn avatar magnayn commented on June 27, 2024

Ok, so the following is happening :

  • when the / page is rendered, it attempts to display each of the slaves down the RHS
  • to do that, each slave is asked "are you accepting jobs"
  • what we do then is check that the container exists, and is up.
    --> if the host fails to respond (or times out), we say 'no'.

Thus I suspect your host is unresponsive.

This behaviour is marginally better in the freshly minted 0.6.2, as it defers the 'check remote' to be as late as it can. It's possible we can factor that all out into the retention strategy, which is probably where it should go.

Give 0.6.2 a spin and see if it's any better.

from docker-plugin.

thomassuckow avatar thomassuckow commented on June 27, 2024

I'll run with 0.6.2 for a while. We'll have to see if docker server crashes again, but I can also do some tests with just shutting it down.

from docker-plugin.

thomassuckow avatar thomassuckow commented on June 27, 2024

So far so good, The docker server kernel panic'd and Jenkins remained responsive, though I think when I was seeing this before it was dying during a job.

from docker-plugin.

thomassuckow avatar thomassuckow commented on June 27, 2024

Got the docker server to kernel panic again, it occurred when the plugin attempted to start the container.

Interestingly though, before that there was a container running but no jobs were being sent to it and the docker-plugin was not removing it. I killed the container, but the docker plugin failed to make a new one reporting 500 internal server error. I restarted the whole docker service and then when the plugin attempted to start a new container, kernel panic. There is obviously some bug in docker, but that does not seem to be hanging Jenkins anymore, so I will close this ticket.

from docker-plugin.

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.