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

setrlimit fails in recent versions of Mac OS X

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 1.6.5.3
    • couchbase-bucket
    • Security Level: Public
    • None
    • Mac OS X 10.6.5

    Description

      Full details, including a basic fix, in thread:

      http://forums.membase.org/thread/memcached-dying-mac-os-x-due-rlimit-fix

      Essentially, in memcached.c in both moxi and memcached, the setrlimit fails on recent versions of Mac OS X when trying to set the max number of connections. It seems that you can't assume that rlim_cur can be set to rlim_max, and you can't change rlim_max. This seems a bit broken to me (and I'm an Apple fanboy!).

      There's a brief note at the bottom of the setrlimit man page.

      Attachments

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

        Activity

          People

            dustin Dustin Sallings (Inactive)
            quentinsf Quentin Stafford-Fraser
            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