From owner-freebsd-hackers@FreeBSD.ORG Sat Dec 30 22:51:41 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0243416A403 for ; Sat, 30 Dec 2006 22:51:41 +0000 (UTC) (envelope-from steve@stevehodgson.co.uk) Received: from benin.smallmonkey.co.uk (benin.smallmonkey.co.uk [82.138.248.235]) by mx1.freebsd.org (Postfix) with ESMTP id C24F713C489 for ; Sat, 30 Dec 2006 22:51:40 +0000 (UTC) (envelope-from steve@stevehodgson.co.uk) Received: from [192.168.7.2] (dyn-62-56-101-172.dslaccess.co.uk [62.56.101.172]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: steve@stevehodgson.co.uk) by benin.smallmonkey.co.uk (Postfix) with ESMTP id D70526D442; Sat, 30 Dec 2006 22:25:32 +0000 (GMT) Message-ID: <4596E75C.6080304@stevehodgson.co.uk> Date: Sat, 30 Dec 2006 22:25:32 +0000 From: Steve Hodgson User-Agent: Thunderbird 1.5.0.7 (X11/20061031) MIME-Version: 1.0 To: Bartosz Giza References: <363265914.20061230211050@blurp.pl> In-Reply-To: <363265914.20061230211050@blurp.pl> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: problem with apache bench X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Dec 2006 22:51:41 -0000 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. > > >