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

Memory Leak #31380

Closed
HaroonSaid opened this issue Feb 22, 2024 · 1 comment
Closed

Memory Leak #31380

HaroonSaid opened this issue Feb 22, 2024 · 1 comment
Labels
bug Something isn't working needs triage New item requiring triage

Comments

@HaroonSaid
Copy link

HaroonSaid commented Feb 22, 2024

Component(s)

Unknown

What happened?

Memory leaking

Description

We saw memory leaks in 0.91.0 and upgraded to 0.94.0 and continued to see leakage.
The config

receivers:
  otlp:
    protocols:
      grpc:
      http:
processors:
  resourcedetection:
    detectors: 
    - env
    - ecs

  batch/traces:
    send_batch_size: 50
    send_batch_max_size: 1000
  batch/metrics:
    send_batch_max_size: 200
    send_batch_size: 50
    timeout: 10s
  memory_limiter:
      check_interval: 1s
      limit_mib: 500
      spike_limit_mib: 200

exporters:
  logging:
    loglevel: error
  prometheus:
    endpoint: :8889
  otlp:
    endpoint: "${env:OTLP_HOST}"
    tls:
      ca_file: /etc/ca.crt
      cert_file: /etc/client.pem
      key_file: /etc/client.key
      insecure_skip_verify: true

  prometheusremotewrite:
    endpoint: "${env:PROMETHEUSREMOTEWRITE}"
    resource_to_telemetry_conversion:
      enabled: true
  
extensions:
  health_check:
  pprof:
    endpoint: :1888
  zpages:
    endpoint: :55679

service:
  extensions: [pprof, zpages, health_check]
  pipelines:
    traces:
      receivers: [otlp]
      processors: [resourcedetection,batch/traces]
      exporters: [otlp]
    metrics:
      receivers: [otlp]
      processors: [resourcedetection,batch/metrics]
      exporters: [prometheusremotewrite]

Collector version

0.94.0

Environment information

Environment

OS: Linux (AWS Linux2)
Compiler(if manually compiled): (e.g., "go 14.2")

OpenTelemetry Collector configuration

No response

Log output

No response

Additional context

No response

@HaroonSaid HaroonSaid added bug Something isn't working needs triage New item requiring triage labels Feb 22, 2024
@HaroonSaid
Copy link
Author

Incorrect config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage New item requiring triage
Projects
None yet
Development

No branches or pull requests

1 participant