[httperf] FD_SETSIZE

Arlitt, Martin martin.arlitt at hp.com
Thu Jul 24 16:26:13 PDT 2008

Hi Alex

Have you tried other invocations, or just ones like the example below?  The reason I ask is the example command line you sent does not specify the rate at which to generate requests, and the default is to issue requests serially.  E.g., if you specify --num-conns=100 and --rate=10, httperf should issue 10 requests per second for 10 seconds.  If you are unable to do this, then we can explore why.


-----Original Message-----
From: httperf-bounces at napali.hpl.hp.com [mailto:httperf-bounces at napali.hpl.hp.com] On Behalf Of Alex Dodge
Sent: Wednesday, July 23, 2008 1:55 PM
To: httperf at napali.hpl.hp.com
Subject: [httperf] FD_SETSIZE

Hello.  I'm trying to use httperf with autobench on an OSX and a
Solaris box.  I keep getting the following message:

httperf: warning: open file limit > FD_SETSIZE ; limiting max. # of
open files to FD_SETSIZE

Additionally, the connections are very slow, no matter how I configure
the app.  The most I've been able to achieve is 5 concurrent

I've been hoping to use httperf for load testing, and this is making
it impossible.  Can anyone help me out?

Here's a typical session:

[adodge at Ranger]:~ $ httperf --hog --server=dev01.motuit.com --num-
httperf --hog --client=0/1 --server=dev01.motuit.com --port=80 --uri=/
--send-buffer=4096 --recv-buffer=16384 --num-conns=100 --num-calls=1
httperf: warning: open file limit (-1) > FD_SETSIZE (2147483647) ;
limiting max. # of open files to FD_SETSIZE
Maximum connect burst length: 1

Total: connections 100 requests 100 replies 100 test-duration 35.187 s

Connection rate: 2.8 conn/s (351.9 ms/conn, <=1 concurrent connections)
Connection time [ms]: min 67.2 avg 351.9 max 4895.7 median 75.5 stddev
Connection time [ms]: connect 86.5
Connection length [replies/conn]: 1.000

Request rate: 2.8 req/s (351.9 ms/req)
Request size [B]: 69.0

Reply rate [replies/s]: min 0.6 avg 2.8 max 7.4 stddev 2.3 (7 samples)
Reply time [ms]: response 104.4 transfer 160.9
Reply size [B]: header 471.0 content 4071.0 footer 0.0 (total 4542.0)
Reply status: 1xx=0 2xx=100 3xx=0 4xx=0 5xx=0

CPU time [s]: user 8.37 system 26.78 (user 23.8% system 76.1% total
Net I/O: 12.8 KB/s (0.1*10^6 bps)

Errors: total 0 client-timo 0 socket-timo 0 connrefused 0 connreset 0
Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0

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

More information about the httperf mailing list