Bitcoin Forum
April 25, 2024, 04:09:55 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 [43] 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 ... 2557 »
  Print  
Author Topic: NXT :: descendant of Bitcoin - Updated Information  (Read 2761527 times)
Pouncer
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250



View Profile
November 29, 2013, 08:48:37 PM
 #841

Cfb, what do you mean by bad connections?

Maybe it's an incorrect word. Let me explain.

Imagine that u connected to a peer with almost no free memory. If u send him a transaction he may see it and even attempt to send back (and to other peers), but due to "not enough memory" error he won't be able to do this. Java virtual machine reserves not so much memory to Nxt by default and most of nodes face the memory error after a few hours of working. If u connected mostly to such peers then u get what I called "bad connections".

BTW, it's better to launch Nxt by adding -Xms and -Xmx options:

Code:
java -Xms512m -Xmx1024m -cp Nxt.zip Nxt

So if I am connected to 10 peers and my send tx was first received by peer # 5 and that peer has a low memory problem, then that tx will fail because it does not get propagated to other nodes. I'll have to wait until tx expires and try again, and hope the next peer (green status) does not have this problem. In the long run, this would certainly be a problem in usability. In my case, if I did not have a VPS, I would not be able to send any transaction since launch.

Does the blacklist feature take into account nodes that have this memory problem, ie nodes that cannot process tx data? Based on my observations and understanding of your explanation, it appears that the answer is "no". Can this be fixed?

NXTtechdevfund  GPG Key ID: 0x903BC112
The trust scores you see are subjective; they will change depending on who you have in your trust list.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Sharky444
Hero Member
*****
Offline Offline

Activity: 724
Merit: 500


View Profile
November 29, 2013, 09:13:01 PM
 #842

Is there any Build newer than .15?

Radix - just imagine
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
November 29, 2013, 09:16:15 PM
 #843

So if I am connected to 10 peers and my send tx was first received by peer # 5 and that peer has a low memory problem, then that tx will fail because it does not get propagated to other nodes. I'll have to wait until tx expires and try again, and hope the next peer (green status) does not have this problem. In the long run, this would certainly be a problem in usability. In my case, if I did not have a VPS, I would not be able to send any transaction since launch.

Does the blacklist feature take into account nodes that have this memory problem, ie nodes that cannot process tx data? Based on my observations and understanding of your explanation, it appears that the answer is "no". Can this be fixed?

Ur node sends a transaction to all peers. Before sending a transaction u can do a little test, just send 1 NXT back to urself. BCNext is working on resolving this issue. Most of nodes have 256 Mb reserved for JVM which is not enough.

Blacklist is for nodes that announced incorrect address or were unreachable. Remove nodes with sane address from the blacklist time to time.
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
November 29, 2013, 09:16:33 PM
 #844

Is there any Build newer than .15?

.17 - https://dl.dropboxusercontent.com/u/67242472/Nxt.zip

3 API requests were added and a little changes in the interface (transaction id is visible now).
bitme
Sr. Member
****
Offline Offline

Activity: 317
Merit: 250



View Profile
November 29, 2013, 09:29:54 PM
 #845

I have problem with one of my sell transaction. Buyer admits receiving coins and then after some time next were gone from his account.
Was those coins stolen?
side question

how can the 100k you send me just go poof

25.11.2013 21:52:20      2119227607764707387      99'900            100      10+
25.11.2013 21:14:54      818877006463198736      100'000                         1      10+

with me doing nothing or sending nothing to noone?

Here is transaction
 http://88.198.210.245:7876/?request=getTransaction&transaction=18063112106693460272
Can it be treated as proof that i sent coins to buyer from account 818877006463198736 and he received it to address 3791936988034107349?

NXT makes the Difference
My nxtforum account : bitme
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
November 29, 2013, 09:39:13 PM
 #846

Here is transaction
 http://88.198.210.245:7876/?request=getTransaction&transaction=18063112106693460272
Can it be treated as proof that i sent coins to buyer from account 818877006463198736 and he received it to address 3791936988034107349?

Yes. This transaction does prove that.
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
November 29, 2013, 09:40:14 PM
 #847

Was those coins stolen?

Perhaps. In Russian subforum I saw a message that someone already picked a short secret phrase with 1 NXT on the balance.
bitme
Sr. Member
****
Offline Offline

Activity: 317
Merit: 250



View Profile
November 29, 2013, 09:41:32 PM
Last edit: November 29, 2013, 10:04:35 PM by bitme
 #848

Here is transaction
 http://88.198.210.245:7876/?request=getTransaction&transaction=18063112106693460272
Can it be treated as proof that i sent coins to buyer from account 818877006463198736 and he received it to address 3791936988034107349?

Yes. This transaction does prove that.

BTW account number 2119227607764707387 still holds 99900
 http://88.198.210.245:7876/?request=getBalance&account=2119227607764707387

NXT makes the Difference
My nxtforum account : bitme
bitme
Sr. Member
****
Offline Offline

Activity: 317
Merit: 250



View Profile
November 29, 2013, 09:49:02 PM
 #849

I'll assume Bossland is honest then and used just weak secret phrase.
Let it be warning for all NEXT users, Use extremly strong phrases

NXT makes the Difference
My nxtforum account : bitme
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
November 29, 2013, 09:51:07 PM
 #850

After intensive profiling of Nxt client I seem to figured out why it crashes so often.



Nxt uses direct memory buffers for networking part. If Nxt requests such a buffer JVM takes space reserved for heap and gives it to the buffer. After the buffer is no longer needed JVM "forgets" its reference but reserved memory is not claimed immediately, it depends on OS internal mechanisms. After a while this chunk of RAM can be used again, but if the flow of requests is very intensive, then JVM simply runs out of free memory. That's why we can see a lot of "Not enough memory/heap" errors and NullPointerExceptions.

Could Java gurus confirm this, please?
Sharky444
Hero Member
*****
Offline Offline

Activity: 724
Merit: 500


View Profile
November 29, 2013, 09:55:24 PM
 #851

Is there any Build newer than .15?

.17 - https://dl.dropboxusercontent.com/u/67242472/Nxt.zip

3 API requests were added and a little changes in the interface (transaction id is visible now).

Win7 x64, JRE 7.

Deleted all *.nxt files, run the client. Launched with java -Xms512m -Xmx1024m -cp Nxt.zip Nxt

It did catch up to the latest block. But few minutes later it's at 0 blocks again and this error is given:

[2013-11-29 22:41:28.814] Saving blocks...
[2013-11-29 22:41:29.001] ...Done
Exception in thread "pool-2-thread-4" java.nio.channels.WritePendingException
        at sun.nio.ch.AsynchronousSocketChannelImpl.write(Unknown Source)
        at sun.nio.ch.AsynchronousSocketChannelImpl.write(Unknown Source)
        at java.nio.channels.AsynchronousSocketChannel.write(Unknown Source)
        at Nxt$4.completed(Unknown Source)
        at Nxt$4.completed(Unknown Source)
        at sun.nio.ch.Invoker.invokeUnchecked(Unknown Source)
        at sun.nio.ch.Invoker$2.run(Unknown Source)
        at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

Radix - just imagine
Sharky444
Hero Member
*****
Offline Offline

Activity: 724
Merit: 500


View Profile
November 29, 2013, 09:57:40 PM
Last edit: November 29, 2013, 10:10:10 PM by Sharky444
 #852

, it depends on OS internal mechanisms. After a while this chunk of RAM can be used again, but if the flow of requests is very intensive, then JVM simply runs out of free memory. That's why we can see a lot of "Not enough memory/heap" errors and NullPointerExceptions.

Could Java gurus confirm this, please?

It's not related to the OS, it's just Javas crappy memory handler.

edit:

With Build 17 Chrome has 80% CPU usage on Core i3 when the client is open on localhost.

Radix - just imagine
gradis
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
November 29, 2013, 10:15:54 PM
 #853

java -Xms512m -Xmx1024m -cp Nxt.zip Nxt


Tried that then it reset back to 0

then tried the normal java -cp Nxt.zip Nxt but it cancelled saying block was broken. Had the NXT block\accounts etc zip u posted though and built from there using the normal java start up command.
 
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
November 29, 2013, 10:25:13 PM
 #854

java -Xms512m -Xmx1024m -cp Nxt.zip Nxt


Tried that then it reset back to 0

then tried the normal java -cp Nxt.zip Nxt but it cancelled saying block was broken. Had the NXT block\accounts etc zip u posted though and built from there using the normal java start up command.
 

These things r not related. It's still better to run with Xms/Xmx options.
lyynx
Sr. Member
****
Offline Offline

Activity: 380
Merit: 275



View Profile
November 29, 2013, 10:26:33 PM
 #855

Woah, seems like we have some issues going on here now. My client is showing a balance of 0.00 in the top right header, transaction count jumped around on loading localhost. Blocks section is showing -4399 blocks and 4459 orphaned blocks

Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
November 29, 2013, 10:28:08 PM
 #856

Woah, seems like we have some issues going on here now. My client is showing a balance of 0.00 in the top right header, transaction count jumped around on loading localhost. Blocks section is showing -4399 blocks and 4459 orphaned blocks

Remove all *.nxt files and start the client again.
candelone
Newbie
*
Offline Offline

Activity: 40
Merit: 0


View Profile
November 29, 2013, 10:30:23 PM
 #857

What is the difference between the windows Client and the online wallet http://88.198.210.245:7875/? Did I just need a Password to access the wallet? what is of different people use the same password (secret phrase)?
Jean-Luc
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250



View Profile WWW
November 29, 2013, 10:40:53 PM
 #858

It's not related to the OS, it's just Javas crappy memory handler.

edit:

With Build 17 Chrome has 80% CPU usage on Core i3 when the client is open on localhost.
The high CPU load after running the browser for some time is a separate problem, but it has nothing to do with java, this is a javascript issue in the client (i.e. in the browser). I also have to restart firefox on my desktop because it gets slower and slower after a while, even though I run the Nxt java process on a separate machine. So don't blame java for this at least.

lead Nxt developer, gpg key id: 0x811D6940E1E4240C
Nxt blockchain platform | Ardor blockchain platform | Ignis ICO
lyynx
Sr. Member
****
Offline Offline

Activity: 380
Merit: 275



View Profile
November 29, 2013, 10:48:42 PM
 #859

Woah, seems like we have some issues going on here now. My client is showing a balance of 0.00 in the top right header, transaction count jumped around on loading localhost. Blocks section is showing -4399 blocks and 4459 orphaned blocks

Remove all *.nxt files and start the client again.

Thank you, that fixed it.

Snard
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
November 29, 2013, 10:51:07 PM
 #860

If I wanted to get involved in Nxt, realistically how many coins would I need to purchase to start mining?
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 [43] 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 ... 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!