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]: cpu utilisation increasing rapidly with time #67

Open
pawandhiman10 opened this issue Oct 20, 2024 · 0 comments
Open

[Bug]: cpu utilisation increasing rapidly with time #67

pawandhiman10 opened this issue Oct 20, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@pawandhiman10
Copy link

Kong Version

3.7.1

Plugin Version

0.2.1

On which environment your Kong instance is running?

Kubernetes

Plugin Configuration

apiVersion: configuration.konghq.com/v1
config:
agent_host: datadog.ns.svc.cluster.local
environment: prod
service_name: kong
static_tags:

  • name: service
    value: service-name
    trace_agent_port: 8126
    kind: KongPlugin

What happened?

We started with this latest version of the plugin, seems like this caused CPU spike over time.
Please see the screenshot below, this caused increased latencies in the server causing application timeouts eventually and we had setup a restart cron every 30 minutes as a workaround. So, if you see the graph it rapidly increases and after 30 min it drops down. We tried different plugins and finally found this opentelemetry plugin as the savior here. After switching apm to opentelemetry, the cpu usage stabilised. Please look into this. Below graph shows CPU usage with ddtrace and opentelemetry plugins.
Image

@pawandhiman10 pawandhiman10 added the bug Something isn't working label Oct 20, 2024
@pawandhiman10 pawandhiman10 changed the title [Bug]: [Bug]: CPU utilisation increases rapidly with time Oct 20, 2024
@pawandhiman10 pawandhiman10 changed the title [Bug]: CPU utilisation increases rapidly with time [Bug]: cpu utilisation increasing rapidly with time Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants