From owner-freebsd-questions Fri Feb 25 17:24:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id B54F537BF11 for ; Fri, 25 Feb 2000 17:24:51 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) id RAA23229; Fri, 25 Feb 2000 17:54:30 -0800 (PST) Date: Fri, 25 Feb 2000 17:54:30 -0800 From: Alfred Perlstein To: Jerry Preeper Cc: freebsd-questions@FreeBSD.ORG Subject: Re: load testing a web server and network connectivity Message-ID: <20000225175430.O21720@fw.wintelcom.net> References: <3.0.5.32.20000225170727.00b54430@crash.cts.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <3.0.5.32.20000225170727.00b54430@crash.cts.com>; from preeper@cts.com on Fri, Feb 25, 2000 at 05:07:27PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Jerry Preeper [000225 17:47] wrote: > I was wondering if anyone has run across a good tool to load test a web > server and connectivity. I'd like to see how my web server stands up to a > load of like 5x, 10x, 20x and 50x of what I get now. The two issues I > probably need to test would be connectivity to the server and then server > performance under load. I'm not sure how to go about simulating the > connections that would probably also need to do things like run some of the > perl programs, mysql accesses and such to have it be a fair test... Also, > it would be nice if it could interpolate results to give an idea of where > it would it would die or be dead for real purposes and show what the > bottlenecks might be (ram, nic, etc..). Any ideas? The apache program comes with a program called 'ab' that allows you bench requests against a server, the only problem is that it completely blasts the @#$@#$ out of the server because it does requests as fast as they are completed, you can limit the number of concurrant requests though. You also can only specify one url, however you could script several runs of the program hitting different images/cgis. Anyone know any others? -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message