I’ve only copied the last bits of the output for status, here’s the beginning (the whole log is very long):
● cnode.service - Cardano Node
Loaded: loaded (/etc/systemd/system/cnode.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2021-08-29 21:01:21 CEST; 7min ago
Process: 2091 ExecStop=/bin/bash -l -c exec kill -2 $(ps -ef | grep [c]ardano-node.*./opt/cardano/cnode/ | tr -s ’ ’ | cut -d ’ ’ -f2) &>/dev/null (code=exited, status=0/SUCCESS)
Main PID: 3555 (cnode.sh)
CGroup: /system.slice/cnode.service
├─3555 /bin/bash /opt/cardano/cnode/scripts/cnode.sh
└─3665 cardano-node run --topology /opt/cardano/cnode/files/topology.json --config /opt/cardano/cnode/files/config.json --database-path /opt/cardano/cnode/db --socket-path /opt/cardano/cnode/sockets/node0.socket --host-addr 0.0.0.0 --port 3001
Important note: it’s the relay.
I’m not sure why it’s not in the logs, but I think the problem comes from cardano-node getting killed by OOM due to utilizing too much resources. Interestingly enough, both relays and actual node are 4 core machines with 8 gigs of RAM which I thought would be more than enough, but reality is that even when I write this post, memory usage shown is 100%. I remember from reading guides that machine requirements were much more modest…
Go to config file and set the TraceMempool to false… then restart the node… should use only 4G RAM
Hey Alexd. I went with you suggestion and also adjusted garbage collection as described here: Solving the Cardano node huge memory usage - done
Now node still uses close to 100% of memory (eventually), but it takes way longer before it crashes.
Good news is that I have actually managed to sync nodes. However, I still can’t see the 2 ADA that I have sent to my wallet. Any idea what have I done wrong ?
Just to clarify: To which address should I transfer 2 ADA so that I have it visible in my cntools wallet ?
cntools → wallet → show displays:
- address (starting with ‘addr1’),
- Enterprise address (starting with ‘addr1’),
- Reward/stake address (starting with ‘stake1’),
Both ‘Rewards Available’ and ‘Funds + Rewards’ are 0 Ada
Ok, this wallet was imported in cntools via seed words?
To this one you’ll need to send 2ADA
No, it was not. I believe it was created in the process of creating a pool.
Then send 2 ADA to addr1… address
That’s odd. This address is : addr1q8vr5aqfgz5xyysdysctltru96rn8ql28d2h2csw06gauks4gas22qym85ena73tvq5e6gyklxx5z3lvccecgq59ms9s5a5ttu
As you may see, cardano sees 2 ADA transaction to this address…
https://explorer.cardano.org/en/transaction?id=878b0a002f8d5bf57ea96ba4d177541fe5a3e21253b5ddcca27ffa3403bda4bd
…yet the transaction is not visible at the wallet address:
https://explorer.cardano.org/en/address?address=addr1q8vr5aqfgz5xyysdysctltru96rn8ql28d2h2csw06gauks4gas22qym85ena73tvq5e6gyklxx5z3lvccecgq59ms9s5a5ttu
THis is very confusing.
> Cardano Node - (Core - Mainnet) : 1.25.1 [00000000] <
Uptime: 05:17:12 Port: 3001 Guild LiveView v1.19.4
Epoch 287 [53.3%] (node)
2d 08:04:33 until epoch boundary (chain)
Block : 6184034 Tip (ref) : 38850927
Slot : 230076 Tip (node) : 38850876
| Density : 5.112 Tip (diff) : 51 : |
Processed TX : 0 Out / In
Mempool TX/Bytes : 0 / 0 Peers : 1 1
KES current/remaining : 299 / 48
KES expiration date : 2021-11-10 10:44:51 CET
BLOCKS Leader | Adopted | Invalid
Since node start (EKG metrics) 0 | 0 | 0
TG Announcement/Support channel: Telegram: Contact @guild_operators_official
Ok, and if u go to cntools - wallet - list
cntools - wallet - show
it’s saying 0?
Yes. That’s why I’m confused.
can u go to
cd /opt/cardano/cnode/priv/wallet
ls -l
then cd folder_name
ls -l and show me the files?
Sure:
drwxrwxr-x 3 cardano cardano 4096 Mar 15 20:51 .
drwx------ 4 cardano cardano 4096 Mar 15 20:53 …
drwxrwxr-x 2 cardano cardano 4096 May 1 00:08 futurechains_net
[cnode]$ ls -al priv/wallet/futurechains_net/
total 44
drwxrwxr-x 2 cardano cardano 4096 May 1 00:08 .
drwxrwxr-x 3 cardano cardano 4096 Mar 15 20:51 …
-rw------- 1 cardano cardano 103 Mar 15 20:51 base.addr
-rw------- 1 cardano cardano 243 Mar 15 22:30 delegation.cert
-rw------- 1 cardano cardano 58 Mar 15 20:51 payment.addr
-rw------- 1 cardano cardano 180 May 1 00:08 payment.skey
-rw------- 1 cardano cardano 190 Mar 15 20:51 payment.vkey
-rw------- 1 cardano cardano 59 Mar 15 20:51 reward.addr
-rw------- 1 cardano cardano 185 Mar 15 22:07 stake.cert
-rw------- 1 cardano cardano 176 May 1 00:08 stake.skey
-rw------- 1 cardano cardano 186 Mar 15 20:51 stake.vkey
So everything looks OK to me.
I’m not sure how to interpret it all. First : the 2 ADA transaction to the valid address has been requested and confirmed on blockchain. But the same blockchain does not ‘see’ these 2 ADAs when looking at recipient address. How’s that possible ? I would think it’s some kind of local problem, but it’s cardano explorer that shows this paradox.
Strange, indeed because u are not seeing the balance
addr1q8vr5aqfgz5xyysdysctltru96rn8ql28d2h2csw06gauks4gas22qym85ena73tvq5e6gyklxx5z3lvccecgq59ms9s5a5ttu
The address is the same with the address from cntools - wallet - show?
What is the ticker?