Project

General

Profile

Actions

Bug #5357

open

no more than PDP_MAX == 1024 PDP contexts possible in libgtp

Added by laforge about 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
libgtp
Target version:
-
Start date:
12/14/2021
Due date:
% Done:

0%

Spec Reference:

Description

libgtp uses statically-sized arrays for storing various things, including pdp contexts. This means that no more than 1024 PDP contexts are possible in osmo-sgsn or osmo-ggsn at the moment. This seems very low even for small / private networks.

A quick change might be to increase the #define, but we'd have to see what kind of implications this has on memory consumption as well as runtime complexity.

In the end, dynamic allocations is what we do in all other (native) osmocom projects, so I don't see why we should keep (inherited) libgtp using fixed static allocations imposing arbitrary limits.


Related issues

Related to OsmoGGSN (former OpenGGSN) - Bug #5469: osmo-ggsn: segfault when creating 1024 concurrent pdp contextsResolvedpespin02/28/2022

Actions
Actions #1

Updated by pespin almost 2 years ago

  • Related to Bug #5469: osmo-ggsn: segfault when creating 1024 concurrent pdp contexts added
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)