[httperf] FD_SETSIZE

Alex Dodge alex.dodge at motuit.com
Wed Jul 23 13:55:07 PDT 2008


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  
connections.

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- 
conns=100
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  
983.0
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  
99.9%)
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


Thanks!
Alex Dodge


More information about the httperf mailing list