Couchbase Server Processes
Couchbase Server spawns a number of different processes on each node. These processes vary in type and number depending on which Couchbase services are running on a particular node.
Couchbase Server spawns processes from a set of binaries that get installed by the Couchbase installer. Some of these processes support the basic functions of Couchbase Server, and run on every node in the Couchbase cluster (Data). Other processes, however, support the various Couchbase services, and only run on the nodes that happen to run a particular Couchbase service (Data, Query, Index, Search, Analytics, and Eventing).
The tables on this page list out all of the Couchbase processes, along with the specific Couchbase services that will invoke them. If a particular Couchbase service is not running on a node, then the processes associated with that service will not run.
It’s important that each of these processes is allowed to run and access files on the nodes that are enabled for the Couchbase services that they support. Otherwise, Couchbase Server will not function properly. Depending on your security environment, you may need to explicitly approve these processes and their binary directories in your security policy.
Linux
The following table lists the Couchbase processes that run on Linux platforms.
Process | Description | Service | Path |
---|---|---|---|
|
Couchbase Full-Text Search (FTS) service |
Search |
/opt/couchbase/bin/ |
|
Couchbase Query service |
Query |
/opt/couchbase/bin/ |
|
Process that acts as a bridge between |
Query |
/opt/couchbase/bin/ |
|
Service that is used to encrypt the cluster configuration stored on disk |
Data |
/opt/couchbase/bin/ |
|
Cross Data Center Replication (XDCR) - replicates data from one cluster to another |
Data |
/opt/couchbase/bin/ |
|
Index service |
Index |
/opt/couchbase/bin/ |
|
Data service responsible for storing user data |
Data |
/opt/couchbase/bin/ |
|
Utility in Go to get disk usage stats |
Data |
/opt/couchbase/bin/priv/ |
|
Extracts secondary key from documents |
Data |
/opt/couchbase/bin/ |
|
Erlang port process (wrapper) used to talk to the |
Data |
/opt/couchbase/bin/ |
|
Couchbase cluster manager run as Erlang virtual machines - |
Data |
/opt/couchbase/lib/erlang/erts-9.3.3.9/bin/ |
|
Erlang-specific process which acts as a name server for Erlang distribution |
Data |
/opt/couchbase/bin/ |
|
Erlang-specific process used to collect CPU: 1 for |
Data |
/opt/couchbase/lib/erlang/lib/os_mon-2.2.14/priv/bin/ |
|
Erlang-specific process used to collect memory usage: 1 for |
Data |
/opt/couchbase/lib/erlang/lib/os_mon-2.2.14/priv/bin/ |
|
Built-in Erlang port process that is used to perform name service lookup |
Data |
/opt/couchbase/lib/erlang/erts-5.10.4.0.0.1/bin/ |
|
Open source tool sigar that is used to collect system information |
Data |
/opt/couchbase/bin/ |
|
Erlang-specific process that is used to supervise the available disk space: 1 for |
Data |
/opt/couchbase/lib/erlang/lib/os_mon-2.2.14/ebin/ |
|
Wrapper for |
Data |
/opt/couchbase/lib/ns_server/erlang/lib/ns_server/ebin/ |
|
Utility used to collect Couchbase server logs (will be seen only during log collection) |
Data |
/opt/couchbase/bin/ |
|
Eventing supervisor service (one instance per node) |
Eventing |
/opt/couchbase/bin/ |
|
Eventing worker (multiple instances per node). Instance count is configured in UI. |
Eventing |
/opt/couchbase/bin/ |
|
JVM running the Analytics NC and CC |
Analytics |
/opt/couchbase/lib/cbas/runtime/bin |
|
Go-wrapper that communicates with |
Analytics |
/opt/couchbase/bin/ |