-
Notifications
You must be signed in to change notification settings - Fork 347
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 TIME_WAIT state. #173
Comments
Can you please provide the source code (perhaps only the relevant part) of your test script? I have been running tests for hour and even days with no problems so I think the reason might be the way you are using it. |
|
|
It caused by graceful shutdown when send&recv with adb server(5037). It's absolutely normal process I guess. But in my case, it cause throttling, so I set linger option when connect socket. It makes a new connection not left TIME_WAIT port. `
` |
It seems like a good idea. |
Hi. First of all, thanks for you greate library. It's very useful and giving a lot of greate functions to develope my project.
I have some problem, I wrote script for monkey test(doing irregular actions), and found it adbClient left a lots of ports TIME_WAIT. I guess it creates ports every function related adb command and left ports TIME_WAIT state. When I continued 12 hours for several devices, Number of TIME_WAIT state ports are over 30 thoundans. So I guess It can cause lacks of ports. I want decrese thoses.
Could you comment about this issue please?
The text was updated successfully, but these errors were encountered: