For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

Rejection ratio stays at zero but requests are dropped

The proportional-integral-derivative (PID) controller keeps the rejection ratio at zero because, on average, arrivals do not exceed capacity. Despite that, individual requests still fail to reach a handler. The drops come from transient bursts that fill the priority queue faster than the controller's 500 ms tick can react. This is the case the max_queue cap is designed to catch.

Symptoms

  • ergw_adaptive_rejection_ratio sits at 0.
  • ergw_adaptive_queue_timeouts_total or ergw_adaptive_requests_shed_total with reason=queue_full is increasing.
  • The structured log shows queue_full or max_wait errors on individual requests.

Possible causes

  • A short, sharp arrival burst exceeds the queue depth (max_queue) before the controller's next tick.
  • The configured inflight limit (max_inflight) is below what the backend can sustain, so admitted requests pile up as queue waiters.
  • A burst of create traffic at a peer arrives faster than the priority window can shed it.

Solution

To stop transient drops, raise the burst headroom or reduce queue pressure:

  1. Decide whether to absorb the burst (raise the queue) or to process it faster (raise the inflight limit). Bursts of bounded duration favor the queue; sustained pressure favors the inflight limit.

  2. Raise the queue cap to absorb the burst:

    bash

    The runtime trade-off is higher worst-case memory during a genuine sustained overload — every queue waiter holds a process monitor, a timer, and a queue entry.

  3. Or raise the inflight limit so admitted requests drain faster:

    bash

    Only do this when the backend (PFCP peer, Diameter server, AAA dependency) can handle the additional concurrency.

  4. Persist the new value in loadControl.queue.max_queue or loadControl.queue.max_inflight in the Helm values once you've validated it.

If the number of drops is small relative to total traffic, no change is needed — a few timeouts under bursty load are an acceptable trade-off against memory growth.

Read more