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

possible issue in JCIFS Monitor - contiously increase of threads - finally heap dump

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Meridian-2019.1.0, 25.1.0
    • Fix Version/s: Meridian-2019.1.2, 25.1.2
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
    • Sprint:
      Horizon 2019 - November 27th

      Description

      We add JCIFS Monitoring at 21 Nov 3:45pm and do a OpenNMS restart.
      We see a continously increase of java threads since this restart.

      At Nov 23 1:16pm OpenNMS crashed with "java.lang.OutOfMemoryError" and we get a heap dump.

       

      Only two servers become the CIFS pollers with different services:

       

            <service name="CIFS-Customer-Software" interval="30000" user-defined="true" status="off">
               <parameter key="retry" value="1" />
               <parameter key="timeout" value="3000" />
               <parameter key="domain" value="DOMAIN" />
               <parameter key="username" value="opennms-user" />
               <parameter key="password" value="password" />
               <parameter key="path" value="/customer-software/" />
               <parameter key="mode" value="path_exist" />
            </service>
            <service name="CIFS-Xchange" interval="30000" user-defined="true" status="off">
               <parameter key="retry" value="1" />
               <parameter key="timeout" value="3000" />
               <parameter key="domain" value="DOMAIN" />
               <parameter key="username" value="opennms-user" />
               <parameter key="password" value="password" />
               <parameter key="path" value="/xchange/" />
               <parameter key="mode" value="path_exist" />
            </service>
      	  
         <monitor service="CIFS-Customer-Software" class-name="org.opennms.netmgt.poller.monitors.JCifsMonitor" />
         <monitor service="CIFS-Xchange" class-name="org.opennms.netmgt.poller.monitors.JCifsMonitor" />
      

       

        Attachments

        1. image-2019-11-25-09-12-12-551.png
          image-2019-11-25-09-12-12-551.png
          43 kB
        2. image-2019-11-25-16-34-07-133.png
          image-2019-11-25-16-34-07-133.png
          28 kB
        3. threaddump_08-40-01.log
          1.29 MB
        4. threaddump_09-40-01.log
          1.37 MB
        5. threaddump_10-40-01.log
          1.44 MB
        6. threaddump_07-45-24.log
          1.32 MB
        7. threaddump_12-40-01.log
          1.43 MB
        8. threaddump_09-10-01.log
          1.34 MB

          Activity

            People

            Assignee:
            cpape Christian Pape
            Reporter:
            mlaercher Martin Laercher
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: