Preferred Method of Changing SSLSessionCache SHMCB cache size

Operating System & Version
CentOS 7
cPanel & WHM Version
v90.0.15

liebn0r

Well-Known Member
Dec 7, 2017
48
7
8
USA
cPanel Access Level
Website Owner
There is an apache config variable called SSLSessionCache:

The typical format is: shmcb:/path/to/datafile[(size)]

I run a very high-traffic server (~1000 page views / second) and I believe that increasing the SHMCB cache size up from the default of 1mb will result in a performance benefit because the "total (pre-expiry) entries scrolled out of the cache" value in Apache status is very high.

What is the preferred method of changing this value in the WHM way of doing things?
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,309
363
Houston
In order to modify this you'd actually not be able to do it through the WHM UI, you'd need to go to /var/cpanel/templates/apache2_4/ and add an ea4_main.local template (should it not already exist). The documentation on how to do this can be found here Custom Templates | cPanel & WHM Documentation