Questions tagged [httperf]

Httperf is a tool for measuring web server performance.

Httperf is a tool for measuring web server performance. It provides a flexible facility for generating various HTTP workloads and for measuring server performance. It does not provide a benchmark, but rather a framework to run benchmarks.

37 questions
37
votes
3 answers

httperf segmentation fault error on OS X 10.7.1

When I try to perform a load test using httperf with high request rate, I get the following error: » httperf --client=0/1 --server=www.xxxxx.com --port=80 --uri=/ --send-buffer=4096 --recv-buffer=16384 --num-conns=200 --rate=30 httperf --client=0/1…
Mike Hemelberg
  • 952
  • 1
  • 9
  • 10
11
votes
1 answer

httperf gives warning open file descriptor on ubuntu 12.04 but not in Ubuntu 10.04

I have been running load tests using httperf for a few weeks and getting this error - httperf: warning: open file limit > FD_SETSIZE; limiting max. # of open files to FD_SETSIZE when I fire query from OS - Ubuntu 12.04 LTS (64 bit machine). But…
Coder
  • 1,415
  • 2
  • 23
  • 49
7
votes
1 answer

Changing the file descriptor size in httperf

I'm doing a series of benchmarks and found the httpperf tool. But the version in my ubuntu 12.04 has a too small file descriptor size. Because it warns me with this message: httperf: warning: open file limit > FD_SETSIZE; limiting max. # of open…
tutuca
  • 3,444
  • 6
  • 32
  • 54
5
votes
0 answers

Compiling httperf on Mac

Wondering if anyone can tell what's going on? After slogging through compilation trial and error all day, I've got a httperf that compiles and runs yet fails to connect to anything. It now barfs with "httperf: can't open google.com". My guess is…
Ben Simmons
  • 1,858
  • 3
  • 21
  • 31
5
votes
0 answers

httperf benchmarking for file upload using POST

I want to benchmark uploading of files to a remote server using HTTPERF I know that there is a wsesslog option where I can give entries for form data. But can I send a post request for a file as well? something like: httperf --hog --server…
Akshya11235
  • 959
  • 4
  • 11
  • 25
5
votes
1 answer

httperf command options

I need to perform 3 types of performance tests for apache. 500 requests/sec for 60 seconds duration 1000 requests/sec for 60 seconds duration 1500 requests/sec for 60 seconds duration I went through httperf manual but, I am really confused with…
Nikhil Rupanawar
  • 4,061
  • 10
  • 35
  • 51
4
votes
2 answers

Stuck at 100 requests uWSGI

httperf ... --rate=20 --send-buffer=4096 --recv-buffer=16384 --num-conns=100 --num-calls=10 Gives 1000 requests as expected on nginx. Total: connections 100 requests 1000 replies 1000 test-duration 5.719 s Connection rate: 17.5 conn/s (57.2…
Dmitry
  • 2,068
  • 2
  • 21
  • 30
4
votes
1 answer

100% connreset with httperf?

I'm wondering what the importance of the connreset with httperf is. When testing a single webpage, I receive no errors. When using a simple .log file with several pages, I am getting 100% connreset errors. Suggestions on how to overcome this?
Jason
  • 71
  • 4
4
votes
1 answer

Rails load testing with httperf

I'm trying to load test my Rails (3.2.13) application with httperf. It worked very well for the pages which don't require cookies. But, I couldn't make it working for the pages which require cookies. I'm using Gregg Pollack's httperf…
Ashish Bista
  • 4,533
  • 1
  • 18
  • 25
4
votes
3 answers

httperf to test an json rest api

I have a file with this content: helper?token=99999 method=POST contents='{"key1":99999, "key2":88888, "key3":55}' and then I run this command: httperf --print-reply --print-request --hog --client=0/1 --server=a_server --port=8080 --uri=/ --rate=25…
user2427
  • 7,842
  • 19
  • 61
  • 71
4
votes
4 answers

httperf buffer overflow detected when rate is high

I'm running httperf 0.9.0 (downloaded from Google Code) on Ubuntu 12.04.1 LTS 64-bit with 2CPU and 4GB RAM. I'm trying to benchmark web servers but encountered the following buffer overflow problem. Terminal command: httperf --timeout=5 --client=0/1…
Xiao Jia
  • 4,169
  • 2
  • 29
  • 47
3
votes
1 answer

autobench on HTTPS endpoint

How do I set in autobench that I'm testing an HTTPS (port 443) URL? When I call it with: autobench --single_host --host1 host.com --port1 443 --uri1 /hello --num_conn 1000 --timeout 5 --low_rate 10 --high_rate 50 --rate_step 10 --num_call 10 --quiet…
Mark
  • 67,098
  • 47
  • 117
  • 162
3
votes
0 answers

Gatling vs httperf

I am trying to stress test one simple server with 10K connections per seconds; it's pretty dummy server so this should be possible. When I run gatling, the best I can get is 7K, at 8K we start to receive connection errors. This is again a simple…
igr
  • 10,199
  • 13
  • 65
  • 111
3
votes
1 answer

paste.httpserver and slowdown with HTTP/1.1 Keep-alive; tested with httperf and ab

I have a web server based on paste.httpserver as an adapater between HTTP and WSGI. When I do performance measurements with httperf, I can do over 1,000 requests per second if I start a new request each time using --num-conn. If I instead reuse the…
Andrew Dalke
  • 14,889
  • 4
  • 39
  • 54
3
votes
3 answers

Trouble deciphering Autobench output

I'm trying to benchmark a simple webserver I wrote, but I'm having trouble deciphering what Autobench has outputted. I've been googling all over for help on this (even going through the autobench and httperf source code) but haven't been able to…
Dave DeLong
  • 242,470
  • 58
  • 448
  • 498
1
2 3