-
Notifications
You must be signed in to change notification settings - Fork 536
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
Max thread limit reached with 1000+ connections #550
Comments
Please share your configuration and usage. |
|
I'm not sure if this problem is caused by high concurrency or timeout, so I need more detailed runtime information.
then go to http://localhost:6060/debug/pprof/ and monitor the goroutine and threadcreate. |
Maybe we can simply disable timeout, since in this case both the receiving server and the client both control their timeouts. Should a proxy be opinionated about when to time out? Maybe possible to use a timer that does not make a platform thread? |
You can disable the timeout by setting a negative value:
|
Hi,
There seems to be some sort of an issue, with about 1000 connections it starts to panic
We are running on a 16 core server with 64gb ram on unix.
We are also opening many different ports via gost instead of one, which could explain the potential scaling issue
The text was updated successfully, but these errors were encountered: