apache bench reports slow speed on cpanel services
Here's my issue.
I have a dedicated dual-core centos 2.8Ghz server with 2GB ram and 4GB swap space. On a super busy day about 100MB swap is used but
I haven't seen that in a while. Now the usage is at about 16MB.
I did some server load testing to the cpanel whm manager (via port 2086) from a machine about 75km away from the data center as follows (I replaced the word IP with my actual IP address in my tests):
I tried to test 15 connections at once 15 times: ab -c 15 -n 15 IP:2086/
This is my result:
Benchmarking IP (be patient).....done
Server Software: cpsrvd/11.42.1.17
Server Hostname: IP
Server Port: 2086
Document Path: /
Document Length: 1909 bytes
Concurrency Level: 15
Time taken for tests: 3.51874 seconds
Complete requests: 15
Failed requests: 0
Write errors: 0
Non-2xx responses: 15
Total transferred: 35850 bytes
HTML transferred: 28635 bytes
Requests per second: 4.92 [#/sec] (mean)
Time per request: 3051.874 [ms] (mean)
Time per request: 203.458 [ms] (mean, across all concurrent requests)
Transfer rate: 11.47 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 8 15 4.8 16 24
Processing: 31 664 1221.3 88 3027
Waiting: 29 661 1221.4 85 3025
Total: 39 679 1224.0 105 3051
Percentage of the requests served within a certain time (ms)
50% 104
66% 109
75% 119
80% 3038
90% 3044
95% 3051
98% 3051
99% 3051
100% 3051 (longest request)
This makes me think my server is handling requests very slowly. Its trying to tell me that it takes over 3 seconds to process 12 requests, but for 10 requests it takes 1/10th of a second.
Apache can't be the problem unless whm relies on it to function.
I think theres some TCP/IP setting I overlooked. Can anyone help me?
-
Hello :) I just wanted to point out that cPanel version 11.42.1.17 is outdated. Please ensure you are using at least 11.42.1.26 if you prefer to remain on the 11.42 version. Thank you. 0 -
If possible, try to benchmark your apache prefork settings or try proxy webservers ( apache + nginx ) 0 -
Hello, Please reefer link [url=http://cpnginx.com/]cPnginx : cPanel Nginx plugin - Turbo boost your cPanel server with high stability. 0
Please sign in to leave a comment.
Comments
3 comments