CentOS6.564-bit website stress testing tool webbench

Source: Internet
Author: User

CentOS6.564-bit website stress testing tool webbench
In Apache, there are built-in AB commands to test the service pressure. nginx does not have its own commands and must be tested using a third-party software. Today we will briefly introduce the pressure test on nginx by webbench, stress testing is required for system administrators and O & M personnel. It clearly shows how much pressure the server can accept.

1. Test System: Centos6.5


2. Compile and install:

Wget http://home.tiscali.cz /~ Cz210552/distfiles/webbench-1.5.tar.gz

Tar xvf webbench-1.5.tar.gz-C/usr/local/

Cd/usr/local/webbench-1.5/

Make & make install

Note: if an error occurs, you can manually create a directory using the following information:

install: cannot create regular file '/usr/local/man/man1': No such file or directorymake: *** [install] Error 1

Then create the man folder manually and make it.


mkdir /usr/local/man


3. Usage:
Webbench-c 500-t 30 http://www.xxx.com
Parameter description:-c indicates the number of concurrencies, and-t indicates the time (seconds)


4. Test Result example:
[Root @ iZ94uoy9trrZ webbench-1.5] # ^./webbench-c 600-t 10 http: // xxxx/
Webbench-Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.


Benchmarking: GET http: // xxxx/
600 clients, running 10 sec.


Speed = 43104 pages/min, 1291844 bytes/sec.
Requests: 3571 susceed, 3613 failed.

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.