use gearmad http, apache/ab -k test, is not respone, timeout
Bug #1388475 reported by
jiaofuyou
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gearman |
New
|
Undecided
|
Unassigned |
Bug Description
I use gearmand:
gearmand -r http --http-port=8848
with
apache/ab -c 100 -n 100000 http://
is ok!
but:
apache/ab -k -c 100 -n 100000 http://
#-k use http heades "Connection: Keep-Alive"
it's test result is : timeout, is not respone
i think reason:
apache/ab is http1.0, http1.0 server respone must is have rigth content length Identification
To post a comment you must log in.
apache/ab test gearman http,Another problem:
bin/gearman -w -f test
ab -c 1 -n 2 http:// 127.0.0. 1:8848/ test?key= jfy
./gearman -w -f test
key=jfykey=jfy
it receive 2 req, is ok
but :
ab -c 2 -n 2 http:// 127.0.0. 1:8848/ test?key= jfy
# -c 2: concurrency 2
./gearman -w -f test
key=jfy
Very strange,the woker only receive 1 req
this is why?