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

CouchJS process spawned and not killed on each Reduce Overflow Error

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.1.1, 1.2
    • JavaScript View Server
    • None
    • Linux Debian Squeeze

      [query_server_config]
      reduce_limit = true
      os_process_limit = 25

    Description

      Running the view attached results in a reduce_overflow_error. For each reduce_overflow_error a process of /usr/lib/couchdb/bin/couchjs /usr/share/couchdb/server/main.js starts running. Once this gets to 25, which is the os_process_limit by default, all views result in a server error: timeout {gen_server,call,[couch_query_servers,

      {get_proc,<<"javascript">>}

      ]}

      As far as I can tell, these processes and the non-response from the views will continue until couch is restarted.

      Attachments

        1. categories
          0.7 kB
          Michael Newman
        2. COUCHDB-1246.patch
          7 kB
          Paul Joseph Davis
        3. os_pool_trunk.patch
          12 kB
          Filipe David Borba Manana
        4. os_pool_trunk.patch
          12 kB
          Filipe David Borba Manana
        5. os_pool_trunk.patch
          12 kB
          Filipe David Borba Manana

        Activity

          People

            Unassigned Unassigned
            newmaniese Michael Newman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment