Slabs
Method GET

Return status of all slabs

Returns status of slabs for each shared memory zone with slab allocator.

get/slabs/

Query parameters

fieldsstring

Limits which fields of slab zones will be output. If the “<literal>fields</literal>” value is empty, then only zone names will be output.

Response

Success

NginxSlabZoneMap required

Status zones that use slab allocator.

Example response

{
  "http_cache": {
    "pages": {
      "used": 2,
      "free": 2452
    },
    "slots": {
      "8": {
        "used": 0,
        "free": 0,
        "reqs": 0,
        "fails": 0
      },
      "16": {
        "used": 0,
        "free": 0,
        "reqs": 0,
        "fails": 0
      },
      "32": {
        "used": 1,
        "free": 126,
        "reqs": 1,
        "fails": 0
      },
      "64": {
        "used": 2,
        "free": 62,
        "reqs": 2,
        "fails": 0
      },
      "128": {
        "used": 0,
        "free": 0,
        "reqs": 0,
        "fails": 0
      }
    }
  },
  "dns-backends": {
    "pages": {
      "used": 1143,
      "free": 2928
    },
    "slots": {
      "8": {
        "used": 0,
        "free": 0,
        "reqs": 0,
        "fails": 0
      },
      "16": {
        "used": 0,
        "free": 0,
        "reqs": 0,
        "fails": 0
      },
      "32": {
        "used": 0,
        "free": 0,
        "reqs": 0,
        "fails": 0
      },
      "64": {
        "used": 1,
        "free": 63,
        "reqs": 1,
        "fails": 0
      },
      "128": {
        "used": 0,
        "free": 0,
        "reqs": 0,
        "fails": 0
      },
      "256": {
        "used": 18078,
        "free": 178,
        "reqs": 1635736,
        "fails": 0
      }
    }
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.