Apache Benchmark Connection reset by peer


(haarts) #1

All,

In our never ending quest to break ES we let loose Apache Benchmark on our
ES install:
$ ab -n20 http://foobar.com:9200/pictures/picture/some_random_id

Nearly always we get:
apr_socket_recv: Connection reset by peer (54)

Even -n2 throws this error. I know ES is not a key value store but 20
sequential requests shouldn't be a problem right?

With kind regards,


(Shay Banon) #2

Are you using ab on OS X Lion? Its completely broken there…, you need to compile one yourself (just good search the error, you will see).

On Tuesday, February 28, 2012 at 6:29 PM, haarts wrote:

All,

In our never ending quest to break ES we let loose Apache Benchmark on our ES install:
$ ab -n20 http://foobar.com:9200/pictures/picture/some_random_id

Nearly always we get:
apr_socket_recv: Connection reset by peer (54)

Even -n2 throws this error. I know ES is not a key value store but 20 sequential requests shouldn't be a problem right?

With kind regards,


(haarts) #3

Completely broken doesn't even begin to describe how broken it is. You were
right. Running ab on a linux box showed how unbelievable fast ES is (twice
as fast as Riak!).
Many thanks!

On Tuesday, 28 February 2012 21:29:56 UTC+1, kimchy wrote:

Are you using ab on OS X Lion? Its completely broken there…, you need to
compile one yourself (just good search the error, you will see).

On Tuesday, February 28, 2012 at 6:29 PM, haarts wrote:

All,

In our never ending quest to break ES we let loose Apache Benchmark on our
ES install:
$ ab -n20 http://foobar.com:9200/pictures/picture/some_random_id

Nearly always we get:
apr_socket_recv: Connection reset by peer (54)

Even -n2 throws this error. I know ES is not a key value store but 20
sequential requests shouldn't be a problem right?

With kind regards,

On Tuesday, 28 February 2012 21:29:56 UTC+1, kimchy wrote:

Are you using ab on OS X Lion? Its completely broken there…, you need to
compile one yourself (just good search the error, you will see).

On Tuesday, February 28, 2012 at 6:29 PM, haarts wrote:

All,

In our never ending quest to break ES we let loose Apache Benchmark on our
ES install:
$ ab -n20 http://foobar.com:9200/pictures/picture/some_random_id

Nearly always we get:
apr_socket_recv: Connection reset by peer (54)

Even -n2 throws this error. I know ES is not a key value store but 20
sequential requests shouldn't be a problem right?

With kind regards,


(Shay Banon) #4

Run it with -k, so it will use keep alive (which is recommended with any client).

On Wednesday, February 29, 2012 at 8:21 AM, haarts wrote:

Completely broken doesn't even begin to describe how broken it is. You were right. Running ab on a linux box showed how unbelievable fast ES is (twice as fast as Riak!).
Many thanks!

On Tuesday, 28 February 2012 21:29:56 UTC+1, kimchy wrote:

Are you using ab on OS X Lion? Its completely broken there…, you need to compile one yourself (just good search the error, you will see).

On Tuesday, February 28, 2012 at 6:29 PM, haarts wrote:

All,

In our never ending quest to break ES we let loose Apache Benchmark on our ES install:
$ ab -n20 http://foobar.com:9200/pictures/picture/some_random_id

Nearly always we get:
apr_socket_recv: Connection reset by peer (54)

Even -n2 throws this error. I know ES is not a key value store but 20 sequential requests shouldn't be a problem right?

With kind regards,

On Tuesday, 28 February 2012 21:29:56 UTC+1, kimchy wrote:

Are you using ab on OS X Lion? Its completely broken there…, you need to compile one yourself (just good search the error, you will see).

On Tuesday, February 28, 2012 at 6:29 PM, haarts wrote:

All,

In our never ending quest to break ES we let loose Apache Benchmark on our ES install:
$ ab -n20 http://foobar.com:9200/pictures/picture/some_random_id

Nearly always we get:
apr_socket_recv: Connection reset by peer (54)

Even -n2 throws this error. I know ES is not a key value store but 20 sequential requests shouldn't be a problem right?

With kind regards,


(system) #5