[httperf] problems with ssl and httperf 0.9.1

Arlitt, Martin martin.arlitt at hp.com
Wed Aug 4 14:32:28 PDT 2010


Hi David

I just checked httperf 0.8.1 and 0.9.0 (to a different server); the SSL connection worked in both cases. this is what I see happening:

event_signal: EV_HOSTNAME_LOOKUP_START (obj=(nil),arg=bff5ba69)
event_signal: EV_HOSTNAME_LOOKUP_STOP (obj=(nil),arg=bff5ba69)
timer_schedule: t=0x9307218, delay=5s, arg=0
event_signal: EV_CONN_NEW (obj=0x9307238,arg=0)
event_signal: EV_CONN_CONNECTING (obj=0x9307238,arg=0)
core_ssl_connect(conn=0x9307238)
core_ssl_connect: want to read more...
core_ssl_connect(conn=0x9307238)
core_ssl_connect: want to read more...
core_ssl_connect(conn=0x9307238)
core_ssl_connect: SSL is connected!
core_ssl_connect: cipher=RC4-MD5, valid=1, id=50331652
event_signal: EV_CONN_CONNECTED (obj=0x9307238,arg=0)
event_signal: EV_CALL_NEW (obj=0x931c240,arg=0)
event_signal: EV_CALL_ISSUE (obj=0x931c240,arg=0)
event_signal: EV_CALL_SEND_START (obj=0x931c240,arg=0)
event_signal: EV_CALL_SEND_RAW_DATA (obj=0x931c240,arg=0)
do_send.0: wrote 68 bytes on 0x9307238
event_signal: EV_CALL_SEND_STOP (obj=0x931c240,arg=0)
do_recv.0: received reply data:
  0000: 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d  HTTP/1.1 200 OK.
...

In your case it looks like the TCP connection establishes, but the SSL connection does not. Since I don't know what troubleshooting you have already attempted, I'll suggest the obvious:
1) verify that www.testsite.com is working as expected (e.g., connect to it from a web browser). If that works:
2) capture full-packet tcpdump traces of the test with the browser, and again with httperf.
3) compare the differences in the two traces, and see if that sheds any light on the root cause.

Thanks
Martin


-----Original Message-----
From: httperf-bounces at linux.hpl.hp.com [mailto:httperf-bounces at linux.hpl.hp.com] On Behalf Of david at lang.hm
Sent: Monday, August 02, 2010 5:29 PM
To: httperf at linux.hpl.hp.com
Subject: [httperf] problems with ssl and httperf 0.9.1

I have a copy of httperf 0.9.1 that I downloaded 10-6-2008 that hangs when 
I try to use it against a SSL connection.

This is using libevent

compiling with debug and running gives me
>From dlang at digitalinsight.com Mon Aug  2 17:27:44 2010
Date: Mon, 2 Aug 2010 17:26:35 -0700 (PDT)
From: David Lang <dlang at digitalinsight.com>
To: david at lang.hm
Subject: httperf

# ./src/httperf --server www.testsite.com --ssl -d 32767
httperf --client=0/1 --server=www.testsite.com --port=443 --uri=/ --send-buffer=4096 --recv-buffer=16384 --ssl --num-conns=1 --num-calls=1

event_signal: EV_HOSTNAME_LOOKUP_STOP (obj=(nil),arg=7ffff719ba18)
event_signal: EV_SESS_NEW (obj=(nil),arg=7ffff719ba18)
timer_schedule: t=0x9ae6c0, delay=5s, subject=0
event_signal: EV_CONN_CONNECTING (obj=0x9afdd0,arg=0)
event_signal: EV_CONN_CONNECTED (obj=0x9afdd0,arg=0)
core_ssl_connect(conn=0x9afdd0)
core_ssl_connect: want to read more...
event_signal: EV_HOSTNAME_LOOKUP_START (obj=(nil),arg=3fc999a251ee7d82)
timer_schedule: t=0x9ae670, delay=5s, subject=0
event_signal: EV_HOSTNAME_LOOKUP_START (obj=(nil),arg=3fc99997851ee395)
timer_schedule: t=0x9ae6c0, delay=5s, subject=0
event_signal: EV_HOSTNAME_LOOKUP_START (obj=(nil),arg=3fc999983d70b656)
timer_schedule: t=0x9ae670, delay=5s, subject=0
event_signal: EV_HOSTNAME_LOOKUP_START (obj=(nil),arg=3fc9999851eb9581)
timer_schedule: t=0x9ae6c0, delay=5s, subject=0
event_signal: EV_HOSTNAME_LOOKUP_START (obj=(nil),arg=3fc999979999c19a)
timer_schedule: t=0x9ae670, delay=5s, subject=0
event_signal: EV_HOSTNAME_LOOKUP_START (obj=(nil),arg=3fc99998a3d71375)
timer_schedule: t=0x9ae6c0, delay=5s, subject=0
event_signal: EV_HOSTNAME_LOOKUP_START (obj=(nil),arg=3fc99997eb853af2)
timer_schedule: t=0x9ae670, delay=5s, subject=0
event_signal: EV_HOSTNAME_LOOKUP_START (obj=(nil),arg=3fc999983d70b656)
timer_schedule: t=0x9ae6c0, delay=5s, subject=0
event_signal: EV_HOSTNAME_LOOKUP_START (obj=(nil),arg=3fc999979999c19a)


what's going on here?

David Lang
_______________________________________________
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