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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
      • Learn more about 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)
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Pogram
    • DataMiner DevOps Support
    • Feature Suggestions
  • Swag Shop
  • Downloads
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Solutions
    • Deal Registration
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

Several elements connected to the same tcp port

45 views1 day agosmart-serial unique port
1
Pilar Garcia108 1 day ago 0 Comments

Hi everyone,

I have several devices that communicate with the DMA with a smart-serial connector. In the data sent by the device there is a unique identifier that we use to detect the device that has sent the data.

We want to configure all the devices to use the same port and at the element side only process the data of the device that sends the id that is set previously in a parameter.

The connector is working fine but I want to be sure that we can configure more than 300 elements to the same port or this is not a valid configuration in the DMA.

Thanks.

Laurens Moutton [SLC] [DevOps Enabler] Answered question 1 day ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Laurens Moutton [SLC] [DevOps Enabler]9.03K Posted 1 day ago 0 Comments

Hi,

There are some settings that could prevent the clients to connect to the listening port (assuming that the firewall is not blocking it):
-An element can be configured to only allow clients to connect from a certain IP address
-The protocol.xml can have a setting "maxConcurrentConnections", see info here

By default, when above is not applied, there is no limit on the number of clients that connect.

Note when there are more clients connecting that this will take up more resources.
Per connected client there will be two threads running in the background: one thread to send and one thread to receive. Each thread takes up 1MB of memory, meaning per client 2MB, resulting for 300 connected clients into 600MB memory of the SLPort process (total memory limit is 4GB), and then the data per client also needs to be temporary kept in memory when constructing the response.

Even though every client is a separate thread in SLPort, the data needs to be passed to SLProtocol (and SLScripting to execute the QAction that filters out the responses where the ID matches). This means that all data from all received clients need to be processed by one thread. That thread needs to be fast enough to process everything, or else large delays will start to happen, memory will build up, and eventually as the receive buffers in Windows are not processed fast enough it will start to drop the data. Depending if it works or not all depends on how fast the clients are sending data and how fast the QAction is able to process the received values.

I'm wondering, instead of filtering on the id inside the received data, if it would not be possible to filter on the IP address of the device? This way the element can be configured with the "allowed ip addresses" and already filter on that inside SLPort, without needing to go to the one thread bottleneck in SLProtocol.

Regards,

Laurens Moutton [SLC] [DevOps Enabler] Answered question 1 day ago
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