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 (Core). 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 |
Core |
/opt/couchbase/bin/ |
|
Cross Data Center Replication (XDCR) - replicates data from one cluster to another |
Core |
/opt/couchbase/bin/ |
|
Index service |
Index |
/opt/couchbase/bin/ |
|
Data service responsible for storing user data |
Core |
/opt/couchbase/bin/ |
|
Utility in Go to get disk usage stats |
Core |
/opt/couchbase/bin/priv/ |
|
Extracts secondary key from documents |
Core |
/opt/couchbase/bin/ |
|
Erlang port process (wrapper) used to talk to the |
Core |
/opt/couchbase/bin/ |
|
Couchbase cluster manager run as Erlang virtual machines - |
Core |
/opt/couchbase/lib/erlang/erts-9.3.3.9/bin/ |
|
Erlang-specific process which acts as a name server for Erlang distribution |
Core |
/opt/couchbase/bin/ |
|
Erlang-specific process used to collect CPU: 1 for |
Core |
/opt/couchbase/lib/erlang/lib/os_mon-2.2.14/priv/bin/ |
|
Erlang-specific process used to collect memory usage: 1 for |
Core |
/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 |
Core |
/opt/couchbase/lib/erlang/erts-5.10.4.0.0.1/bin/ |
|
Open source tool sigar that is used to collect system information |
Core |
/opt/couchbase/bin/ |
|
Erlang-specific process that is used to supervise the available disk space: 1 for |
Core |
/opt/couchbase/lib/erlang/lib/os_mon-2.2.14/ebin/ |
|
Wrapper for |
Core |
/opt/couchbase/lib/ns_server/erlang/lib/ns_server/ebin/ |
|
Utility used to collect Couchbase server logs (will be seen only during log collection) |
Core |
/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/ |
Windows
The following table lists the Couchbase processes that run on the Windows platforms.
Process | Description | Service | Path |
---|---|---|---|
|
Backup application for Couchbase data |
Backup |
C:\Program Files\Couchbase\Server\bin |
|
Go-wrapper that communicates with |
Analytics |
C:\Program Files\Couchbase\Server\bin |
|
Utility used to collect Couchbase server logs (will be seen only during log collection) |
Data |
C:\Program Files\Couchbase\Server\bin |
|
Couchbase Full-Text Search (FTS) service |
Search |
C:\Program Files\Couchbase\Server\bin |
|
Couchbase Query service |
Query |
C:\Program Files\Couchbase\Server\bin |
|
Erlang-specific process which acts as a name server for Erlang distribution |
Data |
C:\Program Files\Couchbase\Server\erts-x.x.x.x\bin |
|
Erlang process used by the name server. |
Data |
C:\Program Files\Couchbase\Server\erts-x.x.x.x\bin |
|
Used to start the Erlang emulator as a Windows process. |
Data |
C:\Program Files\Couchbase\Server\erts-x.x.x.x\bin |
|
Eventing worker (multiple instances per node). Instance count is configured in UI. |
Eventing |
C:\Program Files\Couchbase\Server\bin |
|
Eventing supervisor service (one instance per node) |
Eventing |
C:\Program Files\Couchbase\Server\bin |
|
Process that acts as a bridge between |
Query |
C:\Program Files\Couchbase\Server\bin |
|
Service that is used to encrypt the cluster configuration stored on disk |
Data |
C:\Program Files\Couchbase\Server\bin |
|
Cross Data Center Replication (XDCR) - replicates data from one cluster to another |
Data |
C:\Program Files\Couchbase\Server\bin |
|
Index service |
Index |
C:\Program Files\Couchbase\Server\bin |
|
Utility in Go to get disk usage stats |
Data |
C:\Program Files\Couchbase\Server\bin\priv |
|
Built-in Erlang port process that is used to perform name service lookup |
Data |
C:\Program Files\Couchbase\Server\erts-x.x.x.x\bin |
|
JVM running the Analytics NC and CC |
Analytics |
C:\Program Files\Couchbase\Server\bin |
|
Data service responsible for storing user data |
Data |
C:\Program Files\Couchbase\Server\bin |
|
Extracts secondary key from documents |
Data |
C:\Program Files\Couchbase\Server\bin |
|
Engine used Couchbase for creating metrics. |
Data |
C:\Program Files\Couchbase\Server\bin |
|
Erlang port process (wrapper) used to talk to the |
Data |
C:\Program Files\Couchbase\Server\bin |
|
Open source tool sigar that is used to collect system information |
Data |
C:\Program Files\Couchbase\Server\bin |