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
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
I 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:
http://code.google.com/p/httperf/issues/attachmentText?id=15&aid=150000000&name=httperf-0.9.0-hogfix.patch&token=6d1c86ff869b68ec6b06b51adee5f853
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