[GH-ISSUE #1681] Seeing sysctl errors when adding a lot of routes #2812

Open
opened 2026-08-05 00:49:02 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @hurricanehrndz on GitHub (Mar 8, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1681

Describe the problem

A clear and concise description of what the problem is.

2024-03-08T14:53:05-07:00 ERRO client/internal/routemanager/client.go:276: route {subnet} couldn't be added for peer 100.122.204.13, err: sysctl: cannot allocate memory

To Reproduce
Add many routes to a routing

Steps to reproduce the behavior:

  1. Advertise and extensive amount of routes
  2. Connect
  3. Grep for sysctl lines
  4. See error

Expected behavior

I am assuming errors with allocating memory is not good

A clear and concise description of what you expected to happen.

Are you using NetBird Cloud?
No, self hosted

NetBird version
0.26.2
netbird version

NetBird status -d output:

Originally created by @hurricanehrndz on GitHub (Mar 8, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1681 **Describe the problem** A clear and concise description of what the problem is. ```sh 2024-03-08T14:53:05-07:00 ERRO client/internal/routemanager/client.go:276: route {subnet} couldn't be added for peer 100.122.204.13, err: sysctl: cannot allocate memory ``` **To Reproduce** Add many routes to a routing Steps to reproduce the behavior: 1. Advertise and extensive amount of routes 2. Connect 3. Grep for sysctl lines 4. See error **Expected behavior** I am assuming errors with allocating memory is not good A clear and concise description of what you expected to happen. **Are you using NetBird Cloud?** No, self hosted **NetBird version** 0.26.2 `netbird version` **NetBird status -d output:**
saavagebueno added the bugclientroutesmacos labels 2026-08-05 00:49:02 -04:00
Sign in to join this conversation.
No Label bug client macos routes
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#2812