spring-cloud-gateway: Reproducible Leak under load when request is timed out.
This is being tested under Greenwhich snapshot and Californium Snapshot.
I am testing this on PCF using SSL. Under load the gateway leaks memory when the response-timeout setting is used and a request surpasses the timeout.
The setup is as follows.
- Multiple get and posts are being made to the gateway via Gatling.
- The gateway is setup to terminate requests that take longer than 7500 milliseconds (setting
response-timeout). One request takes 7500 milliseconds so it will be terminated by the gateway.
After some amount of time the gateway will eventually leak memory.
Everything you need is available in this repot
The Gatling script uses version 2.3.1. You can download it here
You will have to tweak this to enable SSL or just deploy to PCF where SSL is turned on by default. In addition you will just need to configure the url in the application.yml along with the url in the Gatling Script.
About this issue
- Original URL
- State: open
- Created 5 years ago
- Comments: 32 (7 by maintainers)
Yes it has, but hasn’t been released
@rstoyanchev It is there