Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

EA4 SSL performance

Discussion in 'Workarounds and Optimization' started by hbouma, Dec 3, 2017.

  1. hbouma

    hbouma Well-Known Member

    Jun 8, 2002
    Likes Received:
    Trophy Points:

    Before I open a ticket with cPanel, I've noticed a huge drop in requests per second Apache can handle when its made over SSL. For example:
    # ab -n 1000 -c 100
    Requests per second:    9909.62 [#/sec] (mean)
    Time per request:       10.091 [ms] (mean)
    Time per request:       0.101 [ms] (mean, across all concurrent requests)
    # ab -n 1000 -c 100
    Requests per second:    91.27 [#/sec] (mean)
    Time per request:       1095.622 [ms] (mean)
    Time per request:       10.956 [ms] (mean, across all concurrent requests)
    Now I can understand and accept the time per SSL request goes up due to the added overhead, but what I don't get is that I can raise Apache's threads/workers limit to say 300 and increase the number of connections to 200 but the req. per second stays at about 85-90 even though the server remains mostly idle.

    My setup is EA4 with MPM-Event. But using MPM-Prefork didn't help either.

    Does anyone have suggestions for this or should I just switch to nginx as a front end since it can process over 275 req/sec over SSL.


    #1 hbouma, Dec 3, 2017
    Last edited by a moderator: Dec 4, 2017
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    I've moved this thread to our "Optimization" forum.

    You may find the discussion on the following thread somewhat relevant:

    SOLVED - SSL slow first time

    However, generally this type of question will receive more user-feedback on a website such as StackOverflow.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice