I'm using httperf from a large ec2 instance with ubuntu 10.04 (no other software installed).
When I test without --hog the tests run however when I use --hog the tests never end
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.
Sign up to join this communityI had the same problem but the patch provided in Niro's answer didn't solve the issue for me. The issue ended up being TCP connection reuse and recycling. To fix this I followed instructions found on: http://www.speedguide.net/articles/linux-tweaking-121
The relevant instructions were to run the following commands:
This is a bug in httperf. found the patch to solve it here:
strace httperf which is hunging: mass output bind(1006, {sa_family=AF_INET, sin_port=htons(58815), sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already in use)
apply echo 1 > /proc/sys/net/ipv4/tcp_tw_recycle echo 1 > /proc/sys/net/ipv4/tcp_tw_reuse so,can set big num-conns and rate..,and not hung.
thanks