Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: When my plugin configuration is incorrect, it will cause continuous memory growth #2238

Open
jinjianming opened this issue May 20, 2024 · 0 comments

Comments

@jinjianming
Copy link

Current Behavior

"I configured an OpenTelemetry, but forgot to set it in the plugins configuration, causing an ingress memory overflow."

2024-05-20T09:43:37+08:00       error   apisix/apisix_route.go:894      failed to record status change for ApisixRoute  {"error": "Operation cannot be fulfilled on apisixroutes.apisix.apache.org \"js-gateway\": the object has been modified; please apply your changes to the latest version and try again", "name": "js-gateway", "namespace": "zprod"}
image

Expected Behavior

No response

Error Logs

{"error": "Operation cannot be fulfilled on apisixroutes.apisix.apache.org "js-gateway": the object has been modified; please apply your changes to the latest version and try again", "name": "js-gateway", "namespace": "zprod"}

Steps to Reproduce

Configuring an invalid plugin can reproduce the issue.

Environment

  • APISIX Ingress controller version (run apisix-ingress-controller version --long)Version: 1.6.0
    Git SHA: no-git-module
    Go Version: go1.19.4
    Building OS/Arch: linux/amd64
    Running OS/Arch: linux/amd64
  • Kubernetes cluster version (run kubectl version)
  • Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3", GitCommit:"b3cbbae08ec52a7fc73d334838e18d17e8512749", GitTreeState:"clean", BuildDate:"2019-11-13T11:23:11Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}
    Server Version: version.Info{Major:"1", Minor:"20+", GitVersion:"v1.20.4-aliyun.1", GitCommit:"da046aba0d7522fc3f5edf24dc9db8d6567c82a6", GitTreeState:"clean", BuildDate:"2023-12-13T11:49:38Z", GoVersion:"go1.15.8", Compiler:"gc", Platform:"linux/amd64"}
  • OS version if running APISIX Ingress controller in a bare-metal environment (run uname -a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant