Knowledge base

Scaling & high availability · updated 9 October 2020 · reviewed 9 July 2026

Increasing max simultaneous requests for NtkAS

Allocate more processing threads to the Notakey Authentication Server when request volume grows.

Though the number of requests towards the Notakey Authentication Server (NtkAS) service tends to be low, there can be cases where this has to be increased.

$ 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

This will allocate 256 processing threads for processing incoming requests. The value can be freely adjusted as required, but larger numbers will require more RAM and CPU resources.

Use docker stats and ntk sys perf commands to monitor your load and adjust hardware resources as required.

← Back to support

See your first passwordless login this week

A 30-minute call with an engineer, not a sales deck. We’ll map your VPN, SSO or Windows setup to a working pilot.