Bitcoin Forum
April 26, 2024, 01:01:49 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 [280] 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 »
  Print  
Author Topic: [*] 8BIT [Dark Masternodes][Anon][Roadmap Stage 4]  (Read 379544 times)
8-bit-Party
Legendary
*
Offline Offline

Activity: 1036
Merit: 1000

8b 16b DEMOSCENE FTW


View Profile WWW
October 20, 2017, 06:46:35 PM
 #5581

                   total        used        free      shared  buff/cache   available
Mem:            488         106          84           4         297         345
Swap:          3071         448        2623

ps ux|grep 8bitd
theo      7541 52.5 76.4 2219172 382296 ?      SLsl 09:27 208:58 ./8bitd -daemon
theo      8632  0.0  0.1  14520   888 pts/1    S+   16:04   0:00 grep --color=auto 8bitd

So... to summary - 8bitd resident size is 382M while your system reports 106M mem usage and 448M swap usage. I guess your provider is overbooking resources and therefore swaps aggressively. If your provider allows to temporary bump VPS parameters - try 1GB mem plan - it should give instant effect.
If it is your bare metal machine, reduce the swappiness.


8-BIT PARTY 16-BIT PARTY DEMOSCENE FTW
1714136509
Hero Member
*
Offline Offline

Posts: 1714136509

View Profile Personal Message (Offline)

Ignore
1714136509
Reply with quote  #2

1714136509
Report to moderator
"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714136509
Hero Member
*
Offline Offline

Posts: 1714136509

View Profile Personal Message (Offline)

Ignore
1714136509
Reply with quote  #2

1714136509
Report to moderator
r8st
Full Member
***
Offline Offline

Activity: 179
Merit: 100



View Profile
October 20, 2017, 07:10:09 PM
Last edit: October 20, 2017, 08:27:37 PM by r8st
 #5582

                  total        used        free      shared  buff/cache   available
Mem:            488         106          84           4         297         345
Swap:          3071         448        2623

ps ux|grep 8bitd
theo      7541 52.5 76.4 2219172 382296 ?      SLsl 09:27 208:58 ./8bitd -daemon
theo      8632  0.0  0.1  14520   888 pts/1    S+   16:04   0:00 grep --color=auto 8bitd

So... to summary - 8bitd resident size is 382M while your system reports 106M mem usage and 448M swap usage. I guess your provider is overbooking resources and therefore swaps aggressively. If your provider allows to temporary bump VPS parameters - try 1GB mem plan - it should give instant effect.
If it is your bare metal machine, reduce the swappiness.



I found it helps to change Ubuntu's "swappiness";

"You can find in system monitor that Ubuntu is using swap space although you have plenty of free physical RAM.
This is due to the default swappiness value of Ubuntu. Swappiness is a Linux kernel parameter that controls how often Linux swap out idle processes to the swap space on your hard drive.
The value of swappiness is between 0 ~ 100. Lower value means Linux will use swap space less whereas higher value causes Linux to use swap space more often. The default value on Ubuntu is 60 which means when your computer uses up 40% of physical RAM, Linux kernel begins swapping.
You can use the following command to check the current value.
cat /proc/sys/vm/swappiness
It’s recommended to set a low value for swappiness so that Linux kernel will use as much physical RAM as possible. For example, to set swappiness to 12:
sudo sysctl vm.swappiness=12
This command tells Linux kernel to use swap space when 88% or more of physical RAM is used up.  This setting isn’t persistent.
To make it persistent across reboots, you need to edit a file.
sudo nano /etc/sysctl.d/99-sysctl.conf
At the end of this file, append the following line.
vm.swappiness=12
"

(from https://www.linuxbabe.com/ubuntu/4-tips-speed-up-ubuntu-16-04)
bakra
Jr. Member
*
Offline Offline

Activity: 75
Merit: 5


View Profile
October 21, 2017, 12:56:38 AM
 #5583

                   total        used        free      shared  buff/cache   available
Mem:            488         106          84           4         297         345
Swap:          3071         448        2623

ps ux|grep 8bitd
theo      7541 52.5 76.4 2219172 382296 ?      SLsl 09:27 208:58 ./8bitd -daemon
theo      8632  0.0  0.1  14520   888 pts/1    S+   16:04   0:00 grep --color=auto 8bitd

So... to summary - 8bitd resident size is 382M while your system reports 106M mem usage and 448M swap usage. I guess your provider is overbooking resources and therefore swaps aggressively. If your provider allows to temporary bump VPS parameters - try 1GB mem plan - it should give instant effect.
If it is your bare metal machine, reduce the swappiness.



I also get the feeling the provider is overbooking resources. I've set the swappiness to 12 now to see what that will do. If that doesn't help I'm thinking of switching provider again
bakra
Jr. Member
*
Offline Offline

Activity: 75
Merit: 5


View Profile
October 21, 2017, 12:58:22 AM
 #5584

                  total        used        free      shared  buff/cache   available
Mem:            488         106          84           4         297         345
Swap:          3071         448        2623

ps ux|grep 8bitd
theo      7541 52.5 76.4 2219172 382296 ?      SLsl 09:27 208:58 ./8bitd -daemon
theo      8632  0.0  0.1  14520   888 pts/1    S+   16:04   0:00 grep --color=auto 8bitd

So... to summary - 8bitd resident size is 382M while your system reports 106M mem usage and 448M swap usage. I guess your provider is overbooking resources and therefore swaps aggressively. If your provider allows to temporary bump VPS parameters - try 1GB mem plan - it should give instant effect.
If it is your bare metal machine, reduce the swappiness.



I found it helps to change Ubuntu's "swappiness";

"You can find in system monitor that Ubuntu is using swap space although you have plenty of free physical RAM.
This is due to the default swappiness value of Ubuntu. Swappiness is a Linux kernel parameter that controls how often Linux swap out idle processes to the swap space on your hard drive.
The value of swappiness is between 0 ~ 100. Lower value means Linux will use swap space less whereas higher value causes Linux to use swap space more often. The default value on Ubuntu is 60 which means when your computer uses up 40% of physical RAM, Linux kernel begins swapping.
You can use the following command to check the current value.
cat /proc/sys/vm/swappiness
It’s recommended to set a low value for swappiness so that Linux kernel will use as much physical RAM as possible. For example, to set swappiness to 12:
sudo sysctl vm.swappiness=12
This command tells Linux kernel to use swap space when 88% or more of physical RAM is used up.  This setting isn’t persistent.
To make it persistent across reboots, you need to edit a file.
sudo nano /etc/sysctl.d/99-sysctl.conf
At the end of this file, append the following line.
vm.swappiness=12
"

(from https://www.linuxbabe.com/ubuntu/4-tips-speed-up-ubuntu-16-04)

Thanks for the tip. I've set the swappiness to 12 now. I will wait a couple of days to see what that will do.
r8st
Full Member
***
Offline Offline

Activity: 179
Merit: 100



View Profile
October 21, 2017, 01:25:52 AM
 #5585

Is it possible to send masternode reward coins safely from my wallet while mn is running? I don't have qt built. If so, how would I do that?

Code:
8bitd -cli getreceivedbyaddress
[
    {
        "address" : "8xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "account" : "mn1",
        "amount" : 112.00000000,
        "confirmations" : 88088
    }
]

and

Code:
8bitd -cli getbalance
188.08

I think if I try to send say 8  8-bit out of my wallet right now it will screw up my mn, right?

How to avoid messing up mn? I know I could turn off mn, send what I want out, then create a new address in the wallet to send 112 to, and then generate a new masternode privkey and then edit the .conf and restart 8bitd, but I'm hoping there's an easier way. Thanks
8-bit-Party
Legendary
*
Offline Offline

Activity: 1036
Merit: 1000

8b 16b DEMOSCENE FTW


View Profile WWW
October 21, 2017, 11:13:48 AM
 #5586

Is it possible to send masternode reward coins safely from my wallet while mn is running? I don't have qt built. If so, how would I do that?

Code:
8bitd -cli getreceivedbyaddress
[
    {
        "address" : "8xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "account" : "mn1",
        "amount" : 112.00000000,
        "confirmations" : 88088
    }
]

and

Code:
8bitd -cli getbalance
188.08

I think if I try to send say 8  8-bit out of my wallet right now it will screw up my mn, right?

How to avoid messing up mn? I know I could turn off mn, send what I want out, then create a new address in the wallet to send 112 to, and then generate a new masternode privkey and then edit the .conf and restart 8bitd, but I'm hoping there's an easier way. Thanks

It can be done in several ways, you have to choose which inputs will create your transaction, https://bitcoin.org/en/developer-examples#simple-raw-transaction is a good start

8-BIT PARTY 16-BIT PARTY DEMOSCENE FTW
RueDuSite
Jr. Member
*
Offline Offline

Activity: 110
Merit: 1


View Profile
October 21, 2017, 04:55:56 PM
 #5587

8bit not working on my Windows 10.
On Ubuntu, 8bit working well
r8st
Full Member
***
Offline Offline

Activity: 179
Merit: 100



View Profile
October 21, 2017, 09:20:27 PM
 #5588


It can be done in several ways, you have to choose which inputs will create your transaction, https://bitcoin.org/en/developer-examples#simple-raw-transaction is a good start


Ok thank you. Can it also be done through the gui? I built the qt yesterday to see if "coin control" is an option through the gui but couldn't find it.
8-bit-Party
Legendary
*
Offline Offline

Activity: 1036
Merit: 1000

8b 16b DEMOSCENE FTW


View Profile WWW
October 22, 2017, 11:32:07 AM
 #5589


It can be done in several ways, you have to choose which inputs will create your transaction, https://bitcoin.org/en/developer-examples#simple-raw-transaction is a good start


Ok thank you. Can it also be done through the gui? I built the qt yesterday to see if "coin control" is an option through the gui but couldn't find it.

With qt client its much easier. Go to the options and enable "Display coin control (experts only!)".

8-BIT PARTY 16-BIT PARTY DEMOSCENE FTW
Pon13
Full Member
***
Offline Offline

Activity: 670
Merit: 130



View Profile WWW
October 23, 2017, 06:41:42 AM
 #5590

Hi guys !! can someone tell me the procedure to have more than one MN in ubuntu with the same machine ??

Is there a way to point 8bitd or the gui to a different .8bit folder ? do i use the same .8bit folder for everything ??

thanks in advance !

Bill Hicks was right about....everything
coon056
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
October 23, 2017, 07:57:52 AM
 #5591

Hi guys !! can someone tell me the procedure to have more than one MN in ubuntu with the same machine ??

Is there a way to point 8bitd or the gui to a different .8bit folder ? do i use the same .8bit folder for everything ??

thanks in advance !

Run with parameter -datadir=<dir>
r8st
Full Member
***
Offline Offline

Activity: 179
Merit: 100



View Profile
October 23, 2017, 09:46:38 PM
 #5592

Ok I have spent some time trying to enable "coin control" for the qt. I just can not figure it out, anyone? 8-bit party said it was one of the options... I can not find/see ANY options section to click on, anywhere...?
coon056
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
October 24, 2017, 06:44:15 AM
 #5593

Ok I have spent some time trying to enable "coin control" for the qt. I just can not figure it out, anyone? 8-bit party said it was one of the options... I can not find/see ANY options section to click on, anywhere...?

I have an interface in Russian, but I'm sure you'll figure out where to put the parameter
http://s018.radikal.ru/i512/1710/0a/d3919e806389.png
r8st
Full Member
***
Offline Offline

Activity: 179
Merit: 100



View Profile
October 24, 2017, 08:35:11 AM
 #5594

Ok I have spent some time trying to enable "coin control" for the qt. I just can not figure it out, anyone? 8-bit party said it was one of the options... I can not find/see ANY options section to click on, anywhere...?

I have an interface in Russian, but I'm sure you'll figure out where to put the parameter


Yes that's what I am looking for, I just can't figure out how to get to that screen! Maybe there is something wrong with my qt build? There is no options/settings button for me to click on to get there... maybe I need to run the qt with an additional option that enables coin control? Is there such an option?
Pon13
Full Member
***
Offline Offline

Activity: 670
Merit: 130



View Profile WWW
October 24, 2017, 12:35:00 PM
 #5595

Right click at the tray icon --> options


Bill Hicks was right about....everything
r8st
Full Member
***
Offline Offline

Activity: 179
Merit: 100



View Profile
October 25, 2017, 05:14:37 AM
 #5596

Right click at the tray icon --> options


lol. oh my goodness, got it. thanks so much.
r8st
Full Member
***
Offline Offline

Activity: 179
Merit: 100



View Profile
October 25, 2017, 05:21:37 AM
 #5597

If anyone's considering setting up multiple mns on a system in the future I HIGHLY recommend using Ubuntu 16.04 Server, rather than Desktop. Huge resources are conserved this route. On my system I was only able to run 6 instances of 8bitd through ubuntu desktop, and even then one or more mn would drop out every couple days. With ubuntu server I am now up to 8 mns, I think I could get one or 2 more going even, and I only have 8gb ram installed right now, plenty of resources left over to do other stuff. It is running 100x more stable than with ubuntu desktop, it feels like, I'd feel comfortable not checking this for weeks at a time. I'll check back in in a few days.
coon056
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
October 25, 2017, 05:32:40 AM
 #5598

If anyone's considering setting up multiple mns on a system in the future I HIGHLY recommend using Ubuntu 16.04 Server, rather than Desktop. Huge resources are conserved this route. On my system I was only able to run 6 instances of 8bitd through ubuntu desktop, and even then one or more mn would drop out every couple days. With ubuntu server I am now up to 8 mns, I think I could get one or 2 more going even, and I only have 8gb ram installed right now, plenty of resources left over to do other stuff. It is running 100x more stable than with ubuntu desktop, it feels like, I'd feel comfortable not checking this for weeks at a time. I'll check back in in a few days.

I can recommend a service for monitoring MN
https://uptimerobot.com/
Pon13
Full Member
***
Offline Offline

Activity: 670
Merit: 130



View Profile WWW
October 25, 2017, 06:54:49 AM
 #5599

If anyone's considering setting up multiple mns on a system in the future I HIGHLY recommend using Ubuntu 16.04 Server, rather than Desktop. Huge resources are conserved this route. On my system I was only able to run 6 instances of 8bitd through ubuntu desktop, and even then one or more mn would drop out every couple days. With ubuntu server I am now up to 8 mns, I think I could get one or 2 more going even, and I only have 8gb ram installed right now, plenty of resources left over to do other stuff. It is running 100x more stable than with ubuntu desktop, it feels like, I'd feel comfortable not checking this for weeks at a time. I'll check back in in a few days.

I'm considering it and i guess you are right, especially if your ubuntu machine is on old hardware.
i have coins for a few more mns but i cant imagine my ubuntu running more than 3 instances.
i might actually format and install ubuntu server to see how it goes

Bill Hicks was right about....everything
8-bit-Party
Legendary
*
Offline Offline

Activity: 1036
Merit: 1000

8b 16b DEMOSCENE FTW


View Profile WWW
October 25, 2017, 12:08:00 PM
 #5600

I have recommended one of the users to keep infinite loop / crontab script starting 8bit client every N minutes to mitigate OOMs when memory consumption spikes. Quite rough, although works flawless, he runs 10+ MNs on 8GB machine (with a really small swapfile). In case of database corruption he easily restores it from the client that has been not killed.


8-BIT PARTY 16-BIT PARTY DEMOSCENE FTW
Pages: « 1 ... 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 [280] 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!