Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a server which I am testing for functionality (not load, not stress) with tsung. 50 users / second, 100 total users. Judging from tsung (tsung is the testing framework) graphs, there TCP connections (red line) drops to 0 while the commenced user sessions (green line) does not. Server logs show nothing to be gripping onto, so I am speculating some kind of TCP issue. Should this be the case ? Where would I look further on the server, any logs / tools to be looking at ? Only SSH available, no GUI.

enter image description here

> root@XMPP:~# cat /etc/lsb-release  
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=11.10 
> DISTRIB_CODENAME=oneiric
> DISTRIB_DESCRIPTION="Ubuntu 11.10"

Thank you

share|improve this question
1  
lets say your computer from which you are connecting to tested computer has address 192.168.1.10. Use tcpdump to trace if any traffic exists while you use tsung. You should exclude the traffic you create with your ssh session. For example tcpdump src not 192.168.1.10 and dst not 192.168.1.10. This will show you each packet being sent. If you do not want such detailed information use iftop which will show you connections, traffic level and link stats. Additionally use netstat -patn | grep "ESTABLISHED" to see all active connections. –  mnmnc Dec 7 '12 at 10:29
add comment

1 Answer

up vote 0 down vote accepted

You can confirm the status of current TCP connections using netstat:

sudo netstat -antpo

Especially interresting should be the TCP sessions in ESTABLISHED state.

share|improve this answer
add comment

Your Answer

 
discard

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.