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

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:
[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:
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,

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.

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’.

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

Can you gist or pastebin a full status json?

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

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

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?

But regardless, your error appears to be:

“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.

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!