[httperf] segematation fault in httperf

Yaya Wei yywei@csnet1.cs.tsinghua.edu.cn
Tue, 8 Apr 2003 9:43:36 +0800


Dear Dr. Martin,

   Thank you for your help and your suggestion. I feel sorry for bothering you and others serveral times.

   Is "Segmentation fault" because of "Connreset"? Because in my test if "think time" is larger than 16(KeepAliveTimeout=15), there is a "connreset" error. I guess because the client thinks the connection is
active in Http/1.1, but if "think time" is larger than 16s,the server has closed the connection when the client
want to send requests.So "connreset error" occurs. I think it is normal. 
   But unfortunately I also find "Segemantation fault" always occur when "connreset error" occurs.I increase 
"-recv-buffer" and "-send-buffer", but "Segemantation fault" occurs in some times. I post some test outputs as
follows:







[wyy79@QoServer bin]$ httperf --hog --port 80 --rate 0.25  --failure-status 503  --server 166.111.70.100 --timeout 5  --wsesslog  250,8,/home/wyy79/session500.txt   --session-cookies  --send-buffer  83886080  --recv-buffer 83886080 --client  1/2  
httperf --hog --timeout=5 --client=1/2 --server=166.111.70.100 --port=80 --uri=/ --failure-status=503 --rate=0.25 --send-buffer=83886080 --recv-buffer=83886080 --session-cookies --wsesslog=250,8.000,/home/wyy79/session500.txt
Maximum connect burst length: 1

Total: connections 385 requests 1886 replies 1751 test-duration 1223.720 s

Connection rate: 0.3 conn/s (3178.5 ms/conn, <=30 concurrent connections)
Connection time [ms]: min 163.0 avg 32300.2 max 184931.6 median 26735.5 stddev 31958.0
Connection time [ms]: connect 0.5
Connection length [replies/conn]: 4.548

Request rate: 1.5 req/s (648.8 ms/req)
Request size [B]: 130.0

Reply rate [replies/s]: min 0.0 avg 1.4 max 3.6 stddev 0.7 (244 samples)
Reply time [ms]: response 278.5 transfer 13.5
Reply size [B]: header 151.0 content 117.0 footer 2.0 (total 270.0)
Reply status: 1xx=0 2xx=1748 3xx=0 4xx=0 5xx=3

CPU time [s]: user 463.94 system 759.78 (user 37.9% system 62.1% total 100.0%)
Net I/O: 0.6 KB/s (0.0*10^6 bps)

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

Session rate [sess/s]: min 0.00 avg 0.20 max 0.80 stddev 0.20 (247/250)
Session: avg 1.55 connections/session
Session lifetime [s]: 50.3
Session failtime [s]: 0.6
Session length histogram: 0 56 22 28 16 15 13 17 8 7 9 8 8 10 3 5 5 3 2 1 1 2 3 0 1 1 0 2 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1
   
  Thank you for your help. I am very appreciated if you can give me some suggestions.



Best Regards,



Yaya