[httperf] problem with request number

Arlitt, Martin martin.arlitt at hp.com
Tue Nov 20 05:09:34 PST 2012


Hi Fane

You will need to check the configuration options for your server.

You may also want to use a tool (e.g., tcpdump) to gather a network trace, that could give you more insight on when your server is closing the connections. However, be aware this can generate a lot of data.

Thanks
Martin


-----Original Message-----
From: fane.luca at libero.it [mailto:fane.luca at libero.it] 
Sent: Tuesday, November 20, 2012 5:04 AM
To: Arlitt, Martin
Subject: R: RE: Re: [httperf] problem with request number


thanks, I've understand, so the problem is that my server close connection, where can i check the error in my http 1.1 server with persistent connection?  
>----Messaggio originale----
>Da: martin.arlitt at hp.com
>Data: 20/11/2012 13.55
>A: "'fane.luca at libero.it'"<fane.luca at libero.it>, "chris at aptivate.org"
<chris at aptivate.org>
>Cc: "httperf at linux.hpl.hp.com"<httperf at linux.hpl.hp.com>
>Ogg: RE: Re: [httperf] problem with request number
>
>Hi Fane
>
>As Chris pointed out, the issue is 206 of your 300 connections have 
>been
reset, i.e., prematurely terminated by the server before they have completed
1,000 calls. Thus, your math is incorrect, you are adding the number of calls completed and the number of connections reset. You would need to multiply the number of connections reset by the average number of calls still to be sent on each of those connections.
>
>Thanks
>Martin
>
>
>-----Original Message-----
>From: httperf-bounces at linux.hpl.hp.com [mailto:httperf-bounces at linux.hpl.hp.
com] On Behalf Of fane.luca at libero.it
>Sent: Tuesday, November 20, 2012 3:28 AM
>To: chris at aptivate.org
>Cc: httperf at linux.hpl.hp.com
>Subject: R: Re: [httperf] problem with request number
>
>
>thank you for the answer, but :
>"Total: connections 300 requests 246524 replies 246318 test-duration 
>27.424
s"
>
>
>
>"Errors: total 206 client-timo 0 socket-timo 0 connrefused 0 connreset 206"
>
>the errors are 206 , they correspond to the failed replies (infact
246318+206=
>246524) but i want that httperf server send all the 300000 requests .
>
>
>
>
>>----Messaggio originale----
>>Da: chris at aptivate.org
>>Data: 20/11/2012 12.09
>>A: "fane.luca at libero.it"<fane.luca at libero.it>
>>Cc: <httperf at linux.hpl.hp.com>
>>Ogg: Re: [httperf] problem with request number
>>
>>Hi Fane,
>>
>>On Tue, 20 Nov 2012, fane.luca at libero.it wrote:
>>
>>> " sudo httperf --hog --server localhost --port 80 --uri 
>>> /image/Stark.jpg    --rate 150 --num-conn 300 --num-call 1000"
>>> 
>>> i want that httperf send 300000 (300*1000) request to my server ;
>>[...]
>>> Total: connections 300 requests 246524 replies 246318 test-duration
27.424 
>s
>>[...]
>>> Errors: total 206 client-timo 0 socket-timo 0 connrefused 0 
>>> connreset 206
>>
>>206 of your 300 connections were reset by the remote web server before 
>>httperf could send 1000 requests to them, so it wasn't able to 
>>complete your requested benchmark. That probably indicates a bug/crash 
>>in the code on the web server (application or httpd).
>>
>>Cheers, Chris.
>>--
>>Aptivate | http://www.aptivate.org | Phone: +44 1223 967 838 Future 
>>Business, Cam City FC, Milton Rd, Cambridge, CB4 1UY, UK
>>
>>Aptivate is a not-for-profit company registered in England and Wales 
>>with company number 04980791.
>>
>
>
>
>_______________________________________________
>httperf mailing list
>httperf at linux.hpl.hp.com
>http://www.hpl.hp.com/hosted/linux/mail-archives/httperf/
>
>_______________________________________________
>httperf mailing list
>httperf at linux.hpl.hp.com
>http://www.hpl.hp.com/hosted/linux/mail-archives/httperf/
>





More information about the httperf mailing list