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.

You are reading Session Management Controller 3.15, an older release. The newest release is 3.17. Read this page in 3.17

Shadow shed rate differs from jobs shed rate in rate-limit-observe mode

In rate-limit-observe admission mode, two independent shedders run side by side: the jobs-based regulator that actually controls admission, and the adaptive stack that observes traffic and reports what it would have done. The two use fundamentally different admission logic, so they emit different shed counts.

This is expected behavior, not a malfunction. The shadow view exists precisely so operators can compare the two before flipping to mode: adaptive.

Symptoms

  • ergw_adaptive_requests_shed_total shows a much higher (or lower) rate than ergw_admission_requests_shed_total (the dispatcher's per-outcome counter).
  • The two rate plots diverge on the api-latency Grafana dashboard.

Possible causes

  • The jobs regulator uses static per-tier rate or counter limits, while the adaptive stack uses a velocity-form proportional-integral-derivative (PID) controller plus an empirical percentile tracker. There is no reason for the two to agree on a per-request basis.
  • A persistent gap in either direction means mode: adaptive would change the admission profile of the deployment.

Solution

The right action depends on which way the gap goes:

  1. Compare the two rates over a representative traffic window (at least one busy hour, ideally a full day).

  2. If the adaptive shed rate is consistently higher than the jobs shed rate, mode: adaptive would reject more traffic than the current deployment. Reduce shedding before flipping:

    bash

    Or raise the inflight limit so capacity matches the deployment's real backend:

    bash
  3. If the adaptive shed rate is consistently lower, mode: adaptive would accept more traffic than the current deployment. Verify that downstream capacity (PFCP peer, Diameter server, AAA dependency) can absorb the additional load before flipping.

  4. Once the shadow numbers look reasonable for your deployment, flip to mode: adaptive:

    bash

    Persist the choice by setting loadControl.mode: adaptive in the Helm values.

Read more