-
Notifications
You must be signed in to change notification settings - Fork 358
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
ReadResponse(StatusReady) in DialTimeout hang #112
Comments
Same question |
Did you already try tcpdump do inspect the connections? You could also use http://golang.org/pkg/net/http/pprof/ to get a stacktrace of all go routines, see also: https://stackoverflow.com/a/19145992 |
@corny Thanks. This is the stack dump of blocking goroutine (go version 1.8.3, 32-bit)
and the netstat command output on windows server 2003 machine
I have tried to add these lines.
so ReadResponse(StatusReady) in DialTimeout would failed with i/o timeout. But i still found one connection blocked there with CLOSE_WAIT state after running several days. |
Running into the same problem. Has it been resolved? |
Face the same issue, any update on this ? |
Do you have code to reproduce the issue ? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
fixes jlaffaye#112, fixes jlaffaye#132, fixes jlaffaye#147, fixes jlaffaye#181
fixes jlaffaye#112, fixes jlaffaye#132, fixes jlaffaye#147, fixes jlaffaye#181
fixes jlaffaye#112, fixes jlaffaye#132, fixes jlaffaye#147, fixes jlaffaye#181
https://github.com/jlaffaye/ftp/blob/master/ftp.go#L88
Hi,
my program have multiple connections to LIST different directories per second and the ftp server is Serv-U v5.0. after a while, some connections hang. netstat command shows that the tcp state is ESTABLISHED. run ftp.DialTimeout with some duration does not help.
The text was updated successfully, but these errors were encountered: