Nors užklausų srautas į Notakey autentifikacijos serverio (NtkAS) servisą paprastai būna nedidelis, kartais šią ribą tenka padidinti.
$ ntk cfg get :nas.custom_params
# Verify that there are no additional custom parameters
# If there are none, run the following
$ ntk cfg set :nas.custom_params "RAILS_MAX_THREADS=256"
# If there are additional custom params, concatenate all params with comma
$ ntk cfg set :nas.custom_params "NOTAKEY_MESSENGER_TIMEOUT=5,RAILS_MAX_THREADS=256"
$ ntk as restart
Taip gaunamoms užklausoms apdoroti bus skirtos 256 gijos. Reikšmę galima laisvai keisti pagal poreikį, tačiau didesnės reikšmės pareikalaus daugiau RAM ir procesoriaus išteklių.
Apkrovai stebėti naudokite komandas docker stats ir ntk sys perf ir pagal
poreikį koreguokite aparatinės įrangos išteklius.