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

Better logging needed when we run out of file descriptors

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Minor
    • feature-backlog
    • None
    • ns_server
    • None
    • Operating System: All
      Platform: All

    Description

      The problem is that our server stops responding if you run out of file descriptors. If the soft limit equals the hard limit, we will continue to use FD's until we cannot get anymore. Unfortunately, this causes access to hang rather than us refusing connections when we reach a limit.

      We need to make it easier to diagnose what is happening when you run out of file descriptors.

      -There need to be messages in our logs
      -We should be refusing connections when out of FD's instead of just hanging
      (and also increment the refused connections stat)
      -We should reserve at least one FD/connection so that a user can connect to the
      server and still get stats to see that the connections are being refused

      Attachments

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

        Activity

          People

            alkondratenko Aleksey Kondratenko (Inactive)
            perry Perry Krug
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty