Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-36096

Limit the number of OS threads spawned by go-runtime

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • feature-backlog
    • 6.0.1
    • secondary-index
    • None

    Description

      Currently, there is no limit on the number of OS threads spawned by a go-program. These OS threads once spawned will not exit. They just wait for new go-routines to be scheduled on them.

      On a system where there is a limit on max. number of threads that can be spawned (E.g., on CentOS 6, the maximum couchbase user processes are limited to 1024), this can become a problem as indexer process can spawn large number of threads and the OS will not allow any other couchbase process to spawn threads. If other couchbase processes, tries to spawn a thread, they would crash as the limit is exhausted.

      The idea behind this improvement is to track the users encountering this issue.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jeelan.poola Jeelan Poola
            varun.velamuri Varun Velamuri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty