Search found 12 matches

by ggsa
Fri Jun 26, 2026 6:39 am
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Bug: client stops sending enquire_link after an EnquireLink timeout when the peer keeps sending PDUs
Replies: 0
Views: 2451

Bug: client stops sending enquire_link after an EnquireLink timeout when the peer keeps sending PDUs

Hi,

We found a bug in SmppClient (version 2.9.35) where the keep-alive loop stops working.

What happens

In SmppClientBase.OnTestLink, the next enquire_link is scheduled by calling session.RunOnTimeout(EnquireLinkInterval, OnTestLink). Most branches do this, but one branch does not.

When our ...
by ggsa
Fri Jan 23, 2026 11:15 am
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Memory Leak - Activity objects not disposed in SmppSession.cs
Replies: 6
Views: 713826

Re: Memory Leak - Activity objects not disposed in SmppSession.cs

Hi, just following up on this thread. Is there any update or timeline for addressing the issues? Happy to provide additional details if needed.
by ggsa
Wed Dec 10, 2025 6:58 am
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Memory Leak - Activity objects not disposed in SmppSession.cs
Replies: 6
Views: 713826

Re: Memory Leak - Activity objects not disposed in SmppSession.cs

hi alt, here is an update after diagnostics code removal (memory usage of 5 nodes)
by ggsa
Sun Dec 07, 2025 4:15 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Memory Leak - Activity objects not disposed in SmppSession.cs
Replies: 6
Views: 713826

Re: Memory Leak - Activity objects not disposed in SmppSession.cs

also, in continuation of opentelemetry topic, another place where we might have a memory leak is in _dlrCorrelation in SmppSession class.
the issue is that if we've got more than one node and can have two sessions on different nodes, submit_sm might be sent from one node but deliver_sm comes in on ...
by ggsa
Fri Dec 05, 2025 9:40 am
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Memory Leak - Activity objects not disposed in SmppSession.cs
Replies: 6
Views: 713826

Re: Memory Leak - Activity objects not disposed in SmppSession.cs

hi alt,
we have temporarily removed all code related to OpenTelemetry from the Inetlab source code for now.
I would suggest adding a smppclient option for enabling/disabling activity diagnostics. I think this would be more flexible in case users use their own approach to tracing.
by ggsa
Sat Nov 29, 2025 7:22 am
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Memory Leak - Activity objects not disposed in SmppSession.cs
Replies: 6
Views: 713826

Re: Memory Leak - Activity objects not disposed in SmppSession.cs

Update: Possible root cause for our memory leak case - "Activity Theft" in SmppConnection

After deeper look into dotMemory, seems we found the cause.

Profiler Data:
- Activity objects: 49
- DiagNode: 5,158,820 (thousands events per Activity!)
- SmppConnection: 765
- SmppSession: 765

Retention ...
by ggsa
Fri Nov 28, 2025 2:52 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Memory Leak - Activity objects not disposed in SmppSession.cs
Replies: 6
Views: 713826

Memory Leak - Activity objects not disposed in SmppSession.cs

Hi alt,

We discovered a memory leak in our production environment. Memory grows from ~2GB to 3.6GB over one week and never releases.

Environment:
- Inetlab.SMPP version: 2.9.35
- .NET 8
- Linux

Memory profiler shows DiagNode<ActivityEvent> objects accumulating: see image1.jpeg

Memory growth ...
by ggsa
Wed Oct 15, 2025 6:59 am
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: esm_class flags combined in deliver_sm
Replies: 2
Views: 9880

esm_class flags combined in deliver_sm

can esm_class have multiple flags in deliver_sm? we have an example for one SMSC provider we're connected to sending a deliver_sm with 0x24 (36) for esm_class as if both flags SMSCDeliveryReceipt + IntermediateDeliveryNotification assembled

for this reason Receipt is not created in SmppReader.cs ...
by ggsa
Mon Oct 13, 2025 7:27 am
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: No event handler found for received PDU DeliverSm
Replies: 1
Views: 23175

Re: No event handler found for received PDU DeliverSm

"Occurs when Unbind packet received from SMSC" - means that if your partner unbind the session gracefully then evUnBind event raised, and your client got unsubscribed to evDeliverSm
by ggsa
Mon Oct 13, 2025 7:20 am
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Is there a way to increase send performance from Client?
Replies: 1
Views: 51143

Re: Is there a way to increase send performance from Client?

can you elaborate on problem? you have multiple options: increase window size, increase number of smpp clients, push messages in bulk (multi), play around with stream tunning

all above options depend on what specific issue with this specific SMSC, e.g. if submit_sm_resp latency is high then window ...