Details

    • Type: Task
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 6.5.0, 6.0.0, 5.5.0
    • Fix Version/s: 7.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Would be nice to have a test in the Proxy for OPENDJ-5582:

      A good start would be to do some searchrate against a proxy connected to a {{SIGSTOP}}ed DJ and monitor the number of connections opened. It should grow on a bugged version and be stable with the fix for OPENDJ-5582.

       

      Steps to hit the 5582:

      1. Setup PROXY and DJ as primary server 
      2. Set wrong password for proxy user (proxy backend settings)
      3. Wait and monitor opened file descriptors (new connections)
        1. wait (time.sleep(Nseconds) in pyforge)
        2. monitor lsof -p PROXY.pid (manual testing) OR psutil package for automation (psutil.Process & Process.connections)
      4. Heartbeat is 60s and each heartbeat from PROXY to DJ trigger the issue and we have new leaked connection

      Reference:
      https://psutil.readthedocs.io/en/latest/index.html?highlight=process#functions
      https://psutil.readthedocs.io/en/latest/index.html?highlight=net_connections#psutil.Process.connections

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                petr.matej Petr Matej [X] (Inactive)
                Reporter:
                ylecaillez Yannick Lecaillez
                QA Assignee:
                Petr Matej [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: