For the context : Apache HTTPD 2.4.6-90.el7 on RHEL 7.4
- I had a
AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
warning in the logs, so I added to the configuration :
<IfModule socache_shmcb_module>
SSLSessionCache shmcb:/run/httpd/sslcache(512000)
</IfModule>
- I checked the
socache_shmcb_module
module is loaded :
$ httpd -M | grep shmcb
socache_shmcb_module (shared)
- I checked the syntax was fine :
$httpd -t
Syntax OK
- then did a graceful restart :
httpd -k graceful
- afterwards, I saw no more
AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
warning in the logs. Hours later, the whole HTTPD server was not functional anymore and the logs reported :
[socache_shmcb:error] AH00820: shared memory segment too small
The Apache documentation itself gives no details about the size of this cache, the value I applied is actually the one shown in examples.
How may I determine the acceptable size of this cache ? Do you have any details regarding this AH00820 error ?