# FoundationDB processes - 2 (less 0 excluded; 1 with errors)

**URL:** <https://forums.foundationdb.org/t/foundationdb-processes-2-less-0-excluded-1-with-errors/2008>\
**Category:** Using FoundationDB\
**Tags:** performance\
**Created:** [March 13, 2020, 3:55am UTC](https://forums.foundationdb.org/t/foundationdb-processes-2-less-0-excluded-1-with-errors/2008 "2020-03-13T03:55:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cliicy](https://avatars.discourse-cdn.com/v4/letter/c/47e85d/32.png) [@Cliicy](https://forums.foundationdb.org/u/Cliicy)\
**Post date:** [March 13, 2020, 3:55am UTC](https://forums.foundationdb.org/t/foundationdb-processes-2-less-0-excluded-1-with-errors/2008/1 "2020-03-13T03:55:51Z")

</div>

Hi,  
I encountered one problem on certain server, the environment is single machine (one node), only one machine, not multiple nodes. here is the details:

1. use “_configure single new ssd-redwood-experimental_” to init database
2. configure 2 FDB server processes on foundationdb.conf like this:

```auto
[fdbserver.4500]
datadir = /opt/data/fdb-6.2/data/4500
logdir = /opt/data/fdb-6.2/log/fdbserver

[fdbserver.4501]
datadir = /opt/data/fdb-6.2/data/4501
logdir = /opt/data/fdb-6.2/log/fdbserver1

```

1. start FDB server and database is created successfully, but when using “fdbcli status” to check and found there is one problem with FoundationDB processes, shown below:

```auto
Configuration:
  Redundancy mode - single
  Storage engine - ssd-redwood-experimental
  Coordinators - 1

Cluster:
  FoundationDB processes - 2 ( **less 0 excluded; 1 with errors** )

```

How can I avoid this kind of errors?

Thanks,

---

<div class="post-metadata">

**Author:** ![alexmiller](https://sea1.discourse-cdn.com/foundationdb/user_avatar/forums.foundationdb.org/alexmiller/32/326_2.png) [@alexmiller](https://forums.foundationdb.org/u/alexmiller)\
**Post date:** [March 13, 2020, 3:58am UTC](https://forums.foundationdb.org/t/foundationdb-processes-2-less-0-excluded-1-with-errors/2008/2 "2020-03-13T03:58:18Z")

</div>

Can you grep for Severity=“40” in the logs and paste us what the errors are?

Or I think a full `status json` should have a sample error in the output somewhere also.

---

<div class="post-metadata">

**Author:** ![Cliicy](https://avatars.discourse-cdn.com/v4/letter/c/47e85d/32.png) [@Cliicy](https://forums.foundationdb.org/u/Cliicy)\
**Post date:** [March 13, 2020, 4:54am UTC](https://forums.foundationdb.org/t/foundationdb-processes-2-less-0-excluded-1-with-errors/2008/3 "2020-03-13T04:54:36Z")

</div>

no, couldn’t find Severity=“40” in the logs, only can find Severity=“10” and Severity=“20”

here is the contents of the full status json:  
Using cluster file `/etc/foundationdb/fdb.cluster’.

```auto
Configuration:
  Redundancy mode - single
  Storage engine - ssd-redwood-experimental
  Coordinators - 1

Cluster:
  FoundationDB processes - 2 (less 0 excluded; 1 with errors)
  Zones - 1
  Machines - 1
  Memory availability - 76.5 GB per process on machine with least available
  Retransmissions rate - 0 Hz
  Fault Tolerance - 0 machines
  Server time - 03/12/20 21:50:47

Data:
  Replication health - Healthy
  Moving data - 0.000 GB
  Sum of key-value sizes - 0 MB
  Disk space used - 210 MB

Operating space:
  Storage server - 2832.4 GB free on most full server
  Log server - 2832.4 GB free on most full server

Workload:
  Read rate - 18 Hz
  Write rate - 0 Hz
  Transactions started - 6 Hz
  Transactions committed - 0 Hz
  Conflict rate - 0 Hz

Backup and DR:
  Running backups - 0
  Running DRs - 0

Client time: 03/12/20 21:50:47

```

---

<div class="post-metadata">

**Author:** ![alexmiller](https://sea1.discourse-cdn.com/foundationdb/user_avatar/forums.foundationdb.org/alexmiller/32/326_2.png) [@alexmiller](https://forums.foundationdb.org/u/alexmiller)\
**Post date:** [March 13, 2020, 4:55am UTC](https://forums.foundationdb.org/t/foundationdb-processes-2-less-0-excluded-1-with-errors/2008/4 "2020-03-13T04:55:35Z")

</div>

Can you gist or pastebin a full status json?

---

<div class="post-metadata">

**Author:** ![alexmiller](https://sea1.discourse-cdn.com/foundationdb/user_avatar/forums.foundationdb.org/alexmiller/32/326_2.png) [@alexmiller](https://forums.foundationdb.org/u/alexmiller)\
**Post date:** [March 13, 2020, 5:00am UTC](https://forums.foundationdb.org/t/foundationdb-processes-2-less-0-excluded-1-with-errors/2008/6 "2020-03-13T05:00:29Z")

</div>

Err… That is not json, and please use ``` to delimit code-like blocks.

`fdbcli -C cluster.file --exec 'status json'`

---

<div class="post-metadata">

**Author:** ![alexmiller](https://sea1.discourse-cdn.com/foundationdb/user_avatar/forums.foundationdb.org/alexmiller/32/326_2.png) [@alexmiller](https://forums.foundationdb.org/u/alexmiller)\
**Post date:** [March 13, 2020, 5:47am UTC](https://forums.foundationdb.org/t/foundationdb-processes-2-less-0-excluded-1-with-errors/2008/8 "2020-03-13T05:47:33Z")

</div>

Could you please edit your post to re-paste that file, and put it between two blocks of three backticks ``` , so that the whitespace is kept as whitespace, and is thus it is readable?

---

<div class="post-metadata">

**Author:** ![alexmiller](https://sea1.discourse-cdn.com/foundationdb/user_avatar/forums.foundationdb.org/alexmiller/32/326_2.png) [@alexmiller](https://forums.foundationdb.org/u/alexmiller)\
**Post date:** [March 13, 2020, 5:49am UTC](https://forums.foundationdb.org/t/foundationdb-processes-2-less-0-excluded-1-with-errors/2008/9 "2020-03-13T05:49:01Z")

</div>

But regardless, your error appears to be:

```auto
“description” : “Could not open file ‘/opt/data/vanda/fdb-6.2/log/fdbserver1/trace.127.0.0.1.4501.1584074970.NClR3t.0.1.xml’ (No such file or directory).”,
“file_name” : “/opt/data/vanda/fdb-6.2/log/fdbserver1/trace.127.0.0.1.4501.1584074970.NClR3t.0.1.xml”,
“name” : “file_open_error”

```

so it looks like you need to create a directory.

---

<div class="post-metadata">

**Author:** ![Cliicy](https://avatars.discourse-cdn.com/v4/letter/c/47e85d/32.png) [@Cliicy](https://forums.foundationdb.org/u/Cliicy)\
**Post date:** [March 13, 2020, 5:57am UTC](https://forums.foundationdb.org/t/foundationdb-processes-2-less-0-excluded-1-with-errors/2008/10 "2020-03-13T05:57:38Z")

</div>

I see now. I am using the old scripts so that folder didn’t created at all.  
Now the problem is fixed. Thanks for your help.

Have a nice day!
