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

[mac mavericks] RAM quota calculates incorrectly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Test Blocker
    • 4.5.0
    • 4.5.0
    • ns_server
    • None
    • Mac Maverisk
    • Untriaged
    • MacOSX 64-bit
    • Yes

    Description

      Tested on build 4.5.0-2042
      Tried to initialize node with kv and index but failed.
      Total RAM available: 2815 MB
      KV RAM set: 2184 MB
      INDEX RAM: 512 MB
      Total of kv and index RAM: 2696 MB smaller than total RAM available 2815 MB
      But UI set up or rest API did not allow to initialize Couchbase server

      Here is node info in nodes/self

      {
       
          "availableStorage": 
       
      {
       
          "hdd": 
       
      [
       
              {
                  "path": "/",
                  "sizeKBytes": ​487546976,
                  "usagePercent": ​6
              }
          ]
       
      },
      "storageTotals": 
      {
       
          "ram": 
       
      {
       
          "total": ​2953105408,
          "quotaTotal": ​2290089984,
          "quotaUsed": ​0,
          "used": ​1622294528,
          "usedByData": ​0,
          "quotaUsedPerNode": ​0,
          "quotaTotalPerNode": ​2290089984
       
      },
      "hdd": 
       
          {
              "total": ​499248103424,
              "quotaTotal": ​499248103424,
              "used": ​29954886205,
              "usedByData": ​0,
              "free": ​469293217219
          }
       
      },
      "storage": 
      {
       
          "ssd": [ ],
          "hdd": 
       
      [
       
              {
                  "path": "/Users/couchbase/Library/Application Support/Couchbase/var/lib/couchbase/data",
                  "index_path": "/Users/couchbase/Library/Application Support/Couchbase/var/lib/couchbase/data",
                  "quotaMb": "none",
                  "state": "ok"
              }
          ]
       
      },
      "systemStats": 
      {
       
          "cpu_utilization_rate": ​0.7481296758104738,
          "swap_total": ​1073741824,
          "swap_used": ​483917824,
          "mem_total": ​4294967296,
          "mem_free": ​2245685248
       
      },
      "interestingStats": { },
      "uptime": "2110",
      "memoryTotal": ​4294967296,
      "memoryFree": ​2245685248,
      "mcdMemoryReserved": ​3276,
      "mcdMemoryAllocated": ​3276,
      "couchApiBase": "http://172.23.105.104:8092/",
      "couchApiBaseHTTPS": "https://172.23.105.104:18092/",
      "otpCookie": "zotyaqixxltnubdi",
      "clusterMembership": "active",
      "recoveryType": "none",
      "status": "healthy",
      "otpNode": "ns_1@127.0.0.1",
      "thisNode": true,
      "hostname": "172.23.105.104:8091",
      "clusterCompatibility": ​262149,
      "version": "4.5.0-2047-enterprise",
      "os": "x86_64-apple-darwin13.4.0",
      "ports": 
      {
       
          "sslProxy": ​11214,
          "httpsMgmt": ​18091,
          "httpsCAPI": ​18092,
          "proxy": ​11211,
          "direct": ​11210
       
      },
      "services": 
       
          [
              "kv"
          ],
          "ftsMemoryQuota": ​256,
          "indexMemoryQuota": ​512,
          "memoryQuota": ​2184
       
      }
      

      Attachments

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

        Activity

          People

            thuan Thuan Nguyen
            thuan Thuan Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty