-
mranostaj
can one set a max size blockchain size with pruning blockchain? or is it hardcoded in the code to be 1/3rd of the full blockchain?
-
moneromoooo
No, and kinda, resp.
-
moneromoooo
It's hardcoded to prune 7/8ths of the blocks. That turns out to be about two thirds of the chain size.
-
Tigerix[m]
Hi guys,
-
Tigerix[m]
short question - is this channel synced with the IRC channel, or is it separate?
-
SerHack
Tigerix[m]: I can read you from IRC
-
Tigerix[m]
SerHack: Okay, great! Thanks!
-
SerHack
:D
-
garth
Just a quick note to say THANK YOU to Moneromooo for all his help and code over the years. You rock, dude!
-
Mochi101
mooo
-
nioc
+∞
-
eudaimon36[m]
Happy Thanksgiving subjects of the US regime!
-
Mochi101
doesn't seem genuine
-
moneromoooo
Thanks, and you're welcome.
-
jkhsjdhjs
hey, I just set up a monero node which finished synchronizing this morning. some time after syncing it started using about 80% cpu on 2 threads constantly. my question is: is this normal? I'm wondering because it didn't start until about 1 hour after the sync finished, which seems kinda arbitrary. I've read about high cpu usage online, but the findings seemed to be different from mine. here's a cpu
-
jkhsjdhjs
-
jkhsjdhjs
the log contains no info besides some boost::wrapexcept<boost::bad_weak_ptr> exceptions
-
jkhsjdhjs
-
plowsof
does --non-interactive mean we can't send commands like "monerod status" "monerod out_peers 100"
-
ofrnxmr[m]
Use tmux 😝 with -d
-
ofrnxmr[m]
Then you get them all detached, in the same window, and can send commands 🥳
-
jkhsjdhjs
it's running as a systemd unit, afaik you can also send commands via rpc
-
ofrnxmr[m]
Tldr. I dont know the answer 🐒
-
ofrnxmr[m]
Sounds to me like --detached lets you interact from the command line or rpc, non-interactive sounds like it only allows rpc.. wish I could answer
-
ofrnxmr[m]
s/detached/detach/
-
jkhsjdhjs
yeah, non-interactive probably just ignores stdin
-
plowsof
i use detach and default ports so i can just type ./monerod out_peers 100
-
ofrnxmr[m]
Yeah, if you enable non interactive, does that stop working?
-
plowsof
i dont want to try and make things needlessly difficult
-
ofrnxmr[m]
🐵
-
ofrnxmr[m]
Me too 🦧 hahaha. I dont want to stop my node
-
ofrnxmr[m]
Let me try something
-
plowsof
-
jkhsjdhjs
can you tell me how much cpu your nodes use? that could help me with my issue
-
plowsof
not 80% of 2 cores , so something is wrong
-
jkhsjdhjs
hmm :/
-
plowsof
have you tried limiting out_peers from infinity to 60-100
-
jkhsjdhjs
ah no, haven't. but my node doesn't have that many peers:
-
jkhsjdhjs
86 currently (total of in and outgoing connections)
-
ofrnxmr[m]
CPU specs
-
ofrnxmr[m]
<jkhsjdhjs> "yeah, non-interactive probably..." <- Looks like it still works
-
jkhsjdhjs
Ryzen 5950X
-
jkhsjdhjs
the chain is stored on an HDD because I didn't wanna waste SSD space, but I don't think that matters
-
ofrnxmr[m]
It does
-
jkhsjdhjs
yeah, I meant it's probably not related to this issue
-
ofrnxmr[m]
It takes constant time to write to the hdd. On ssd there is far more idle time between writes
-
ofrnxmr[m]
Is the chain fully synced?
-
jkhsjdhjs
yes
-
jkhsjdhjs
it seems like I won't be able to debug this with just restricted rpc. I will restart the node and also enable trace logging, maybe this can help
-
jkhsjdhjs
let's see if this problem occurs again at all
-
ofrnxmr[m]
jkhsjdhjs: did you enable mining
-
jkhsjdhjs
nope
-
ofrnxmr[m]
restore a wallet?
-
jkhsjdhjs
also no, just synced already existing wallets
-
jkhsjdhjs
but they were up to date pretty quick
-
jkhsjdhjs
I now restarted the node and the current status is
-
jkhsjdhjs
Height: 2762877/2762877 (100.0%) on mainnet, not mining, net hash 2.55 GH/s, v16, 12(out)+9(in) connections, uptime 0d 0h 1m 29s
-
ofrnxmr[m]
If it happens again, try print_net_stats
-
jkhsjdhjs
I will, thanks for your help so far!
-
jkhsjdhjs
it happened about 2 hours after it was fully synced the first time
-
jkhsjdhjs
btw do you run your node with restricted rpc publicly available?
-
jkhsjdhjs
was thinking about doing that, and unrestricted rpc just for local connections
-
ofrnxmr[m]
jkhsjdhjs: Yes but only over onion
-
jkhsjdhjs
ah I see
-
ofrnxmr[m]
(Mine runs on my home network. I dont feel like sharing my ip)
-
jkhsjdhjs
ah so that's why there are so many onion nodes
-
ofrnxmr[m]
jkhsjdhjs: But yes
-
ofrnxmr[m]
My restricted rpc is set to 0000 but ports are closed. This is so I can sync over my home WiFi network
-
ofrnxmr[m]
Unrestricted is set to default 127001
-
jkhsjdhjs
ah, makes sense, probably much faster than routing your local traffic via onion :D
-
ofrnxmr[m]
I get around 8Mbps down over wifi/lan
-
ofrnxmr[m]
but onion is like 700kbs
-
alpharabius[m]
Bulletproof hosting
-
alpharabius[m]
Which is your favorite guys
-
jkhsjdhjs
ah btw plowsof I just read the documentation and apparently out_peers is even limited to 12 by default
-
jkhsjdhjs
seems a bit low
-
jkhsjdhjs
but yeah, my node only has 12 outgoing connections, 30 in
-
DanIsnotthemanBr
Can increase or decrease that if you want. Easiest way is config file
-
jkhsjdhjs
any reason it's limited to 12 by default? is it better for the network if I have more outgoing connections?
-
DanIsnotthemanBr
Yeep
-
nioc
there are issues that I don't recall now with increasing the outgoing connections above 12
-
nioc
there maybe some speed benefits during initial sync, after that the default of 12 is recommended
-
jkhsjdhjs
hmm I see, thanks
-
ofrnxmr[m]
Its better to have more incoming connections then outgoing.
-
ofrnxmr[m]
Having more outgoing connections takes up slots on other nodes incoming connections
-
ofrnxmr[m]
Considering everyone can make outgoing connections but many dont know how or bother to allow incoming connections, it forces everyone to connect to the same nodes
-
jkhsjdhjs
but what do you mean by "takes up slots"? incoming connections are unlimited by default (disregarding open file limit here)
-
DanIsnotthemanBr
Trying to say is more *in connection in helps with orhers syncing?
-
DanIsnotthemanBr
s/*/**/
-
DanIsnotthemanBr
s/*/**/, s/in//, s/orhers/others/
-
plowsof
ive got my ins and outs mixed up pls forgive jkhsjdhjs , all point and chant shame
-
ofrnxmr[m]
Slots aka nodes
-
ofrnxmr[m]
Example. ..
-
ofrnxmr[m]
Plowsof and myself have incoming open
-
ofrnxmr[m]
I have incoming limited to 3 outgoing to 3
-
ofrnxmr[m]
Plowsof has 3outgoing, unlimited incoming
-
ofrnxmr[m]
Say.. 8 other people join our network.
-
ofrnxmr[m]
None if the other 8 have incoming connections (ports) open
-
ofrnxmr[m]
3 of those people will connect to me, and everybody else will connect to plowsof
-
ofrnxmr[m]
Everybody else
-
jkhsjdhjs
yeah, but usually you don't have limited incoming connections, so overall the connections should be distributed roughly equally
-
ofrnxmr[m]
You usually do
-
jkhsjdhjs
why? it's unlimited by default
-
ofrnxmr[m]
A lot of users are behind a router/firewall
-
jkhsjdhjs
hm
-
ofrnxmr[m]
If me OR you dont open incoming ports, we cant make a connection
-
ofrnxmr[m]
We can only connect to nodes who have incoming open
-
jkhsjdhjs
ah true, so these users basically have 0 incoming connections
-
ofrnxmr[m]
Right
-
ofrnxmr[m]
Two of said users cannot connect tl each other, forcing all bandwidth of the nodes who have connections ooen
-
ofrnxmr[m]
Which is why its unlimited BT default
-
ofrnxmr[m]
To make sure that some nodes can protect against a flood of new nodes
-
jkhsjdhjs
makes sense. but in this case we either have 0 incoming connections or unlimited, meaning you won't take up slots either way
-
ofrnxmr[m]
Slots = nodes
-
ofrnxmr[m]
= bandwidth
-
jkhsjdhjs
not necessarily. if users want to limit their bandwidth, why would they limit incoming connections instead of limit_down?
-
ofrnxmr[m]
Plowsof might have unlimited connections, it doesnt mean he can serve 8 users
-
ofrnxmr[m]
You're not catching the point
-
ofrnxmr[m]
Bandwidth is not unlimited
-
jkhsjdhjs
so your point is too many outgoing connections are just taking up slots without being useful, since bw is limited
-
ofrnxmr[m]
Plowsof node cant serve every node in monwro
-
ofrnxmr[m]
And if he did, thats centralized af
-
ofrnxmr[m]
Regular users should only be making as many outgoing connections as needed. And you really only need under 30
-
ofrnxmr[m]
Its like a torrent with 1 seeder..
-
ofrnxmr[m]
That seeder might allow 99999999 incoming connections, doesnt mean that is viable
-
jkhsjdhjs
yeah, my thought was that I wanna help as many new nodes as possible with bootstrapping
-
ofrnxmr[m]
So incoming connections should be open, thats all
-
jkhsjdhjs
true
-
ofrnxmr[m]
Outgoing connections dont help. They help you use the bandwidth from the nodes those new users need
-
DanIsnotthemanBr
So learn to port forward is morale of story ?
-
jkhsjdhjs
thanks for the discussion, I get it now
-
ofrnxmr[m]
Yup
-
jkhsjdhjs
guess 12 truly is enough
-
ofrnxmr[m]
For proper decentralization, nodes need to have incoming connections open
-
jkhsjdhjs
I limited by outgoing connections to 12 again
-
DanIsnotthemanBr
I do notice the “how too guide” on get monero is extremely basic
-
ofrnxmr[m]
I experimental with 12/24/36.
-
ofrnxmr[m]
Usually use 36 during initial sync and 24 afterwards
-
ofrnxmr[m]
Really, monero should have a good, easy to find and edit config file
-
ofrnxmr[m]
I dont like how its all hidden or hard to use out of the box.
-
ofrnxmr[m]
The script I use on mobile does everything including setup your onion if you want one
-
DanIsnotthemanBr
Yeah when i did my half was looking at seths one and half was me reading monerod manual and go that looks good :/
-
jkhsjdhjs
monerodocs.org/interacting/monerod-reference the documentation is pretty good, but I think it could use some further explanation on which effect the settings have on the network
-
revuoxmr
Revuo Monero. Issue 147: November 17 - 24, 2022.
revuo-xmr.com/issue-147.html
-
ofrnxmr[m]
Thats where I adapted my config from
-
DanIsnotthemanBr
s/my/mine/
-
ofrnxmr[m]
DanIsnotthemanBr: I did mine with monerodocs
-
jkhsjdhjs
same here
-
ofrnxmr[m]
Seth - I dont need all that docker and systemd stuff - im on mobile lolololol
-
ofrnxmr[m]
This how we do it around here
-
-
DanIsnotthemanBr
Balls deep
-
plowsof
if anyone has a spare android device and wants to run a node on it, have a look at
github.com/nahuhh/android-termux-monero-node
-
DanIsnotthemanBr
I think the how to guide needs more info and probably a detach setup.
-
Mochi101
Hey, it's Dan the man.
-
ofrnxmr[m]
Which guide Dan (Is not the man & Braxman Tomsparks Advocate): getmonero.org?
-
ofrnxmr[m]
Getmonero has detach instructions but its real basic and weirdly worded as a guide for running on vps
-
ofrnxmr[m]
-
rbrunner
When even USD 10 millions to burn through are not enough, and you halt your project:
-
rbrunner
-
rbrunner
We are all bloody amateurs with our CCS ...
-
sech1
How? How can you spend $10 million in less than a year on software development?
-
sech1
That's AAA game dev level with hundreds of employees per project
-
rbrunner
I wonder how much they wanted to spend in total if all went well :)
-
great_taste
software engineers are overpaid :P
-
great_taste
10 devs cost more than $1 million per month
-
rbrunner
Hmmm, depends on where you are, I would say.
-
rbrunner
Wait, what, don't you mix up your math? Where does a single dev cost USD 100,000 per *month*?
-
great_taste
oh shit
-
great_taste
that's per year xD
-
jkhsjdhjs
does anyone here run a dualstack node (ipv4 + ipv6)? if yes, do you get any IPv6 peers at all? :D
-
jkhsjdhjs
I don't get any
-
erembax[m]
Is there a good guide on how to setup a 24/7 debain/ubuntu node running on your local network? I've read
sethforprivacy.com/guides/run-a-monero-node-advanced but that seems to be geared towards running on a VPS.
-
RavFX[m]1
Be aware that this site block Russia so you might need a VPN if you are from there (or a different VPN if you're exit is in Russia)
-
RavFX[m]1
That's the very reason I don't recommend Sethforprivacy anymore.
-
RavFX[m]1
ANY sites that add country-wide block should die
-
as2333
blocks russia but allows tor? seems kinda pointless...
-
ofrnxmr[m]
> <@gfdshygti53:monero.social> That's the very reason I don't recommend Sethforprivacy anymore.
-
ofrnxmr[m]
> ANY sites that add country-wide block should die
-
ofrnxmr[m]
Does Seth know?
-
ofrnxmr[m]
His site has an onion as well, btw
-
Mochi101
Since today is Thankgiving. I just want to say that I'm thankful for all of you, Monero wouldn't be the same without you.
-
ofrnxmr[m]
Your welcome ♥️
-
ofrnxmr[m]
* Your'e welcome ♥️
-
ofrnxmr[m]
* You're welcome ♥️
-
ofrnxmr[m]
Sorry irc
-
Mochi101
:D
-
-
thedoom1911[m]