Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Dec 2006 22:25:32 +0000
From:      Steve Hodgson <steve@stevehodgson.co.uk>
To:        Bartosz Giza <gizmen@blurp.pl>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: problem with apache bench
Message-ID:  <4596E75C.6080304@stevehodgson.co.uk>
In-Reply-To: <363265914.20061230211050@blurp.pl>
References:  <363265914.20061230211050@blurp.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Bartosz Giza wrote:
> Hi,
>
> from couple of days i am trying to figure out what is wrong with apache
> bench. I want to test my remote site with it but all the time i got this
> error message.
>
> % ab -c 10 -n 500 http://xxxxx/test.php
> Test aborted after 10 failures
>
> apr_socket_connect(): Operation already in progress (37)
> Total of 8 requests completed
>
>   
I would use truss to look at the syscalls ab is using. Make sure /proc
is mounted and use "truss ab" instead of just ab. Also checking the
httpd logs in /var/log might be useful.

I've used ab locally on a recent 6.2 and I don't get this failure, but
my ab and my kernel are likely different.

Steve

> I searched google but i didn't find anything in english that i could use.
> Could somebody help me with this.
>
> I am running freebsd 6.2-PRE. I have tested this on amd64 and i386.
> It seems that there is problem with -c 10 parametr. Without this param ab
> works good (i hope). But without -c it is hard to benchmark my apache.
>
>
>   




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4596E75C.6080304>