Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-6564

The SFTP Connection are not closed when an exception is thrown using 3GPP XML Collector

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.12.6, 1.13.1
    • Fix Version/s: 1.12.7, 1.13.2
    • Component/s: Data Collection - XML
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      As we are using the direct sftp.3gpp we have seen multiple tcp ports opened without closing. This is majorly happens when no XML files are available for collection.

      For e.g. we are able to see 900 ssh connections similar to something like below:

      tcp 0 0 rchsrv-opennms01:56522 ::ffff:192.18.239.156:ssh ESTABLISHED 28341/java

      All of them went away at OpenNMS side, when we restarted OpenNMS process.

      May be, OpenNMS side TCP layer is not closing the sockets (If xml files are not available for collection in the destination node, after a particular waiting period we may need to close the opened sftp connection sockets).

      So, the open files issue at OpenNMS side may be probably due to so many sftp connections that it keeps open.

      Is there any workaround for ensuring sftp sockets in OpenNMS don’t hang with long timeouts.

        Attachments

          Activity

            People

            • Assignee:
              agalue Alejandro Galue
              Reporter:
              agalue Alejandro Galue
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: