Bobcares

SSLSessionCache: Invalid argument: size has to be >=8192 bytes

by | Sep 18, 2020

Are you looking for a solution to the error message ‘SSLSessionCache: Invalid argument: size has to be >=8192 bytes’? We can help you with it.

Here at Bobcares, we have seen several such SSLSessionCache related errors as part of our Server Management Services for web hosts and online service providers.

Today we’ll take a look at the causes for this error and see the fix.

 

Why does ‘SSLSessionCache: Invalid argument: size has to be >=8192 bytes’ error occur

Now let’s take a look into the different causes for this error to occur.

  • This error appears when we run the command “httpd -S” during the Apache https setup.
  • If any spaces or parenthesis is present in the name of the folder where Apache for Windows is installed.
  • This may also appear in the error.log file on a 64-bit version of Windows with the 32-bit version of Apache.

 

Remedies for ‘SSLSessionCache: Invalid argument: size has to be >=8192 bytes’ error message

Now let us see the different suggestions our Support Engineers provide to our customers to resolve this error.

1. Move all the Apache files to a different folder. (For instance, c:/Program Files (x86)/Apache2/ to c:/Apache/Apache2/).

2. Try changing the folder name to any short name. For that, run the below command to find the short name for the folder.

dir /x C:\

Make sure to add a backslash (\) to avoid the ~ character as follows:

C:/Program Files (x86)/Apache2/ will change to C:/Progra\~2/Apache2/

Now you would need to replace the folder name in httpd-ssl.conf with the directory name in short form as below.

SSLSessionCache “shmcb:C:/PROGRA\~2/Apache2/logs/ssl_scache(512000)”

At last, restart the Apache.

[Need any assistance in fixing SSLSessionCache errors? – We’ll help you]

 

Conclusion

In short, this error may occur during Apache https setup, presence of space or parenthesis in the folder name where Apache is installed, or may also appear in the error.log file. Today, we saw the different causes and its solution to this error.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.