Preferred Method of Changing SSLSessionCache SHMCB cache size

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

liebn0r

Member
Dec 7, 2017
12
1
3
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
Staff member
Nov 14, 2017
13,297
1,251
313
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