Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Still 4000 Messages in Progress on SLProtocol

Solved1.35K views26th October 2021memory leak SLProtocol Unsolicited Responses
0
MiguelGU Guevara [SLC]10 25th October 2021 0 Comments

We are seeing a memory leak on SLProtocol and I think it is related to the amount of data that comes from a device.
The connection is a web socket connection and the element is receiving messages so quick that the messages are stacking up in SLProtocol's queue because they are not process as fast. I see many of the following message on the element log file:
021/10/25 16:37:32.938|SLProtocol - 23368 - TWLER101-1917-IPG03|17752|CProtocol::SmartIPReadThreadFunc|DBG|-1|Still 4000 messages to process.

What is the meaning of this log message?
Is there a way to see the items that are waiting to execute in the SLProtocol Queue?

MiguelGU Guevara [SLC] Selected answer as best 26th October 2021

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
3
Joey Vanhalst [SLC] [DevOps Advocate]1.80K Posted 26th October 2021 1 Comment

Hi Miguel,

The SmartIPReadThread is a thread running in SLProtocol used to process smart-serial responses. These responses are processed sequentially and the next one will only be processed when the previous one has been fully handled.

Are you triggering a QAction to process/parse these responses? You might want to look into how quickly responses are coming in compared to the time it takes to process them.

If the rate is too high, then a solution would be better to buffer the responses and process/offload them in bulk every x seconds (using a timer for example). This will make sure that your QAction finishes as soon as possible everytime a new request comes in. You could even do the processing in a different thread then.

MiguelGU Guevara [SLC] Selected answer as best 26th October 2021
MiguelGU Guevara [SLC] commented 26th October 2021

Joey, I am parsing using a QAction. I used the Pending Calls on test tool and noticed that the QAction was sometimes running for 2-3 seconds. The frequency in which the device is sending data was set to 1 second. Changing the frequency to 4 seconds fixed the issue. I will advice the user about the method you recommended to avoid issues later on. Thanks!

You are viewing 1 out of 2 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin