Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1441

_rewrite handler loops cause cpu load and swap of death

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.1, 1.3
    • Component/s: HTTP Interface
    • Labels:
      None
    • Environment:

      debian testing

    • Skill Level:
      Dont Know

      Description

      when creating a simple _rewrite loop, the db will start to eat cpu and take more & more memory

      for testing i created:

      {"_id":"_design/loopa","rewrites":[

      {"from":"","to":"../loopb/_rewrite"}

      ]}
      {"_id":"_design/loopb","rewrites":[

      {"from":"","to":"../loopa/_rewrite"}

      ]}

      accessing $dburi/_design/loopa/_rewrite/ will start the loop

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ronny-pfannschmidt Ronny Pfannschmidt
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: