<div dir="ltr">Hello!<div><br></div>There is a task to divide a single tls/ssl letsencrypt certificate for white labels into specific ones.<div>I entered about ~250 certificates into db_text, but as it turned out, for OpenSIPS this is a rather complex operation to load them and takes about 1 minute and a heavy CPU load is noticeable.<div><br></div><div>I would appreciate any advice on how to avoid this.<br></div><div><br></div><div># wc -l dbtext/tls_mgm<br>253 dbtext/tls_mgm<br></div><div><br></div><div># time opensips-cli -x mi tls_reload<div>"OK"</div><div>real 0m52.034s</div><div>user 0m1.419s</div><div>sys 0m0.433s</div><div><br></div><div># time systemctl restart opensips<br>real    0m58.198s<br>user    0m0.024s<br>sys     0m0.055s<br><div><span class="gmail_signature_prefix"><br></span></div><div><span class="gmail_signature_prefix"># opensips -V<br>version: opensips 3.4.4 (x86_64/linux)<br>flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535<br>poll method support: poll, epoll, sigio_rt, select.<br>git revision: 036d02961<br></span></div><div><span class="gmail_signature_prefix"><br></span></div><div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><br><div><div>BR,</div><div>Denys Pozniak<br></div><div><br></div><div><br></div></div></div></div></div></div></div></div></div>