-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Sending data will block the working thread, causing the gateway to crash #3651
Comments
spring cloud gateway 3.1.9 |
That version is out of open source support. Please upgrade to spring cloud 2023.0.x or 2024.0.0 and let us know if the issue persists. https://spring.io/projects/spring-cloud-gateway#support |
If version 3.1.9 exceeds open source, which version from spring-cloud-gateway3. x.x should I use |
4.1.x and 4.2.x are the only open source supported versions |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
We have found that a netty thread occasionally sends data for 5 seconds (usually only a few milliseconds), causing the thread to be occupied and unable to process other requests. If all threads (such as 6 threads) are occupied, the gateway will crash.
The following is the debug log information of the reactor net source code. During this 5-second period, the reactor-http-epoll-3 thread has been blocking and not processing any other requests, while the other 5 worker threads are processing requests.
The text was updated successfully, but these errors were encountered: