Giter VIP home page Giter VIP logo

Comments (4)

werkt avatar werkt commented on July 18, 2024

Your worker must be dying at some point and deregistering/being expired from the backplane.

Present some logs from the worker, or verify why it is dropping off the map.

from bazel-buildfarm.

monaka avatar monaka commented on July 18, 2024

Thank you for your response. I couldn't find logs related to this issue from any workers.
(I have 2 workers.)
And I checked k8s pods and it seems that workers (and also Redis) don't restart.

How can I change the log-level for workers?

from bazel-buildfarm.

werkt avatar werkt commented on July 18, 2024

The error originates from this line:

throw Status.UNAVAILABLE.withDescription("no available workers").asRuntimeException();

At the time that it is thrown, no workers are present in the server's retention of the redis hash key "Workers_storage"

If you poll the values of that key in redis, you should see frequent updates (every 10s) to push to a time 30s into the future, by the workers that are registered. If there is a substantial oversubscription of a worker, these updates can be delayed and cause workers to be evicted due to expiration.

The question is: Are you transitioning to this state from a working one where the worker is available, or was it never accessible in the first place?

from bazel-buildfarm.

monaka avatar monaka commented on July 18, 2024

The question is: Are you transitioning to this state from a working one where the worker is available, or was it never accessible in the first place?

I suppose workers are available and accessible. Just sometimes lost.
Because files in the cache directory are updated continuously in the build stage.

And it seems like this issue may be resolved after fixing #1724 .
Just my guess but it may be occurred when buildfarm-shard and/or Redis are in heavy load.

Anyway this issue can be avoided. I close this.
Thank you for your help.

from bazel-buildfarm.

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.