load_test_ab
This is an old revision of the document!
Load Testing Using ab
ab - Apache HTTP server benchmarking tool
# which ab /usr/bin/ab
# rpm -qf /usr/bin/ab httpd-tools-2.2.15-39.el6.centos.x86_64 httpd-tools-2.2.15-47.el6.centos.x86_64
Flag | Description |
---|---|
-n | The number of requests to be performed (Default is 1) |
-c | The number of concurrent requests to be performed at a time (Default is 1) |
-k | Enabled the 'Keep Alive' feature to perform multiple requests in the same HTTP session (Default is NO Keep Alive) |
-H | Append extra headers to the request |
ab -n 10000 -kc 10000 http://www.example.com/
Common Issues
This is ApacheBench, Version 2.3 <$Revision: 655654 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking www.example.com (be patient) socket: Too many open files (24)
load_test_ab.1463134848.txt.gz · Last modified: 2024/05/23 07:26 (external edit)