Bitcoin Forum
April 25, 2024, 08:04:48 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 [352] 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 ... 2557 »
  Print  
Author Topic: NXT :: descendant of Bitcoin - Updated Information  (Read 2761527 times)
notsoshifty
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
December 24, 2013, 06:36:01 PM
 #7021

if you have a node with 512 Mb RAM:
nohup java -Xms450m -Xmx480m -jar start.jar &

if you have a node with 1 GB RAM:
nohup java -Xms700m -Xmx900m -jar start.jar &

if you have a node with 2 GB RAM:
nohup java -Xms1500m -Xmx1800m -jar start.jar &

Ah, one more point on this guide - which otherwise I like, sorry I'm being picky Wink

If a server has 512MB RAM then a max heap size of 480MB is likely to be too large. There is the perm gem to think about (currently something like 20MB, but could go higher if more is added to the distribution), plus general memory used by the Java process itself, plus anything used by the OS and any other applications you have running. Setting a heap size such that Java needs to write to swap normally results in bad performance.

Same for the other values.
1714032288
Hero Member
*
Offline Offline

Posts: 1714032288

View Profile Personal Message (Offline)

Ignore
1714032288
Reply with quote  #2

1714032288
Report to moderator
1714032288
Hero Member
*
Offline Offline

Posts: 1714032288

View Profile Personal Message (Offline)

Ignore
1714032288
Reply with quote  #2

1714032288
Report to moderator
1714032288
Hero Member
*
Offline Offline

Posts: 1714032288

View Profile Personal Message (Offline)

Ignore
1714032288
Reply with quote  #2

1714032288
Report to moderator
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714032288
Hero Member
*
Offline Offline

Posts: 1714032288

View Profile Personal Message (Offline)

Ignore
1714032288
Reply with quote  #2

1714032288
Report to moderator
1714032288
Hero Member
*
Offline Offline

Posts: 1714032288

View Profile Personal Message (Offline)

Ignore
1714032288
Reply with quote  #2

1714032288
Report to moderator
1714032288
Hero Member
*
Offline Offline

Posts: 1714032288

View Profile Personal Message (Offline)

Ignore
1714032288
Reply with quote  #2

1714032288
Report to moderator
opticalcarrier
Full Member
***
Offline Offline

Activity: 238
Merit: 100



View Profile
December 24, 2013, 06:36:29 PM
 #7022

what does it mean when my unlocked client is seeing new blocks (i see 24010 at 332%) but no countdown timer to forge next block?
laowai80
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
December 24, 2013, 06:39:15 PM
 #7023

if you have a node with 512 Mb RAM:
nohup java -Xms450m -Xmx480m -jar start.jar &

if you have a node with 1 GB RAM:
nohup java -Xms700m -Xmx900m -jar start.jar &

if you have a node with 2 GB RAM:
nohup java -Xms1500m -Xmx1800m -jar start.jar &

Ah, one more point on this guide - which otherwise I like, sorry I'm being picky Wink

If a server has 512MB RAM then a max heap size of 480MB is likely to be too large. There is the perm gem to think about (currently something like 20MB, but could go higher if more is added to the distribution), plus general memory used by the Java process itself, plus anything used by the OS and any other applications you have running. Setting a heap size such that Java needs to write to swap normally results in bad performance.

Same for the other values.


What values would you advise for the above cases? I am not a java expert, so any suggestions are welcome.
colinistheman
Hero Member
*****
Offline Offline

Activity: 872
Merit: 1003



View Profile
December 24, 2013, 06:39:23 PM
 #7024

Is it true that the only way for someone to get their first NXT coins would be to purhcase them or be given them? Since there is no proof of work system? I understand that you can forge more once you own some, but how do you get your initial NXT ?



.
.BIG WINNER!.
[15.00000000 BTC]


▄████████████████████▄
██████████████████████
██████████▀▀██████████
█████████░░░░█████████
██████████▄▄██████████
███████▀▀████▀▀███████
██████░░░░██░░░░██████
███████▄▄████▄▄███████
████▀▀████▀▀████▀▀████
███░░░░██░░░░██░░░░███
████▄▄████▄▄████▄▄████
██████████████████████

▀████████████████████▀
▄████████████████████▄
██████████████████████
█████▀▀█▀▀▀▀▀▀██▀▀████
█████░░░░░░░░░░░░░████
█████░░░░░░░░░░░░▄████
█████░░▄███▄░░░░██████
█████▄▄███▀░░░░▄██████
█████████░░░░░░███████
████████░░░░░░░███████
███████░░░░░░░░███████
███████▄▄▄▄▄▄▄▄███████

██████████████████████
▀████████████████████▀
▄████████████████████▄
███████████████▀▀▀▀▀▀▀
███████████▀▀▄▄█░░░░░█
█████████▀░░█████░░░░█
███████▀░░░░░████▀░░░▀
██████░░░░░░░░▀▄▄█████
█████░▄░░░░░▄██████▀▀█
████░████▄░███████░░░░
███░█████░█████████░░█
███░░░▀█░██████████░░█
███░░░░░░████▀▀██▀░░░░
███░░░░░░███░░░░░░░░░░

██░▄▄▄▄░████▄▄██▄░░░░
████████████▀▀▀▀▀▀▀██
█████████████░█▀▀▀█░███
██████████▀▀░█▀░░░▀█░▀▀
███████▀░▄▄█░█░░░░░█░█▄
████▀░▄▄████░▀█░░░█▀░██
███░▄████▀▀░▄░▀█░█▀░▄░▀
█▀░███▀▀▀░░███░▀█▀░███░
▀░███▀░░░░░████▄░▄████░
░███▀░░░░░░░█████████░░
░███░░░░░░░░░███████░░░
███▀░██░░░░░░▀░▄▄▄░▀░░░
███░██████▄▄░▄█████▄░▄▄

██░████████░███████░█
▄████████████████████▄
████████▀▀░░░▀▀███████
███▀▀░░░░░▄▄▄░░░░▀▀▀██
██░▀▀▄▄░░░▀▀▀░░░▄▄▀▀██
██░▄▄░░▀▀▄▄░▄▄▀▀░░░░██
██░▀▀░░░░░░█░░░░░██░██
██░░░▄▄░░░░█░██░░░░░██
██░░░▀▀░░░░█░░░░░░░░██
██░░░░░▄▄░░█░░░░░██░██
██▄░░░░▀▀░░█░██░░░░░██
█████▄▄░░░░█░░░░▄▄████
█████████▄▄█▄▄████████

▀████████████████████▀




Rainbot
Daily Quests
Faucet
ferment
Full Member
***
Offline Offline

Activity: 168
Merit: 100


IDEX - LIVE Real-time DEX


View Profile
December 24, 2013, 06:40:33 PM
 #7025

Working on node infrastructure with a full redesign of nxtbase to support 100+. I won't open source my new management stuff for a bit, but here's a handy one for you VPSers running ubuntu.

Code:
$ sudo apt-get install --yes supervisor
$ sudo service supervisor restart

Then copy file like this to /etc/supervisor/conf.d/nrs.conf:
Code:
[program:nrs]
command=java -Xms$MIN -Xmx$MAX -jar start.jar
autostart=true
autorestart=true
stderr_logfile=/home/$USER/nxt/logs/stderr.log
stdout_logfile=/home/$USER/nxt/logs/stdout.log
user=$USER
directory=/home/$USER/nxt

Replace $MIN and $MAX with your memory limits. Replace $USER with your user. The run:
Code:
$ sudo supervisorctl reread
$ sudo supervisorctl update
$ sudo supervisorctl status

Now, what do you get for your efforts?

Restart on crash
Restart on reboot
handy commands for start/stop/restart/status (sudo supervisorctl CMD nrs).

Cool huh?

EmoneyRu
Hero Member
*****
Offline Offline

Activity: 600
Merit: 500

Nxt-kit developer


View Profile
December 24, 2013, 06:42:12 PM
 #7026

Well, I guess you have valid points, but at this time since the blockchain is small, that'll do I guess.
Or maybe it's really best to copy the files.

For now, when there is a lot of blockchains and a few hosts, re-downloading it is good idea. You most probably get most popular chain.
In future, ofc, it is better to save previous one

abctc
Legendary
*
Offline Offline

Activity: 1792
Merit: 1038



View Profile
December 24, 2013, 06:42:34 PM
 #7027

what does it mean when my unlocked client is seeing new blocks (i see 24010 at 332%) but no countdown timer to forge next block?
- may be you opened your new account with freshly bought NXTs (they need to mature)?

█████████████████████████████████████████████████
███████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
██████████████████████████████████████████████████████
█████
█████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████
███████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████
   
, the Next platform.  Magis quam Moneta (More than a Coin)
laowai80
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
December 24, 2013, 06:43:31 PM
 #7028

Well, I guess you have valid points, but at this time since the blockchain is small, that'll do I guess.
Or maybe it's really best to copy the files.

For now, when there is a lot of blockchains and a few hosts, re-downloading it is good idea. You most probably get most popular chain.
In future, ofc, it is better to save previous one

Yeah, so I'll update the guide in the future multiple times, as new features and parameters will be added.
Damelon
Legendary
*
Offline Offline

Activity: 1092
Merit: 1010



View Profile
December 24, 2013, 06:45:05 PM
 #7029

Is it true that the only way for someone to get their first NXT coins would be to purhcase them or be given them? Since there is no proof of work system? I understand that you can forge more once you own some, but how do you get your initial NXT ?

You can get one NXT at the faucet link on the first page of this thread.
Also, there are some giveaways around on the NXT forum: https://nextcoin.org/index.php/board,29.0.html

Member of the Nxt Foundation | Donations: NXT-D6K7-MLY6-98FM-FLL5T
Join Nxt Slack! https://nxtchat.herokuapp.com/
Founder of Blockchain Workspace | Personal Site & Blog
colinistheman
Hero Member
*****
Offline Offline

Activity: 872
Merit: 1003



View Profile
December 24, 2013, 06:46:03 PM
 #7030

Is it true that the only way for someone to get their first NXT coins would be to purhcase them or be given them? Since there is no proof of work system? I understand that you can forge more once you own some, but how do you get your initial NXT ?

You can get one NXT at the faucet link on the first page of this thread.
Also, there are some giveaways around on the NXT forum: https://nextcoin.org/index.php/board,29.0.html
But those are fairly small quantities. So basically you have to pay for NXT. different than other coins which you can mine from scratch



.
.BIG WINNER!.
[15.00000000 BTC]


▄████████████████████▄
██████████████████████
██████████▀▀██████████
█████████░░░░█████████
██████████▄▄██████████
███████▀▀████▀▀███████
██████░░░░██░░░░██████
███████▄▄████▄▄███████
████▀▀████▀▀████▀▀████
███░░░░██░░░░██░░░░███
████▄▄████▄▄████▄▄████
██████████████████████

▀████████████████████▀
▄████████████████████▄
██████████████████████
█████▀▀█▀▀▀▀▀▀██▀▀████
█████░░░░░░░░░░░░░████
█████░░░░░░░░░░░░▄████
█████░░▄███▄░░░░██████
█████▄▄███▀░░░░▄██████
█████████░░░░░░███████
████████░░░░░░░███████
███████░░░░░░░░███████
███████▄▄▄▄▄▄▄▄███████

██████████████████████
▀████████████████████▀
▄████████████████████▄
███████████████▀▀▀▀▀▀▀
███████████▀▀▄▄█░░░░░█
█████████▀░░█████░░░░█
███████▀░░░░░████▀░░░▀
██████░░░░░░░░▀▄▄█████
█████░▄░░░░░▄██████▀▀█
████░████▄░███████░░░░
███░█████░█████████░░█
███░░░▀█░██████████░░█
███░░░░░░████▀▀██▀░░░░
███░░░░░░███░░░░░░░░░░

██░▄▄▄▄░████▄▄██▄░░░░
████████████▀▀▀▀▀▀▀██
█████████████░█▀▀▀█░███
██████████▀▀░█▀░░░▀█░▀▀
███████▀░▄▄█░█░░░░░█░█▄
████▀░▄▄████░▀█░░░█▀░██
███░▄████▀▀░▄░▀█░█▀░▄░▀
█▀░███▀▀▀░░███░▀█▀░███░
▀░███▀░░░░░████▄░▄████░
░███▀░░░░░░░█████████░░
░███░░░░░░░░░███████░░░
███▀░██░░░░░░▀░▄▄▄░▀░░░
███░██████▄▄░▄█████▄░▄▄

██░████████░███████░█
▄████████████████████▄
████████▀▀░░░▀▀███████
███▀▀░░░░░▄▄▄░░░░▀▀▀██
██░▀▀▄▄░░░▀▀▀░░░▄▄▀▀██
██░▄▄░░▀▀▄▄░▄▄▀▀░░░░██
██░▀▀░░░░░░█░░░░░██░██
██░░░▄▄░░░░█░██░░░░░██
██░░░▀▀░░░░█░░░░░░░░██
██░░░░░▄▄░░█░░░░░██░██
██▄░░░░▀▀░░█░██░░░░░██
█████▄▄░░░░█░░░░▄▄████
█████████▄▄█▄▄████████

▀████████████████████▀




Rainbot
Daily Quests
Faucet
notsoshifty
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
December 24, 2013, 06:49:57 PM
 #7031

What values would you advise for the above cases? I am not a java expert, so any suggestions are welcome.

I'm also not sure - but (assuming the PermGen usage stays the same) then I think at least 120MB less than the total available RAM, i.e. around 392MB for a 512MB server. If you could do some tests with those settings and see how much memory/swap is used on the server.

Actually I don't really understand why this application needs so much RAM, even when run on a hallmarked supernode that gets a lot of traffic. I've been running with a 2GB heap (3.7GB server) for about 3 hours with what seems like a lot of traffic, and so far no full GC. On 4.0.0 I did have two crashes; they weren't due to Java out of memory exceptions, but rather the OS not being able to allocate any memory to Java. The server has >1GB free, so that's strange...

You can add this to the JVM parameters to get some info on the GC activity:

 -verbose:gc -Xloggc:gc.log -XX:+PrintGCDateStamps -XX:+PrintGCDetails

And then check gc.log.
opticalcarrier
Full Member
***
Offline Offline

Activity: 238
Merit: 100



View Profile
December 24, 2013, 06:50:15 PM
 #7032

Working on node infrastructure with a full redesign of nxtbase to support 100+. I won't open source my new management stuff for a bit, but here's a handy one for you VPSers running ubuntu.

Code:
$ sudo apt-get install --yes supervisor
$ sudo service supervisor restart

Then copy file like this to /etc/supervisor/conf.d/nrs.conf:
Code:
[program:nrs]
command=java -Xms$MIN -Xmx$MAX -jar start.jar
autostart=true
autorestart=true
stderr_logfile=/home/$USER/nxt/logs/stderr.log
stdout_logfile=/home/$USER/nxt/logs/stdout.log
user=$USER
directory=/home/$USER/nxt


will it work on debian 7 x64?
Replace $MIN and $MAX with your memory limits. Replace $USER with your user. The run:
Code:
$ sudo supervisorctl reread
$ sudo supervisorctl update
$ sudo supervisorctl status

Now, what do you get for your efforts?

Restart on crash
Restart on reboot
handy commands for start/stop/restart/status (sudo supervisorctl CMD nrs).

Cool huh?
Damelon
Legendary
*
Offline Offline

Activity: 1092
Merit: 1010



View Profile
December 24, 2013, 06:51:38 PM
 #7033

Is it true that the only way for someone to get their first NXT coins would be to purhcase them or be given them? Since there is no proof of work system? I understand that you can forge more once you own some, but how do you get your initial NXT ?

You can get one NXT at the faucet link on the first page of this thread.
Also, there are some giveaways around on the NXT forum: https://nextcoin.org/index.php/board,29.0.html
But those are fairly small quantities. So basically you have to pay for NXT. different than other coins which you can mine from scratch

True, if you want 1000+ quantities, you have to buy (invest money) or help out (invest time/effort)

Mind you, there are/were some 500 NXT giveaways. That´s a relatively good sum.

If you think this is worthwhile to invest in, do so. If not, don´t. It´s as simple as that, really.

Member of the Nxt Foundation | Donations: NXT-D6K7-MLY6-98FM-FLL5T
Join Nxt Slack! https://nxtchat.herokuapp.com/
Founder of Blockchain Workspace | Personal Site & Blog
bizz
Hero Member
*****
Offline Offline

Activity: 492
Merit: 500


View Profile
December 24, 2013, 06:52:42 PM
 #7034

Is it true that the only way for someone to get their first NXT coins would be to purhcase them or be given them? Since there is no proof of work system? I understand that you can forge more once you own some, but how do you get your initial NXT ?

You can get one NXT at the faucet link on the first page of this thread.
Also, there are some giveaways around on the NXT forum: https://nextcoin.org/index.php/board,29.0.html
But those are fairly small quantities. So basically you have to pay for NXT. different than other coins which you can mine from scratch

Nope. You have to pay for GPUs or ASICs first.
ferment
Full Member
***
Offline Offline

Activity: 168
Merit: 100


IDEX - LIVE Real-time DEX


View Profile
December 24, 2013, 06:53:09 PM
 #7035


Yes, I can do more. It will take a few days (particularly with Christmas coming), but my goal is a 100+ node network in 10 geographic locations by Jan 3. We're almost halfway there!

Send donations to 11243542237777034551 and I'll run 1 node per 3000 nxt until the end of March.

Thank you!

Cool thanks. Just sent you 9K and will send some to laowai80 as well. Thanks for doing that!

Awesome! Thanks! I'm working on automation today, but by the end of the week (After christmas), there will be a ton of nodes!


mr_random
Legendary
*
Offline Offline

Activity: 1274
Merit: 1001


View Profile
December 24, 2013, 06:53:31 PM
 #7036

Working on node infrastructure with a full redesign of nxtbase to support 100+. I won't open source my new management stuff for a bit, but here's a handy one for you VPSers running ubuntu.

Code:
$ sudo apt-get install --yes supervisor
$ sudo service supervisor restart

Then copy file like this to /etc/supervisor/conf.d/nrs.conf:
Code:
[program:nrs]
command=java -Xms$MIN -Xmx$MAX -jar start.jar
autostart=true
autorestart=true
stderr_logfile=/home/$USER/nxt/logs/stderr.log
stdout_logfile=/home/$USER/nxt/logs/stdout.log
user=$USER
directory=/home/$USER/nxt

Replace $MIN and $MAX with your memory limits. Replace $USER with your user. The run:
Code:
$ sudo supervisorctl reread
$ sudo supervisorctl update
$ sudo supervisorctl status

Now, what do you get for your efforts?

Restart on crash
Restart on reboot
handy commands for start/stop/restart/status (sudo supervisorctl CMD nrs).

Cool huh?

Nice tips. Thanks.
laowai80
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
December 24, 2013, 06:55:10 PM
 #7037

What values would you advise for the above cases? I am not a java expert, so any suggestions are welcome.

I'm also not sure - but (assuming the PermGen usage stays the same) then I think at least 120MB less than the total available RAM, i.e. around 392MB for a 512MB server. If you could do some tests with those settings and see how much memory/swap is used on the server.

Actually I don't really understand why this application needs so much RAM, even when run on a hallmarked supernode that gets a lot of traffic. I've been running with a 2GB heap (3.7GB server) for about 3 hours with what seems like a lot of traffic, and so far no full GC. On 4.0.0 I did have two crashes; they weren't due to Java out of memory exceptions, but rather the OS not being able to allocate any memory to Java. The server has >1GB free, so that's strange...

You can add this to the JVM parameters to get some info on the GC activity:

 -verbose:gc -Xloggc:gc.log -XX:+PrintGCDateStamps -XX:+PrintGCDetails

And then check gc.log.

Well, hopefully in the future it'll need less RAM, at least for the small nodes with low hallmark values.

I didn't really test it on 512 Mb, I mostly run it on 1-4 GB nodes.

I just saw someone posted those parameters for the 512 MB node and said he could run it ok, so I copy-pasted. I'll try to test it on a 512 Mb node and see how it works. In the setup guide I don't really recommend to use the 512 Mb node. But I really think it has to be able to run on 512 Mb in the future, because that way more nodes are possible.
ferment
Full Member
***
Offline Offline

Activity: 168
Merit: 100


IDEX - LIVE Real-time DEX


View Profile
December 24, 2013, 06:55:38 PM
 #7038

Working on node infrastructure with a full redesign of nxtbase to support 100+. I won't open source my new management stuff for a bit, but here's a handy one for you VPSers running ubuntu.

Code:
$ sudo apt-get install --yes supervisor
$ sudo service supervisor restart
will it work on debian 7 x64?

It should. Let us know!

pmabdsf
Member
**
Offline Offline

Activity: 114
Merit: 10


View Profile
December 24, 2013, 07:01:28 PM
 #7039

In case it helps the network, my node on DigitalOcean




I'm happy to open several more of any kind (with my own cash) if it helps.

If feeling the Christmas spirit, donations or requests:
15862282579517523866

NXT 15862282579517523866
ZeroTheGreat
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500


View Profile
December 24, 2013, 07:01:49 PM
 #7040

Usury capitalism is failing right now. Who doesn't know history is doomed to repeat it.
Debt market is failing (with all economics connected), not a capitalism for itself. Cos system (centralized) took unhandable risks and start collapsing when US turn from creditor to debtor with non-stop growing debt. Not a first collapse in this kind of market, but biggest. Ang longest, perhaps.

My thoughts.
Pages: « 1 ... 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 [352] 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 ... 2557 »
  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!