notsoshifty
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2013, 06:36:01 PM |
|
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](https://bitcointalk.org/Smileys/default/wink.gif) 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.
|
|
|
|
opticalcarrier
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2013, 06:36:29 PM |
|
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
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 98
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2013, 06:39:15 PM |
|
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](https://bitcointalk.org/Smileys/default/wink.gif) 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
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2013, 06:39:23 PM |
|
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 ?
|
|
|
|
ferment
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 168
Merit: 100
IDEX - LIVE Real-time DEX
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2013, 06:40:33 PM |
|
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. $ sudo apt-get install --yes supervisor $ sudo service supervisor restart
Then copy file like this to /etc/supervisor/conf.d/nrs.conf: [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: $ 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
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2013, 06:42:12 PM |
|
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
Activity: 1792
Merit: 1038
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2013, 06:42:34 PM |
|
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
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 98
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2013, 06:43:31 PM |
|
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
Activity: 1092
Merit: 1010
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2013, 06:45:05 PM |
|
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
|
|
|
|
colinistheman
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2013, 06:46:03 PM |
|
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.htmlBut those are fairly small quantities. So basically you have to pay for NXT. different than other coins which you can mine from scratch
|
|
|
|
notsoshifty
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2013, 06:49:57 PM |
|
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
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2013, 06:50:15 PM |
|
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. $ sudo apt-get install --yes supervisor $ sudo service supervisor restart
Then copy file like this to /etc/supervisor/conf.d/nrs.conf: [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: $ 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
Activity: 1092
Merit: 1010
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2013, 06:51:38 PM |
|
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.htmlBut 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.
|
|
|
|
bizz
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2013, 06:52:42 PM |
|
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.htmlBut 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
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 168
Merit: 100
IDEX - LIVE Real-time DEX
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2013, 06:53:09 PM |
|
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
Activity: 1344
Merit: 1001
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2013, 06:53:31 PM |
|
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. $ sudo apt-get install --yes supervisor $ sudo service supervisor restart
Then copy file like this to /etc/supervisor/conf.d/nrs.conf: [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: $ 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
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 98
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2013, 06:55:10 PM |
|
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
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 168
Merit: 100
IDEX - LIVE Real-time DEX
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2013, 06:55:38 PM |
|
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. $ sudo apt-get install --yes supervisor $ sudo service supervisor restart
will it work on debian 7 x64? It should. Let us know!
|
|
|
|
pmabdsf
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 114
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2013, 07:01:28 PM |
|
In case it helps the network, my node on DigitalOcean ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FX9B72xA.jpg&t=665&c=J9NJzMKNWs_XvA) 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
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2013, 07:01:49 PM |
|
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.
|
|
|
|
|