Netflix / Hystrix

Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where failure is inevitable.
24.07k stars 4.7k forks source link

hystrix max concurrent connection exception #1709

Open bsushant-athena opened 6 years ago

bsushant-athena commented 6 years ago

When I hit http://10.8.110.83:18888/hystrix.stream

I'm getting this error: There was an unexpected error (type=Service Unavailable, status=503). MaxConcurrentConnections reached: 5

Configuration:
hystrix:
  command:
    default:
      execution:
        isolation:
          thread:
            timeoutInMilliseconds: 10000
  threadpool:
    default:
      coreSize: 50

turbine:
  aggregator:
    clusterConfig: GATEWAY
  appConfig: GATEWAY

I'm able to see hystrix metrics. But this error ??

bpstelios10 commented 3 years ago

It seems that you hit the queueSizeRejectionThreshold https://github.com/Netflix/Hystrix/wiki/Configuration#queueSizeRejectionThreshold