Hi Team,

We are seeing VPP buffer allocation failures after ~15 days of continuous
uptime. VPP's CLI (vppctl) is completely unresponsive, and VRRP
advertisements are failing.

## Environment

- **VPP version:** 25.10
- **OS:** SUSE-based Linux
- **Uptime at failure:** 15 days (VPP started Apr 16 06:54:45 UTC)

## Symptoms

1. **Buffer allocation failures** in VRRP advertisement send path:
   ```
   vrrp_adv_send:310: Buffer allocation failed for [0] sw_if_index 231 VR
ID 100 IPv4
   vrrp_adv_send:310: Buffer allocation failed for [1] sw_if_index 235 VR
ID 101 IPv4
   ```
   First seen: Apr 28 14:09:31 UTC (after ~12 days of uptime)
   Ongoing: continuous, every 1-2 seconds

2. **vppctl completely unresponsive** — all CLI commands (including `show
version`) hang indefinitely. Unable to collect `show buffers`, `show
memory`, or any runtime state.

3. **High system load:** 23-26 (4 VPP threads: main + 3 workers)

## VPP Configuration

- **Buffers:** 128,000 per NUMA (`buffers-per-numa 128000`)
- **CPU:** main-core 1, workers on cores 2, 17, 18 (3 workers)
- **DPDK interfaces:** 3 physical interfaces (3 RX queues each)
- **Memory:** main-heap-page-size 1G
- **Hugepages:** 1024 x 2MB = 2GB total, 779 free at time of failure
- **Enabled plugins:** dpdk, ping, vrrp, af_packet, linux_nl, linux_cp,
crypto_native
- **LCP:** enabled with lcp-sync
- **Features in use:** VLAN sub-interfaces, VRF tables, bridge domains,
VRRP, IPsec (crypto_native), LCP TAP sync

## Process State at Failure

- **VmSize:** 153 GB (virtual, includes mmap/hugepage regions)
- **VmRSS:** 433 MB
- **Private_Hugetlb:** 2,420 MB
- **Threads:** 22
- **CPU consumed:** 1 month+ accumulated over 15 days

## Analysis

The buffer pool (128,000 buffers) appears to be exhausted after ~12 days of
continuous operation. VRRP advertisements are small packets — if VPP cannot
allocate even a single buffer, the pool is fully depleted. The unresponsive
CLI suggests the main thread is stuck or spinning, possibly in a buffer
allocation retry loop.

Hugepage memory is available (779 of 1024 pages free), so this is not a
memory exhaustion issue — it appears to be a buffer leak where buffers are
allocated but never returned to the free pool.

## Impact

- VRRP advertisements cannot be sent → peer may trigger failover
- VPP CLI unresponsive → no runtime diagnostics possible
- Potential data plane impact (unable to verify due to hung CLI)

So, please help to answer below questions

1. Are there known buffer leak issues in VPP 25.10 with the enabled plugin
combination (LCP + VRRP + IPsec + DPDK)?
2. Is there a way to diagnose buffer leaks when vppctl is unresponsive
(e.g., via shared memory / stats segment)?
3. Any recommended buffer pool tuning or workarounds for long-running
deployments?

regards
Inder
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#26995): https://lists.fd.io/g/vpp-dev/message/26995
Mute This Topic: https://lists.fd.io/mt/119051933/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/14379924/21656/631435203/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to