Closed raul-dan closed 5 years ago
You're coming very close to the minimum recommended amounts on your server. Please see the links below.
https://wiki.ripple.com/Latest_rippled_release_notes https://developers.ripple.com/capacity-planning.html
This recommends 8 GB or more RAM.
The ledger grows at 5 GB per day as of Q4 2015, so you may also be pushing the edge of your storage space. In Ubuntu run
df -h
To see how much you're currently using.
@antechdemo, my machine has 16 GB of ram and the storage availability is 2.9T.
root@dev:/home/raul# df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.8G 0 7.8G 0% /dev
tmpfs 1.6G 161M 1.5G 11% /run
/dev/sdb2 439G 18G 399G 5% /
tmpfs 7.8G 0 7.8G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/sdb1 511M 3.4M 508M 1% /boot/efi
/dev/sda1 3.6T 604G 2.9T 18% /opt/data
tmpfs 1.6G 0 1.6G 0% /run/user/1000
root@dev:/home/raul#
root@dev:/home/raul# free -gh
total used free shared buff/cache available
Mem: 15G 4.7G 175M 101M 10G 10G
Swap: 976M 976M 0B
root@dev:/home/raul#
As for the average load, it is constantly under 4 ( my machine has 4 cores ).
You can try switching to RocksDB.
Stop the server (ctrl+c) Edit rippled.cfg, updating the [node_db] stanza. Example: [node_db] type=RocksDB path=/efs/.config/ripple/db/rocksdb open_files=2000 filter_bits=12 cache_mb=256 file_size_mb=8 file_size_mult=2 advisory_delete=0
You may notice that your server does not have any peer connections. Without a connection to the network, it can't possibly sync.
The reason it has no peers is a consequence of your configuration (specifically, you have [peer_private]
set to 1, which means your server won't attempt to establish any outgoing connections, which it warns you about on startup).
Unless you have a specific reason to limit the servers to which you connect, I would recommend removing the following lines from your config file:
[ips]
54.84.21.230 51235
54.86.175.122 51235
54.186.248.91 51235
54.186.73.52 51235
184.173.45.38 51235
198.11.206.26 51235
169.55.164.29 51235
174.37.225.41 51235
[peer_private]
1
Furthermore, you should remove the following lines from your validators.txt
:
[validators]
nHB1FqfBpNg7UTpiqEUkKcAiWqC2PFuoGY7FPWtCcXAxSkhpqDkm
nHUpwrafS45zmi6eT72XS5ijpkW5JwfL5mLdPhEibrqUvtRcMAjU
nHUBGitjsiaiMJBWKYsJBHU2shmYt9m29hRqoh8AS5bSAjXoHmdd
nHUXh1ELizQ5QLLqtNaVEbbbfMdq3wMkh14aJo5xi83xzzaatWWP
nHUgoJvpqXZMZwxh8ZoFseFJEVF8ryup9r2mFYchX7ftMdNn3jLT
If this continues to be an issue for you, please post an update here; otherwise please feel free to close this issue @antechdemo. If we don't hear back from you in the next 10 days, we'll probably end up closing this issue due to inactivity.
Hello,
I built rippled on a dev server, running ubuntu 16.04. Whatever I do, I can't seem to get rippled to sync the ledger.
I'm not sure what I'm missing but here are the environment specifics:
/etc/rippled/rippled.cfg
/etc/rippled/validators.txt
Server Info
Debug log (level info):
https://pastebin.com/ddG3n0gY