Uploaded image for project: 'Engineering'
  1. Engineering
  2. ENG-954

Flood of JSON requests rejected by the server create file descriptors that are never released

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: V1.2.1.02
    • Fix Version/s: V1.3
    • Component/s: Core
    • Labels:

      Description

      From SUP-22:

      Steps to reproduce:
      1. Start two voter servers (k=1)
      2. Run ClientVoter for 10 minutes to create plenty of data for rejoin process
      3. Kill either server
      4. Initiate rejoin process on killed server
      5. During rejoin, execute attached "runmany" script (modify server names to the servers for your test), which calls 2000 JSON votes via vote_json.py

      Number of file descriptors (in /proc/<pid>/fd) goes up during rejoin, by about 1000 per server. When rejoin is complete the number of file descriptors on the rejoin server will remain high, it goes back to pre-rejoin on other server.

        Attachments

        1. runmany
          0.2 kB
        2. vote_json.py
          3 kB

          Activity

            People

            Assignee:
            izzy Mike Ismert
            Reporter:
            tcallaghan Tim Callaghan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support