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

Spock memcached error cannot set 66042 file descriptors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.0.0
    • 5.0.0
    • installer
    • None
    • Enterprise Edition 5.0.0-2012 build 2012 state ID: 013-010-14 -- CentOS 6
    • Untriaged
    • Unknown

    Description

      Getting a warning from memcached on start-up about the lack of FDs:

       

      WARNING Failed to set the number of file descriptors to 66042 due to system resource restrictions. This may cause the system to misbehave once you reach a  high connection count as the system won't be able open new files on the system. The maximum number of file descriptors is currently set to 40960. The system is configured to allow 65000 number of client connections, and in addition to that the overhead of the worker threads is 18. Finally the backed database needs to open files to persist data.

       

      grep ulimit /etc/init.d/couchbase-server
      ulimit -n 40960
      ulimit -l unlimited

       

      If there's a new upper bound of FDs required by spock it needs a new ulimit set as well.

      Attachments

        Issue Links

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

          Activity

            People

              ianmccloy Ian McCloy (Inactive)
              ianmccloy Ian McCloy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty