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 ...
Search found 6 matches
- 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: 1
- Views: 48
- 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: 1
- Views: 48
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 ...
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 ...
- Mon Nov 17, 2025 5:13 am
- Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
- Topic: esm_class flags combined in deliver_sm
- Replies: 2
- Views: 198
Re: esm_class flags combined in deliver_sm
kind reminder
- 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: 198
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 ...
for this reason Receipt is not created in SmppReader.cs ...
- 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: 16132
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
- 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: 43869
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 ...
all above options depend on what specific issue with this specific SMSC, e.g. if submit_sm_resp latency is high then window ...