-
Notifications
You must be signed in to change notification settings - Fork 190
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
并发上来之后,会出现too many open files; #11
Comments
1 |
更新之后效果不佳,打开文件数依然较多。 |
发日志出来 |
@lqqyt2423 请问下作者,新版本这个问题解决了吗?项目中想用go-mitmproxy替换mitmproxy |
我测试下来没啥问题 |
好的,那我就放心用了,感谢开源 |
hey :) sudo prlimit -n14096 -p PID the result is the following:
and when checking the lsof of my proccess i get 3754 open sockets that won't close lsof_out.txt err := clientConn.SetDeadline(time.Now().Add(10 * time.Second))
if err != nil {
LogErr(log, err)
}
err = serverConn.SetDeadline(time.Now().Add(10 * time.Second))
if err != nil {
LogErr(log, err)
} but it also did not help Linux ip-172-26-12-143 4.19.0-14-cloud-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux |
@philipnimble |
No description provided.
The text was updated successfully, but these errors were encountered: