Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

Hi I have weird problem with one of my applications (servers ), its suddenly starts to read socket and before it written back, the connection is closed this is what I see in my logs. Is there any tool in Linux centos that let me see what is happening in this time frame some tools to debug the network ?

share|improve this question

Use tcpdump or wireshark. tcpdump is a common packet analyzer that runs under the command line. Wirehark is GUI application.

Also you can use strace to trace system call.

share|improve this answer

Along with wireshark and tcpdump, you can also log everything through iptables. Depending on how your firewall is set up, a log rule would look something like "-A INPUT -j LOG"

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.