P
P
Puma Thailand2019-11-05 11:29:18
Nginx
Puma Thailand, 2019-11-05 11:29:18

How does nginx digest 1000 configs with domains with ssl certificates?

Has anyone tried to keep such a volume of certificates in it?
How does it affect performance?
How fast is the restart?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
ky0, 2019-11-05
@ky0

Logic suggests that it will not affect in any way - the volumes (in megabytes) are not the same. More memory will have to be allocated to load keys into it, that's all.

I
Ivan Shalganov, 2020-10-15
@Aco

On some nodes, nginx (nginx/1.15) starts with 20k+ certificates and configs, and it works fine. But there is an anomaly - a memory leak during nginx reloads. If you often do nginx reload, then nginx will start eating RAM and not giving it away. After hundreds of reloads, nginx can consume 20G of RAM. Only a full restart helps.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question