Ive been having a problem trying to start >20 nodes on this box using the launchpad. I think I sussed it.
I have 308Gb free on / as reported by launchpad. df tells me I have 322Gb free but its in the same ball park.
I have ~/.local/share/safe on its own partition on a 120 Gb SSD at /dev/sda1 , ~103Gb reported available from df
It seems like node-launchpad is correctly storing chunks, logs etc correctly on /dev/sda1, but as there is only room for 20 nodes there, that is all it will start.
I will make another symlink to another 500Gb partition I just freed and then see if I can start more nodes.
My thinking is that hopfully it will be possible to choose connecting with port forwarding in the node launcher or any way that is used to start nodes.
If you port forward then you know that the ports are open, one less thing to worry about. Even if a keepalive would also be nice to have.
It turns out you can reduce the number of nodes by pressing ‘O’ to set resources and inputting a new number. It will kill the nodes that are now surplus to requirements. So if you set 50GB and 10 nodes started reducing it to 25GB will result in 5 being killed. No choice in which - it goes from the highest number down. And if you add nodes by increasing the number you have to do a ctrl-g start the new ones.
But @user_space is right that if you want more control over things use safenode-manager.
I don’t have nodes running in DO and only 1 in AWS but your Network Size graph looks a bit like an inversion of my router’s graph for the port my RPi4 is on with its 5 nodes:-
Time is GMT on my graph.
So this just another example that nodes leaving and joining causes more traffic for remaining nodes. I’m not tracking CPU but I imagine it was somewhat higher.
So I’ve had some weirdness today, I might of accidentally killed all my nodes that I launched using the new node-launchpad.
I access the host, which is headless over ssh, and use a unprivileged user to run safe - I elevate to root using sudo [ Debian Bookworm 6.1.90-1 (2024-05-03) x86_64 GNU/Linux ]
So, it seems that when I logoff the SSH session, all the nodes are killed… When I log back in on SSH, they all get started at the same time which tanks the machine…logoff again, then all get killed
done some poking, and the service definition is being created under ~/.config/systemd/user/default.target.wants as safenode1.service
running systemctl --user status safenode1 confirms it’s running under a user.slice.
Default seems to be kill all user slice sessions on logoff
I think it can be over-ride by elevating to root, and using loginctl enable-linger <unprivalegd username>
also, after the ssh logoff, node kill, ssh logon… node-launchpad status shows all the safenodes as stopped, but a ps -ef shows them running - you then can’t use node-launchpad or safenode-manager to stop / start / control the nodes…
Maybe it’s by design that nodes only run when you are on the machine ? Thought I would mention it, as if lots of new people using this to run nodes, could be undesirable to have the safenodes up and down all the time.
The dreaded binary vs decimal. The lies the drive people created. Memory is binary sizing and drives are extension of memory so should always be reported in binary. But hey lets dumb down everything and make money off it. And comms has always been in decimal, but its not memory related.
Be great if launchpad had options for the highlighted node, like stop, kill, start, status, etc
And with launchpad (TUI for node-manager) and node-manager would allow the creation of only one wallet to use for all nodes. (or select wallet for each node individually). Save worrying about doing token collection into one wallet manually when you want to use tokens, separate wallet ofr each node is a carry over thinking from when there would only be one node per subnet
Can we use it? Be nice if launchpad allowed the creation of that one wallet as well and be able to use it for client in the process. @joshuef (the fall guy ) can you find out if the TUI will be able to do that?
In the initial, yes. Though users will be able to earn without forwarding too. So they could well save up and spend it. how that looks from a UX pov vs earning etc is another Q that needs straightened out.
We’ll be iterating over a few aims.
Because it’s not there yet Doesn;t mean it wont be there soon. But we’re busy wee bees at the moment.
The functionality is there long latent, but actually the wallet isn’t yet in a place wher ewe want folk to try this (ie, it doesn’t feel like “this is my forever wallet” yet, which could be problematic).
Discord switched to a new naming setup recently. I’m adding a command to clarify thi, I think it might be helpful.
From where they were. Though depending on reboot length they may yet be shunned… Tolerance here needs to be poked at.
It’ll come.
one thing after another! haha, there’s quite the list of wants growing, which is awesome. But aye… bit by bit by bit!
edit:
There’s a good chance we bring this down soon. Hopefully to test some discord integrations pronto.
Are you going to merge this into main? It seems to have performed as well or better than the last stable test.
Sounds like the ‘forever wallet’ is some way away. I noticed that work on the account packet stopped a while ago and was wondering about this before I got up today.
It’s a bit of a hole, quite an important one! A hole in both the UX and in how apps will access the wallet and integrate into their UI. If you can share any thoughts about the latter I’d be interested, for both CLI and GUI apps.
So… I left my (test) machine running over night and this morning it was unresponsive. Had to power it down and restart it that way. On restart it was
again also non-responsive.
I decided to just re-installed linux mint.
I did not realize that increments of 5GB meant that 1 node would be created for each 5GB. I thought that was just a total allocation of space to a node.