Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-18281

ESP: Possible memory leak

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.4.0, 6.4.2
    • Fix Version/s: 7.0.0
    • Component/s: ESP
    • Labels:
      None

      Description

      The esp process appears to leak memory after responding to certain SOAP calls from the ECL Watch interface. Follows is some testing performed:

      Scenario:

      1. Clean startup of the OS.

      2. Clean startup of HPCC.

      3. Run top and restrict view to processes containing 'esp'

      4. Note the initial VIRT and RES values:

      VIRT RES
      674580 63648

      5. Run no other processes and watch top. These two values don't change after 3-4 minutes. This is expected.

      6. Fire up Firefox on that OS and point it at ECL Watch. After settling down, top shows:

      VIRT RES
      904164 65672

      Those values remain constant. This is normal, I think. The browser is showing the activity page and auto-refresh is disabled. These values don't change after 3-4 minutes.

      7. Switch the browser to the workunit list view, which makes calls to the esp process at intervals. Here is what I observed in top after each call:

      VIRT RES
      904548 68196
      904932 69964
      905316 70716
      905700 71472
      906084 72224
      906468 72980
      906852 73732
      907236 74488

      8. The log file for esp shows only the single WUQuery for workunit list updates periodically. One example:

      00000127 2017-09-17 13:22:04.920 14020 14197 "HTTP connection from 127.0.0.1:56908"
       00000128 2017-09-17 13:22:04.920 14020 21014 "HTTP First Line: POST /WsWorkunits/WUQuery.json HTTP/1.1"
       00000129 2017-09-17 13:22:04.921 14020 21014 "POST /WsWorkunits/WUQuery.json, from unknown@127.0.0.1"
       0000012A 2017-09-17 13:22:04.921 14020 21014 "WUQuery: getWorkUnitsSorted"
       0000012B 2017-09-17 13:22:04.956 14020 21014 "WUQuery: getWorkUnitsSorted done"
       0000012C 2017-09-17 13:22:04.977 14020 21014 "TxSummary[activeReqs=1;contLen=37;rcv=0ms;handleHttp=57ms;user=@127.0.0.1;req=POST wsworkunits.WUQUERY v1.69;total=57ms;]"
      

      A customer system that has had quite a bit of activity on it recently showed almost a quarter of a terabyte used (via top, in the VIRT column).

        Attachments

          Activity

            People

            • Assignee:
              wangkx Kevin Wang
              Reporter:
              dcamper Dan S. Camper
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: