Coder Social home page Coder Social logo

Comments (6)

lays147 avatar lays147 commented on June 23, 2024 1

@ADD-SP

Do you have some deployment that might share/change the kong_prefix directory across different data_plane instances?

No, there's no configuration changes between deployments.

And do you have steps to help us to reproduce this issue locally?

So, the scenario is like I told on the bug report. I have one control plane, and two data planes in my production environment running on ECS. The autoscaling configuration(based on cpu and memory consumption) is very sensitive, so it scales out very drastically(3-to-5).

And when this happens, some or all of the new containers have one or more errors like the ones that I added, and does not load the configuration from the control plane. The containers appear to be in a deadlock.

I don't know if this can be reproduced locally. I might throw a hand, and maybe you can try using some Kubernetes stuff like k6, adding very little resources to the dataplane node, and forcing it to scale in the cluster and see if these issues happen. The problem happens on trying to add new data plane nodes to an existent environment.

One thing that might stabilize my services, is changing the health check from the /status to /status/ready route, what would avoid the data planes without control plane communication to serve traffic. I'm going to deploy this change today, and hope that it stabilizes everything.

from kong.

ADD-SP avatar ADD-SP commented on June 23, 2024

@lays147 Thanks for your report. Seems the file of LMDB is corrupted. Now Kong is using LMDB to store entities on the data_plane. Do you have some deployment that might share/change the kong_prefix directory across different data_plane instances?

from kong.

ADD-SP avatar ADD-SP commented on June 23, 2024

And do you have steps to help us to reproduce this issue locally?

from kong.

StarlightIbuki avatar StarlightIbuki commented on June 23, 2024

The first 2 errors looks like a network glitch and if it does not persists it should be fine to ignore them;
Could you check and share the status of LMDB cache file?

from kong.

lays147 avatar lays147 commented on June 23, 2024

@StarlightIbuki I don't have access to the underlying infrastructure to check that file.

And apparently, after changing the health check, it fixed this issue for me on the events of autoscaling.

from kong.

StarlightIbuki avatar StarlightIbuki commented on June 23, 2024

@StarlightIbuki I don't have access to the underlying infrastructure to check that file.

And apparently, after changing the health check, it fixed this issue for me on the events of autoscaling.

Good to know it works for you.

from kong.

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.