memory usage for ssl_client_certificate

Maxim Dounin mdounin at mdounin.ru
Thu Jan 7 02:15:42 UTC 2021


Hello!

On Tue, Jan 05, 2021 at 02:13:04PM -0800, Frank Liu wrote:

> If I have a 5M pem file for ssl_client_certificate, and 1000 concurrent
> connections, will nginx load the file 1000 times with 1000*5M memory usage,
> or only 1 time load in memory to be shared across all connections?

The certificates in the ssl_client_certificate file are loaded 
during configuration parsing, and the amount of memory used does 
not depend on the number of connections.

-- 
Maxim Dounin
http://mdounin.ru/


More information about the nginx mailing list