Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using wget to download files and on multiple servers (same provider) I get "connection closed", socket errno 4, errno 4 socket error timed out, etc.

What can I do to show the provider it's a problem on their side? Or if I am wrong, how can I find out more about the cause?

Thank you for your help, much appreciated

I tried:

  • disable iptables
  • check resolver.conf
  • use dig to check everything ok, DNS seems to return IP for my server, authority answers OK
share|improve this question
The provider was aware of the issue and suggested to send in: tracert, pings, traceroute, etc to inspect it – mashup Apr 26 '12 at 15:22
up vote 1 down vote accepted

If it's a network problem, traceroute and pings are useful high-level tools to get a feel for reliability. If anything, a packet capture using tcpdump/wireshark will provide more details about the underlying protocol transmission. For example, if you see a bunch of tcp retransmits, that could indicate a problem with the network (anything from the actual wires to network hardware).

If you do a packet capture, you should start from the moments leading up to the socket closing and work backwards. Depending on how the socket is closed (which endpoint sends a rst or fin), that could also indicate whether the problem is with the network or application on either end.

share|improve this answer
Smokeping for network monitoring. – Tom O'Connor Apr 28 '12 at 14:36

What does your monitoring show? If you aren't monitoring the server, that's step #1. Are you seeing large CPU usage spikes? Large inbound traffic spikes? Large numbers of incoming HTTP requests? You could even set up a ping to your gateway, if you see lost packets that would most likely indicate a network issue.

Without any sort of data as to how your server is performing, we can't give you any sort of meaningful answer.

share|improve this answer

sir you do one thing,start download by wget and meanwhile u check command netstat -p tcp and show report to provider....

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.