Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • T titan.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 124
    • Issues 124
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Eclipse ProjectsEclipse Projects
  • Eclipse Titan
  • titan.core
  • Issues
  • #582
Closed
Open
Issue created Feb 04, 2022 by Gábor Szalai@gszalaiMaintainer

mctr fails to accept all HC connections

Summary

If a large number of HC try to connect to the mctr, some of them are rejected.

Steps and/or TTCN-3 code to reproduce

Try to start ~ 30 HCs at the same time.

What is the current bug behavior?

Some HCs can't connect, because the TCP connection is refused

What is the expected correct behavior?

All HC connects

Possible fixes

When the mctr opens the listening port, it sets the backlog to 10. When a new connection is accepted, a possible time consuming reverse DNS query is executed. If the number of the waiting connection exceeds 10, the new attempts are rejected by the kernel.

simply increase the backlog. The current value remained unchanged since the beginning.

"If the backlog argument is greater than the value in /proc/sys/net/core/somaxconn, then it is silently capped to that value. Since Linux 5.4, the default in this file is 4096; in earlier kernels, the default value is 128."

So it is safe to increase it to 4096

Titan version

all

Platform details (OS type and version)

all

/cc @aknappqwt

Assignee
Assign to
Time tracking

Copyright © Eclipse Foundation, Inc. All Rights Reserved.     Privacy Policy | Terms of Use | Copyright Agent