apache bench reports slow speed on cpanel services

Mike St

Member
Jul 21, 2014
12
0
1
cPanel Access Level
Root Administrator
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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463
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.