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
How support 20K connections in server PC #4585
Comments
@linjson Can you show us what error you got? |
server error: io.grpc.netty.NettyServerTransport.notifyTerminated Transport failed |
@carl-mastrangelo ,How do I test the number of connections tested by the GRPC server
Is that right? |
I would guess you would run out of file descriptors pretty quick with that. It would be very helpful if you included all the error detail you can. |
How many connections can a PC support at most |
Millions if tuned right. It's outside of scope for gRPC on how to do this. You will need to include more detail about the error for us to help. |
@linjson This might be of interest to you: https://www.nginx.com/blog/nginx-1-13-10-grpc/ |
@carl-mastrangelo |
@linjson You need to provide the full stack trace of the error before we can help you. |
|
@linjson You can see that you have too many open files, looking at the error:
You need to increase the limit. If you are on Linux, you can check to see the max like this:
And you can set it like this:
You will need at least 50,000 or so. |
Seems like this is answered; closing. @linjson, if it doesn't work you can comment here and we can re-open. |
I tested a 10K test connection, and then the server crashed. How does grpc-java set up to support more than 20K request connections on a PC
What version of gRPC are you using?
1.12.0
What did you expect to see?
How support 20K connections in server PC
The text was updated successfully, but these errors were encountered: