use gearmad http, apache/ab -k test, is not respone, timeout

Bug #1388475 reported by jiaofuyou
6
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://127.0.0.1:8848/test?key=test

   is ok!

but:

  apache/ab -k -c 100 -n 100000 http://127.0.0.1:8848/test?key=test
  #-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

Revision history for this message
jiaofuyou (jiaofuyou) wrote :

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?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.