Netflix / zuul

Zuul is a gateway service that provides dynamic routing, monitoring, resiliency, security, and more.
Apache License 2.0
13.45k stars 2.37k forks source link

High CPU usage with zuul #661

Open mahamafzar opened 4 years ago

mahamafzar commented 4 years ago

I using zuul as ingress on my microservice infrastructure, I have more than 5K users, zuul using more than %600 CPU, What is wrong?

ribbon: #LoadBalancer
  ReadTimeout: 20000
  ConnectTimeout: 20000
hystrix:
  command:
    default:
      execution:
        isolation:
          thread:
            timeoutInMilliseconds: 20000
zuul: #Gatway Proxy
  ignore-security-headers: false
  ignored-headers: X-Content-Type-Options,Strict-Transport-Security,X-Frame-Options,X-XSS-Protection
  semaphore:
    max-semaphores: 10000

  set-content-length: true
  ignoredServices: '*'
  #prefix: /api
  host:
    connect-timeout-millis: 20000
    socket-timeout-millis: 20000
  routes:
    app-service:
      path: /app/**
      serviceId: app-service
      stripPrefix: false
      sensitiveHeaders:
carl-mastrangelo commented 4 years ago

Hi, can you generate a flame graph (or other profiling data) of your service under load? Also, what version are you running?

mahamafzar commented 4 years ago
Screen Shot 2019-10-31 at 10 55 04 AM Screen Shot 2019-10-31 at 10 55 24 AM Screen Shot 2019-10-31 at 10 58 17 AM
varun86b4u commented 2 months ago

@mahamafzar We are also facing a similar issue, checking to see if you were able to find the root and actionable around this?