elective-stereophonic
elective-stereophonic
NRS v1.7.5
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Stable Nxt Client: Nxt 1.12.2

Pages: 1 ... 5 6 [7] 8 9  All

Author Topic: NRS v1.7.5  (Read 47858 times)

Riker

  • Core Dev
  • Hero Member
  • *****
  • Karma: +440/-42
  • Offline Offline
  • Posts: 1796
    • View Profile
Re: NRS v1.7.5
« Reply #120 on: February 25, 2016, 09:26:13 pm »

I've just noticed that the "compact.bat" isn't working right out of the box with the windows installer.
It fails because it can't find the path to java.exe, if you haven't installed a separate java runtime. The windows installer version brings it own java in a folder "nxt/jre" so you don't need to install the java runtime.

I think you need a wrapper around the compact call like in run.bat. I see the same problem with "mint.bat".

Nothing critical though.  ;)

Thanks for reporting, I'll try to fix that for the next release.
Logged
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

Riker

  • Core Dev
  • Hero Member
  • *****
  • Karma: +440/-42
  • Offline Offline
  • Posts: 1796
    • View Profile
Re: NRS v1.7.5
« Reply #121 on: February 25, 2016, 09:34:23 pm »

The shutdown procedure in the windows installer version is error-prone.
If you shutdown by the systray option, the database is still busy while the systray icon is long gone:

Code: [Select]
2016-02-24 16:55:11 INFO: Shutdown requested by System Tray
2016-02-24 16:55:11 INFO: Shutting down...
2016-02-24 16:55:12 INFO: Stopping background jobs...
2016-02-24 16:55:12 INFO: shutting down scheduledThreadPool
2016-02-24 16:55:12 INFO: ...Done
2016-02-24 16:55:12 FINE: Mapping deleted for port 7874
2016-02-24 16:55:12 INFO: shutting down sendingService
2016-02-24 16:55:12 INFO: shutting down peersService
2016-02-24 16:55:29 INFO: Database shutdown completed
2016-02-24 16:55:29 INFO: Nxt server 1.7.5 stopped.

There is a confirmation dialog for the shutdown. I've confirmed it at 16:55:13. Please note that the database shutdown is logged at 16:55:29. That's 16 seconds later (windows was quite busy).

Could the database become corrupted if I shutdown windows while the NRS is still closing?

Correct, currently the shutdown system tray option simply calls System.exit() which invokes the server shutdown hook.
The side effect is that the system tray icon disappears immediately but the shutdown hook closes the database and this takes time.
This is not simple to fix.

If you perform an orderly shutdown of Windows the shutdown hook should run to completion and close the database correctly regardless of the system tray icon.
If you hit the power button, then yes you can corrupt the database.
Logged
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

Riker

  • Core Dev
  • Hero Member
  • *****
  • Karma: +440/-42
  • Offline Offline
  • Posts: 1796
    • View Profile
Re: NRS v1.7.5
« Reply #122 on: February 25, 2016, 09:35:25 pm »

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Release 1.7.5

https://bitbucket.org/JeanLucPicard/nxt/downloads/nxt-client-1.7.5.zip



This version (and the last 3 versions) do not work on my version Mac OSX Mavericks. The app starts up, the blockchain updates after a few hours but it then hangs without opening the wallet. 6 or 7 hours later it crashes?

Tried everything, Terminal commands, Memory leak checks, re-downloading the blockchain, updated the Java plugin.

Can you find your nxt.log and post it somewhere I can see ?
Logged
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

nestingdoll

  • Newbie
  • *
  • Karma: +0/-0
  • Offline Offline
  • Posts: 1
    • View Profile
    • บล็อกเกมสนุกมันส์ๆ
Re: NRS v1.7.5
« Reply #123 on: February 27, 2016, 07:11:41 am »

thank you
Logged
ติดตามบล็อกเกมสนุกมันส์ๆได้ที่นี่
olivergameonline
ambl-fanfic.tumblr

Cybnate

  • Newbie
  • *
  • Karma: +1/-0
  • Offline Offline
  • Posts: 9
  • Observer
    • View Profile
Re: NRS v1.7.5
« Reply #124 on: February 28, 2016, 04:55:57 am »

Upgrade issue here. Tried to unzip the client into my existing folders after having stopped the previous NXT client 1.5.x.
After a brief conversion process it stopped and threw an exception. Tried to start it 2 more times to no avail. Deleted the database in nxt_db folder hoping that would solve the issue but it doesn't.
Probably I'm overlooking another file which also needs to be deleted or some specific config.

Please help.

Below the relevant part of the log:

Quote
Initializing Nxt server version 1.7.5

2016-02-28 17:32:39 FINE: os.arch = amd64
2016-02-28 17:32:39 FINE: sun.arch.data.model = 64
2016-02-28 17:32:39 FINE: os.name = Windows 7
2016-02-28 17:32:39 FINE: file.encoding = Cp1252
2016-02-28 17:32:39 FINE: nxt.runtime.mode = desktop
2016-02-28 17:32:39 FINE: availableProcessors = 2
2016-02-28 17:32:39 FINE: maxMemory = 954728448
2016-02-28 17:32:39 FINE: processId = 1700
2016-02-28 17:32:39 INFO: nxt.isTestnet = "false"
2016-02-28 17:32:39 INFO: nxt.isOffline = "false"
2016-02-28 17:32:39 INFO: nxt.maxRollback = "1441"
2016-02-28 17:32:39 INFO: nxt.forgingDelay = "20"
2016-02-28 17:32:39 INFO: nxt.forgingSpeedup = "3"
2016-02-28 17:32:39 INFO: nxt.maxPrunableLifetime = "7776000"
2016-02-28 17:32:39 INFO: nxt.includeExpiredPrunable = "true"
2016-02-28 17:32:39 INFO: nxt.correctInvalidFees = "false"
2016-02-28 17:32:40 INFO: nxt.statementLogThreshold = "10000"
2016-02-28 17:32:42 INFO: nxt.transactionLogThreshold = "15000"
2016-02-28 17:32:46 INFO: nxt.transactionLogInterval = "15"
2016-02-28 17:32:46 INFO: nxt.useStrongSecureRandom = "false"
2016-02-28 17:32:46 INFO: nxt.dbCacheKB = "0"
2016-02-28 17:32:46 INFO: nxt.dbUrl = "jdbc:h2:nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE
;MVCC=TRUE"
2016-02-28 17:32:46 INFO: nxt.dbType = "h2"
2016-02-28 17:32:46 INFO: nxt.dbDir = "./nxt_db/nxt"
2016-02-28 17:32:46 INFO: nxt.dbParams = "DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;MV_ST
ORE=FALSE"
2016-02-28 17:32:46 INFO: nxt.dbUsername = "sa"
2016-02-28 17:32:46 INFO: nxt.dbPassword = "{not logged}"
2016-02-28 17:32:46 INFO: nxt.maxDbConnections = "30"
2016-02-28 17:32:46 INFO: nxt.dbLoginTimeout = "70"
2016-02-28 17:32:46 INFO: nxt.dbDefaultLockTimeout = "60"
2016-02-28 17:32:46 FINE: Database jdbc url set to jdbc:h2:nxt_db/nxt;DB_CLOSE_O
N_EXIT=FALSE;MVCC=TRUE;MV_STORE=FALSE;CACHE_SIZE=262144 username sa
2016-02-28 17:32:51 FINE: Database connection pool current size: 1
2016-02-28 17:32:51 INFO: Database update may take a while if needed, current db
 version 414...
2016-02-28 17:32:51 FINE: Database connection pool current size: 2
2016-02-28 17:32:51 INFO: Lucene search index deleted
Fatal error: java.lang.NoSuchMethodError: org.apache.lucene.store.FSDirectory.op
en(Ljava/nio/file/Path;)Lorg/apache/lucene/store/FSDirectory;
java.lang.NoSuchMethodError: org.apache.lucene.store.FSDirectory.open(Ljava/nio/
file/Path;)Lorg/apache/lucene/store/FSDirectory;
        at nxt.db.FullTextTrigger.getIndexAccess(FullTextTrigger.java:857)
        at nxt.db.FullTextTrigger.removeIndexFiles(FullTextTrigger.java:935)
        at nxt.db.FullTextTrigger.init(FullTextTrigger.java:203)
        at nxt.NxtDbVersion.update(NxtDbVersion.java:983)
        at nxt.db.DbVersion.init(DbVersion.java:55)
        at nxt.db.BasicDb.init(BasicDb.java:140)
        at nxt.Db.init(Db.java:39)
        at nxt.Nxt$Init.<clinit>(Nxt.java:334)
        at nxt.Nxt.init(Nxt.java:306)
        at nxt.Nxt.main(Nxt.java:293)
Logged
NXT-UCRU-ZM6V-H5NX-7AF8W

martismartis

  • Hero Member
  • *****
  • Karma: +73/-10
  • Offline Offline
  • Posts: 1238
    • View Profile
Re: NRS v1.7.5
« Reply #125 on: February 28, 2016, 06:07:59 am »

Upgrade issue here. Tried to unzip the client into my existing folders after having stopped the previous NXT client 1.5.x.
After a brief conversion process it stopped and threw an exception. Tried to start it 2 more times to no avail. Deleted the database in nxt_db folder hoping that would solve the issue but it doesn't.
Probably I'm overlooking another file which also needs to be deleted or some specific config.

Please help.

Below the relevant part of the log:

Quote
Initializing Nxt server version 1.7.5

2016-02-28 17:32:39 FINE: os.arch = amd64
2016-02-28 17:32:39 FINE: sun.arch.data.model = 64
2016-02-28 17:32:39 FINE: os.name = Windows 7
2016-02-28 17:32:39 FINE: file.encoding = Cp1252
2016-02-28 17:32:39 FINE: nxt.runtime.mode = desktop
2016-02-28 17:32:39 FINE: availableProcessors = 2
2016-02-28 17:32:39 FINE: maxMemory = 954728448
2016-02-28 17:32:39 FINE: processId = 1700
2016-02-28 17:32:39 INFO: nxt.isTestnet = "false"
2016-02-28 17:32:39 INFO: nxt.isOffline = "false"
2016-02-28 17:32:39 INFO: nxt.maxRollback = "1441"
2016-02-28 17:32:39 INFO: nxt.forgingDelay = "20"
2016-02-28 17:32:39 INFO: nxt.forgingSpeedup = "3"
2016-02-28 17:32:39 INFO: nxt.maxPrunableLifetime = "7776000"
2016-02-28 17:32:39 INFO: nxt.includeExpiredPrunable = "true"
2016-02-28 17:32:39 INFO: nxt.correctInvalidFees = "false"
2016-02-28 17:32:40 INFO: nxt.statementLogThreshold = "10000"
2016-02-28 17:32:42 INFO: nxt.transactionLogThreshold = "15000"
2016-02-28 17:32:46 INFO: nxt.transactionLogInterval = "15"
2016-02-28 17:32:46 INFO: nxt.useStrongSecureRandom = "false"
2016-02-28 17:32:46 INFO: nxt.dbCacheKB = "0"
2016-02-28 17:32:46 INFO: nxt.dbUrl = "jdbc:h2:nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE
;MVCC=TRUE"
2016-02-28 17:32:46 INFO: nxt.dbType = "h2"
2016-02-28 17:32:46 INFO: nxt.dbDir = "./nxt_db/nxt"
2016-02-28 17:32:46 INFO: nxt.dbParams = "DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;MV_ST
ORE=FALSE"
2016-02-28 17:32:46 INFO: nxt.dbUsername = "sa"
2016-02-28 17:32:46 INFO: nxt.dbPassword = "{not logged}"
2016-02-28 17:32:46 INFO: nxt.maxDbConnections = "30"
2016-02-28 17:32:46 INFO: nxt.dbLoginTimeout = "70"
2016-02-28 17:32:46 INFO: nxt.dbDefaultLockTimeout = "60"
2016-02-28 17:32:46 FINE: Database jdbc url set to jdbc:h2:nxt_db/nxt;DB_CLOSE_O
N_EXIT=FALSE;MVCC=TRUE;MV_STORE=FALSE;CACHE_SIZE=262144 username sa
2016-02-28 17:32:51 FINE: Database connection pool current size: 1
2016-02-28 17:32:51 INFO: Database update may take a while if needed, current db
 version 414...
2016-02-28 17:32:51 FINE: Database connection pool current size: 2
2016-02-28 17:32:51 INFO: Lucene search index deleted
Fatal error: java.lang.NoSuchMethodError: org.apache.lucene.store.FSDirectory.op
en(Ljava/nio/file/Path;)Lorg/apache/lucene/store/FSDirectory;
java.lang.NoSuchMethodError: org.apache.lucene.store.FSDirectory.open(Ljava/nio/
file/Path;)Lorg/apache/lucene/store/FSDirectory;
        at nxt.db.FullTextTrigger.getIndexAccess(FullTextTrigger.java:857)
        at nxt.db.FullTextTrigger.removeIndexFiles(FullTextTrigger.java:935)
        at nxt.db.FullTextTrigger.init(FullTextTrigger.java:203)
        at nxt.NxtDbVersion.update(NxtDbVersion.java:983)
        at nxt.db.DbVersion.init(DbVersion.java:55)
        at nxt.db.BasicDb.init(BasicDb.java:140)
        at nxt.Db.init(Db.java:39)
        at nxt.Nxt$Init.<clinit>(Nxt.java:334)
        at nxt.Nxt.init(Nxt.java:306)
        at nxt.Nxt.main(Nxt.java:293)

You had to delete "lib" folder also.
Logged

Cybnate

  • Newbie
  • *
  • Karma: +1/-0
  • Offline Offline
  • Posts: 9
  • Observer
    • View Profile
Re: NRS v1.7.5
« Reply #126 on: February 28, 2016, 07:19:21 am »

You said 'you had' with other words too late I suppose? I tried clearing the lib folder and copying the new libs into it. I didn't get the specific exception any longer, but the client still doesn't start properly and exits after a second, can't capture the output and there is nothing in a log file. Is getting too hard.

Will do a clean install from here. Thanks for your suggestion anyway, will keep it in mind the next time.
Logged
NXT-UCRU-ZM6V-H5NX-7AF8W

Jushe

  • Jr. Member
  • **
  • Karma: +4/-1
  • Offline Offline
  • Posts: 46
    • View Profile
Re: NRS v1.7.5
« Reply #127 on: February 28, 2016, 02:03:41 pm »

Thanks for the explanation Riker. You do great work, but I am just disappointed that I haven't got the Mac Wallet as I used it for 2 years (started by Wesley). That was just a one-click-app, nothing more. That was my main reason for Nxt. Easy-to-use. Hope someone will create this again.

I feel like a were send back 2 years in time. Is it safe the forge in the incognito-window of Chrome?

I'm working on a desktop wallet which is launched directly from the run command. This would eliminate the manual step of opening a browser to load the wallet and will probably open up the door for additional usability improvements.
Regarding the current Mac installation procedure, probably won't change soon. According to bitbucket only 4% of the package downloads are for nxt-installer-1.7.5.dmg so we need to prioritize.

You are a hero, I've been waiting for a desktop wallet to return! One click app like Wesleys is something I really liked about nxt.
Logged

BTCDDev

  • Full Member
  • ***
  • Karma: +20/-4
  • Offline Offline
  • Posts: 149
    • View Profile
Re: NRS v1.7.5
« Reply #128 on: March 04, 2016, 08:38:53 pm »

Why can't I generate a token???

I am on nxt 1.7.5, logged into my account. My blockchain has not finished downloading.

String:
Code: [Select]
27 BTC to 1GkKbFVub2Hpr9JkcwmuoWtk9jKXjwyUHM => ALJTDQUWDQWRHRXPZD9HWRKKWVDYJZRQFBNHEUPLVFYXURSSDRGCDIMEJNZUZ9GWWHOOQXXQGJT9TL9NF
Generates:
Code: [Select]
hi2cct1qmbfdf801d8r7hafdodmjd7miha313qnt2dridj06903tc4si3g68bb04efc5apu4p2npdmilab7cgvqutd1uc9nmn4kvekmhmvng41vnv1iema80l7vuf85ikt50t33j97f4akid8a3v5uu1tgu70jlo

When I validate the token on http://62.194.6.113:7876/ it says:

The token is NOT VALID. It appears to belong to account NXT-N95T-92SH-8QSF-9DPZW. It was generated on 3/4/2016 15:37:41.

I am definitely logged in to my correct account!

Is there another place I can verify a token?

EDIT: i created the token through supernet lite wallet, it worked.
« Last Edit: March 04, 2016, 08:56:24 pm by BTCDDev »
Logged

coretechs

  • Sr. Member
  • ****
  • Karma: +161/-1
  • Offline Offline
  • Posts: 436
    • View Profile
Re: NRS v1.7.5
« Reply #129 on: March 04, 2016, 10:03:01 pm »

Hmm, it doesn't come up as valid in my token tool either.  Perhaps there was a problem parsing the string (maybe the "=>") when it was generated?

https://nxtportal.org/tools/nxt_auth_token.html

(you can save the page and run it offline if you like, everything runs in javascript in the browser)
Logged
https://ardorportal.org - Ardor blockchain explorer | https://nxtportal.org - Nxt blockchain explorer | http://bitcoindoc.com - The Rise and Rise of Bitcoin
ARDOR-T43P-R2K9-8W79-9W2AL | NXT-WY9K-ZMTT-QQTT-3NBL7

bgcaffe

  • Full Member
  • ***
  • Karma: +42/-3
  • Offline Offline
  • Posts: 231
    • View Profile
Pay Divident feature is not working please assist.
« Reply #130 on: March 09, 2016, 07:21:02 pm »

Hi,

Can someone please assist us the last two months we have been paying dividends using the pay dividend feature within the NXT 1.7.5 client. However people have not been receiving the dividend and the NXT is being subtracted from our account. What is going on?

Here is the March transaction: 551230313289286389
and Feb is: 11102242001579620635

Before this we were using the plugin from the Supernet client and all went well. Its really difficult to see what is going on with the new client as its just a single transaction and no detail of who received the payment.
« Last Edit: March 09, 2016, 08:59:07 pm by bgcaffe »
Logged
BGCAFFE Asset Id: 2978798152942226372
NXT Account: NXT-X2ER-EMGR-E3LG-7AR8H
http://buongiorno-caffe.co.za/

kseistrup

  • Sr. Member
  • ****
  • Karma: +48/-0
  • Offline Offline
  • Posts: 465
  • Fortune favours the lucky
    • View Profile
    • @kseistrup
Re: Pay Divident feature is not working please assist.
« Reply #131 on: March 09, 2016, 07:37:53 pm »

Here is the March transaction: 551230313289286389
and Feb is: 11102242001579620635
I can see the March transaction in the “Account Ledger” (but not on the dahboard under “Recent Transactions”). I can't seem to find the February transaction anywhere, but it seems that the account ledger only goes ~1 month back and there is no way to choose ealier transactions than the ones you can see.

lopalcar

  • Hero Member
  • *****
  • Karma: +99/-15
  • Offline Offline
  • Posts: 561
    • View Profile
Re: NRS v1.7.5
« Reply #132 on: March 09, 2016, 11:33:18 pm »

@kseistrup: In order to see older ledger entries, I guess you need to modify nxt.properties file and change nxt.ledgerTrimKeep=30000 to 0 in order to keep all blocks.

@bgcaffe: People can see the dividends in the account ledger and their balance is increassed also. If you like to track your account balance and maybe suggest to your shareholders, there's an useful app in the play store called "nxt wallet watcher" which notify you from any balance change in your account.

And... in case this isn't good enough for you and want to send dividends in individual transactions, you have this nice plugin: https://nxtforum.org/nxt-plugins/(plugin)-dividend-payout-plugin-(via-normal-transactions)-for-nrs Forgers will love you if you pay them this way :P
Logged

Jose

  • Global Moderator
  • Hero Member
  • *****
  • Karma: +78/-1
  • Offline Offline
  • Posts: 623
    • View Profile
Re: NRS v1.7.5
« Reply #133 on: March 09, 2016, 11:34:48 pm »

I'm not sure if my issue concerns NRS 1.7.5 or it's just a problem related to my old Raspbery Pi ::), but... Has anybody experienced that NRS stacks everytime it reaches a certain block number (686000, 687000, 688000...)?

It never happened to me with previous NRS versions and the same Raspi, and I've kept it running smoothly for some months.



The CPU goes from 30% to 100% usage at these blocks (usually it's at about 30% when running NRS) and then the blockchain isn't updated anymore... ???
Logged

kseistrup

  • Sr. Member
  • ****
  • Karma: +48/-0
  • Offline Offline
  • Posts: 465
  • Fortune favours the lucky
    • View Profile
    • @kseistrup
Re: NRS v1.7.5
« Reply #134 on: March 10, 2016, 08:16:01 am »

@kseistrup: In order to see older ledger entries, I guess you need to modify nxt.properties file and change nxt.ledgerTrimKeep=30000 to 0 in order to keep all blocks.
Thanks, mate!

Riker

  • Core Dev
  • Hero Member
  • *****
  • Karma: +440/-42
  • Offline Offline
  • Posts: 1796
    • View Profile
Re: NRS v1.7.5
« Reply #135 on: March 10, 2016, 08:34:44 am »

I'm not sure if my issue concerns NRS 1.7.5 or it's just a problem related to my old Raspbery Pi ::), but... Has anybody experienced that NRS stacks everytime it reaches a certain block number (686000, 687000, 688000...)?

It never happened to me with previous NRS versions and the same Raspi, and I've kept it running smoothly for some months.



The CPU goes from 30% to 100% usage at these blocks (usually it's at about 30% when running NRS) and then the blockchain isn't updated anymore... ???

It's the trimming of the derived tables which takes place every 1000 blocks by default (this is controlled by the nxt.trimFrequency setting).
This is a heavy database operation which may "chock" your PI if it was already close to being maxed out.

To start with, not sure why you are seeing constant 30% CPU usage. On my 1GB VPS, I rarely see CPU usage of more than 3% from NXT.
Perhaps the PI is already on the verge of running out of memory thus making heavy usage of the garbage collector ?

I assume your PI has 512 Ram. Do you set any specific memory setting for the Java process ?
Next time you start it add the garbage collection flags to the Java command line:
-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:gc.log

Then when the problem occurs review the gc.log and nxt.log or post it here.
Logged
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

Jose

  • Global Moderator
  • Hero Member
  • *****
  • Karma: +78/-1
  • Offline Offline
  • Posts: 623
    • View Profile
Re: NRS v1.7.5
« Reply #136 on: March 10, 2016, 05:05:52 pm »

Hi Riker. Thanks for answering :)

The Raspi model isn't the last one, nor the previous one. It has a 700mhz simple ARM processor and 512MB ram (shared with the GPU). 7GB of disk space are left.
I'm using Oracle java 8.
I limit the maximum amount of ram that the java process can use to 256MB using the following command in the run.sh file:
Quote
java -Xmx256m -cp classes:lib/*:conf nxt.Nxt     -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:gc.log
I've added the -verbose... string following your advice, but I haven't been able to locate the gc.log file ::)

Again the system was running ok until it reached the block 689000, and then no more blocks seem to be updated. NRS isn't halted, nor the Raspi isn't hanged, because I can access throught SSH and stop NRS or run other commands. This is what the nxt.log says (the block 689000 happened today at 16:37:34 local time):
Quote
2016-03-10 16:13:24 FINE: SQL statement required 10,036 seconds at height 688975:
UPDATE sell_offer SET latest = FALSE  WHERE id = ?  AND latest = TRUE LIMIT 1
  nxt.db.TransactionalDb$DbPreparedStatement.executeUpdate(TransactionalDb.java:330)
  nxt.db.EntityDbTable.insert(EntityDbTable.java:422)
  nxt.CurrencySellOffer.addOffer(CurrencySellOffer.java:102)
  nxt.CurrencyExchangeOffer.publishOffer(CurrencyExchangeOffer.java:81)
  nxt.MonetarySystem$5.applyAttachment(MonetarySystem.java:536)
  nxt.TransactionType.apply(TransactionType.java:240)
  nxt.Attachment$AbstractAttachment.apply(Attachment.java:64)
  nxt.TransactionImpl.apply(TransactionImpl.java:1056)
  nxt.BlockchainProcessorImpl.accept(BlockchainProcessorImpl.java:1535)
  nxt.BlockchainProcessorImpl.pushBlock(BlockchainProcessorImpl.java:1349)
  nxt.BlockchainProcessorImpl.access$1100(BlockchainProcessorImpl.java:64)
  nxt.BlockchainProcessorImpl$1.downloadBlockchain(BlockchainProcessorImpl.java:552)
  nxt.BlockchainProcessorImpl$1.downloadPeer(BlockchainProcessorImpl.java:267)
  nxt.BlockchainProcessorImpl$1.run(BlockchainProcessorImpl.java:180)
2016-03-10 16:13:37 FINE: Database transaction required 107,105 seconds at height 688975
  nxt.BlockchainProcessorImpl.pushBlock(BlockchainProcessorImpl.java:1357)
  nxt.BlockchainProcessorImpl.access$1100(BlockchainProcessorImpl.java:64)
  nxt.BlockchainProcessorImpl$1.downloadBlockchain(BlockchainProcessorImpl.java:552)
  nxt.BlockchainProcessorImpl$1.downloadPeer(BlockchainProcessorImpl.java:267)
  nxt.BlockchainProcessorImpl$1.run(BlockchainProcessorImpl.java:180)
2016-03-10 16:24:11 FINE: Average database transaction time is 0,951 seconds
2016-03-10 16:34:41 FINE: SQL statement required 10,707 seconds at height 688998:
SELECT * FROM trade WHERE asset_id = ? ORDER BY height DESC, db_id DESC LIMIT 1
  nxt.db.TransactionalDb$DbPreparedStatement.executeQuery(TransactionalDb.java:319)
  nxt.Trade.getLastTrades(Trade.java:95)
  nxt.http.GetLastTrades.processRequest(GetLastTrades.java:39)
  nxt.http.APIServlet$APIRequestHandler.processRequest(APIServlet.java:92)
  nxt.http.APIServlet.process(APIServlet.java:477)
  nxt.http.APIServlet.doGet(APIServlet.java:406)
2016-03-10 16:38:39 FINE: SQL statement required 41,753 seconds at height 689000:
SELECT id, MAX(height) AS max_height FROM account WHERE height < ? GROUP BY id HAVING COUNT(DISTINCT height) > 1
  nxt.db.TransactionalDb$DbPreparedStatement.executeQuery(TransactionalDb.java:319)
  nxt.db.VersionedEntityDbTable.trim(VersionedEntityDbTable.java:138)
  nxt.db.EntityDbTable.trim(EntityDbTable.java:443)
  nxt.BlockchainProcessorImpl.doTrimDerivedTables(BlockchainProcessorImpl.java:1064)
  nxt.BlockchainProcessorImpl.trimDerivedTables(BlockchainProcessorImpl.java:1047)
  nxt.BlockchainProcessorImpl.lambda$null$27(BlockchainProcessorImpl.java:979)
  nxt.BlockchainProcessorImpl$$Lambda$112/23719618.run(Unknown Source)
2016-03-10 16:39:15 FINE: SQL statement required 36,417 seconds at height 689000:
DELETE FROM account WHERE id = ?  AND height < ? AND height >= 0
  nxt.db.TransactionalDb$DbPreparedStatement.executeUpdate(TransactionalDb.java:330)
  nxt.db.VersionedEntityDbTable.trim(VersionedEntityDbTable.java:145)
  nxt.db.EntityDbTable.trim(EntityDbTable.java:443)
  nxt.BlockchainProcessorImpl.doTrimDerivedTables(BlockchainProcessorImpl.java:1064)
  nxt.BlockchainProcessorImpl.trimDerivedTables(BlockchainProcessorImpl.java:1047)
  nxt.BlockchainProcessorImpl.lambda$null$27(BlockchainProcessorImpl.java:979)
  nxt.BlockchainProcessorImpl$$Lambda$112/23719618.run(Unknown Source)
2016-03-10 16:39:15 FINE: SQL statement required 32,789 seconds at height 689000:
SELECT account_id, SUM (additions) AS additions FROM account_guaranteed_balance, TABLE (id BIGINT=?) T WHERE account_id = T.id AND height > ?  GROUP BY account_id ORDER BY account_id
  nxt.db.TransactionalDb$DbPreparedStatement.executeQuery(TransactionalDb.java:319)
  nxt.Account.getLessorsGuaranteedBalanceNQT(Account.java:1241)
  nxt.Account.getEffectiveBalanceNXT(Account.java:1209)
  nxt.Account.getEffectiveBalanceNXT(Account.java:1185)
  nxt.http.JSONData.accountBalance(JSONData.java:104)
  nxt.http.GetAccount.processRequest(GetAccount.java:46)
  nxt.http.APIServlet$APIRequestHandler.processRequest(APIServlet.java:92)
  nxt.http.APIServlet.process(APIServlet.java:477)
  nxt.http.APIServlet.doGet(APIServlet.java:406)
2016-03-10 16:39:49 FINE: SQL statement required 33,821 seconds at height 689000:
DELETE FROM account WHERE id = ?  AND height < ? AND height >= 0
  nxt.db.TransactionalDb$DbPreparedStatement.executeUpdate(TransactionalDb.java:330)
  nxt.db.VersionedEntityDbTable.trim(VersionedEntityDbTable.java:145)
  nxt.db.EntityDbTable.trim(EntityDbTable.java:443)
  nxt.BlockchainProcessorImpl.doTrimDerivedTables(BlockchainProcessorImpl.java:1064)
  nxt.BlockchainProcessorImpl.trimDerivedTables(BlockchainProcessorImpl.java:1047)
  nxt.BlockchainProcessorImpl.lambda$null$27(BlockchainProcessorImpl.java:979)
  nxt.BlockchainProcessorImpl$$Lambda$112/23719618.run(Unknown Source)
...

... and it keeps going on and on with the same block until I manually stop the NRS service (Ctrl+c in the command line), and restart it (sh run.sh). Then after restarting, it takes about a minute to finish downloading the blockchain and no problem again for the following 1000 blocks.

Logged

Riker

  • Core Dev
  • Hero Member
  • *****
  • Karma: +440/-42
  • Offline Offline
  • Posts: 1796
    • View Profile
Re: NRS v1.7.5
« Reply #137 on: March 10, 2016, 06:34:34 pm »

I limit the maximum amount of ram that the java process can use to 256MB using the following command in the run.sh file:
Quote
java -Xmx256m -cp classes:lib/*:conf nxt.Nxt     -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:gc.log

Here is the correct command line, the command line params has to be placed before the class name nxt.Nxt, I also recommend to increase memory to 320MB:
Code: [Select]
java -Xmx320m -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:gc.log -cp classes:lib/*:conf nxt.Nxt
Logged
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

mr001

  • Jr. Member
  • **
  • Karma: +7/-1
  • Offline Offline
  • Posts: 71
    • View Profile
Re: NRS v1.7.5
« Reply #138 on: March 10, 2016, 10:12:43 pm »

After installing 1.7.5 from zero with the .dmg file i can't visit localhost:7876 cause i get

Quote
HTTP ERROR: 404

Problem accessing /index.html. Reason:

    Not Found
Powered by Jetty:// 9.3.6.v20151106
I have the same problem on Yasomite , but yesterday it was running.
Logged

AQQA

  • Newbie
  • *
  • Karma: +2/-0
  • Offline Offline
  • Posts: 9
    • View Profile
Re: Pay Divident feature is not working please assist.
« Reply #139 on: March 11, 2016, 12:20:59 am »

Hi,

Can someone please assist us the last two months we have been paying dividends using the pay dividend feature within the NXT 1.7.5 client. However people have not been receiving the dividend and the NXT is being subtracted from our account. What is going on?

Here is the March transaction: 551230313289286389
and Feb is: 11102242001579620635

Before this we were using the plugin from the Supernet client and all went well. Its really difficult to see what is going on with the new client as its just a single transaction and no detail of who received the payment.

I can confirm, I haven't seen my bgcaffe dividend for Feb or March yet. The last dividend I've received was on 2 Jan 2016.
Logged
Pages: 1 ... 5 6 [7] 8 9  All
 

elective-stereophonic
elective-stereophonic
assembly
assembly