[httperf] httperf question about connections requests

Arlitt, Martin martin.arlitt at hp.com
Thu Oct 1 08:29:49 PDT 2009

Hi Francisco

I think the issue is the server is closing the connection after a single transaction, but httperf is expecting to reuse it.  To avoid this, you can try setting --burst-length=1 (although I'm not sure it will work if the problem is related to the server issuing a "Connection: close" header - see the discussion on https://www.hpl.hp.com/hosted/linux/mail-archives/httperf/ in Feb and Mar of 2008.)



-----Original Message-----
From: httperf-bounces at napali.hpl.hp.com [mailto:httperf-bounces at napali.hpl.hp.com] On Behalf Of Francisco Morales
Sent: Wednesday, September 30, 2009 12:21 PM
To: httperf at napali.hpl.hp.com
Subject: [httperf] httperf question about connections requests


I am working with httperf and autobench to perform some tests one of our 
webservers.  I have been using the atubench and the httperf command line to
find out what will be the best option to perform the test.  I have some 
questions about some of the variables used in httperf and will like to
get some clarification about how they interact with each other.

This is the command line using httperf that I am useing.

httperf --hog --timeout=5 --client=0/1 --server= --port=80 
--uri=/1KB.htm -*-rate=1* --send-buffer=4096 --recv-buffer=16384 

What I am seen is that in the "Totals"  section the connection numbers 
are not matching.

Total: connections 50 requests 90 replies 50 test-duration 17.004 s

This is causing a discrepancy and httperf is reporting errors.

Errors: total 40 client-timo 0 socket-timo 0 connrefused 0 connreset 40

Is there a explanation why I am experiencing these errors?

Thank you

Francisco Morales

httperf mailing list
httperf at linux.hpl.hp.com

More information about the httperf mailing list