D
DaReaper
Guest
Hello
I was wonder if there were ways to benchmark your server and get a report of how many requests your server can handle.
I'm using lighttpd and i've heard that it's good at handling lots of request for smaller servers.
i've tried the apache benchmarking tool which can be ran using this command -
This is the report i got for my homepage - index.html
Basically for a PHP webpage hosted on myserver even though the server has plently of RAM left i get " 500 Internal server errors" once i make it to loads of 4.00 - 5.00
I don't know why ? Is it possible to increase the scale of the load so that it shows the error only at 10 or maybe 15 .
Thank you
I was wonder if there were ways to benchmark your server and get a report of how many requests your server can handle.
I'm using lighttpd and i've heard that it's good at handling lots of request for smaller servers.
i've tried the apache benchmarking tool which can be ran using this command -
Code:
ab -kc 1000 -n 10000 http://www.yoursite.com/index.html
or
ab -kc 1000 -n 10000 http://www.yoursite.com/index.php
This is the report i got for my homepage - index.html
Code:
Document Path: /index.html
Document Length: 16378 bytes
Concurrency Level: 1000
Time taken for tests: 1.341 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Keep-Alive requests: 9412
Total transferred: 166187060 bytes
HTML transferred: 163780000 bytes
Requests per second: 7459.22 [#/sec] (mean)
Time per request: 134.062 [ms] (mean)
Time per request: 0.134 [ms] (mean, across all concurrent requests)
Transfer rate: 121057.28 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 6.1 0 53
Processing: 0 37 120.5 0 861
Waiting: 0 36 120.5 0 861
Total: 0 38 121.0 0 861
Percentage of the requests served within a certain time (ms)
50% 0
66% 0
75% 22
80% 33
90% 55
95% 304
98% 600
99% 645
100% 861 (longest request)
Basically for a PHP webpage hosted on myserver even though the server has plently of RAM left i get " 500 Internal server errors" once i make it to loads of 4.00 - 5.00
I don't know why ? Is it possible to increase the scale of the load so that it shows the error only at 10 or maybe 15 .
Thank you