> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/smc/3.15/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/smc/3.15/troubleshooting/load-control-rejection-zero-but-dropping.md).

# 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
    curl -X PATCH -H 'content-type: application/merge-patch+json' \
         -d '{"queue":{"max_queue":1000}}' \
         http://{SMC_POD}:9090/oam/v1alpha/load_control/config
    ```

    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
    curl -X PATCH -H 'content-type: application/merge-patch+json' \
         -d '{"queue":{"max_inflight":300}}' \
         http://{SMC_POD}:9090/oam/v1alpha/load_control/config
    ```

    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

- [Adaptive load control technical reference — Priority queue](https://docs.cennso.com/components/smc/3.15/reference/load-control.md#priority-queue)
- [Adaptive load control metrics](https://docs.cennso.com/components/smc/3.15/observability/metrics.md#adaptive-load-control-metrics)
