Post
Topic
Board Announcements (Altcoins)
Re: NXT :: descendant of Bitcoin - Updated Information
by
l8orre
on 16/02/2014, 20:59:41 UTC
Anyone got 0.7.5 successfully running on a RasPi?
Mine is crashing everytime because of memory issues.

I have RasPI running with 0.7.5. Starting with java -Xmx150m.... "Scanning Blockchain" take ~8-9 minutes. Opening acount works also, forging too.

So it should work with model A and B.

Code:
Every 1,0s: echo -n "cpu:\t$"; vcgencmd measure_temp; echo -n "arm:\t$"; vcgencmd measure_clock arm; echo -...  Sun Feb 16 20:21:39 2014

cpu:    $temp=49.8'C
arm:    $frequency(45)=250000000
core:   $frequency(1)=250000000
sdcard: $frequency(47)=250000000
core:   $volt=1.05V
ram:    $volt=1.13V

Resouces:
top - 20:21:40 up 11 min,  1 user,  load average: 0,41, 0,81, 0,60
Tasks:  73 total,   1 running,  72 sleeping,   0 stopped,   0 zombie
%Cpu(s):  3,9 us,  2,9 sy,  9,8 ni, 83,3 id,  0,0 wa,  0,0 hi,  0,0 si,  0,0 st
KiB Mem:    249244 total,   226288 used,    22956 free,     3420 buffers
KiB Swap:   102396 total,        0 used,   102396 free,    21020 cached

  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND
 2328 pi        39  19  284m 177m 5328 S  10,7 72,9   8:00.08 java
 3066 pi        20   0  4540 1316 1028 R   4,9  0,5   0:00.12 top
    1 root      20   0  2144  712  608 S   0,0  0,3   0:02.42 init

Device:            tps    MB_read/s    MB_wrtn/s    MB_read    MB_wrtn
mmcblk0           0,00         0,00         0,00          0          0
sda               0,00         0,00         0,00          0          0

Last 10 lines of nxt.log:
[2014-02-16 20:10:55.663] "allowedBotHosts" = "127.0.0.1; localhost; 0:0:0:0:0:0:0:1; 192.168.1.20; 192.168.1.113;"
[2014-02-16 20:10:55.716] "blacklistingPeriod" = "300000"
[2014-02-16 20:10:55.719] "communicationLoggingMask" = "0"
[2014-02-16 20:10:55.818] "sendToPeersLimit" = "10"
[2014-02-16 20:10:55.952] DEBUG: Database cache size set to 74240 kB
[2014-02-16 20:11:06.485] Database is at level 15
[2014-02-16 20:11:06.586] Updated database is at level 15
[2014-02-16 20:11:06.853] Scanning blockchain...
[2014-02-16 20:18:48.795] ...Done
[2014-02-16 20:18:48.952] NRS 0.7.5 started successfully.

114M    /home/pi/nxt/nxt_db


Greets,
eb

Hey eb,

got a MASSIVE stacktrace with out of memory an hour ago - raspi

#  Out of Memory Error (os_linux.cpp:2718), pid=2025, tid=2157327472
#
# JRE version: Java(TM) SE Runtime Environment (7.0_40-b43) (build 1.7.0_40-b43)
# Java VM: Java HotSpot(TM) Client VM (24.0-b56 mixed mode linux-arm )
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#

---------------  T H R E A D  ---------------

..
.
.
.


CPU:total 1 (ARMv6), vfp

/proc/cpuinfo:
processor   : 0
model name   : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS   : 2.00
Features   : swp half thumb fastmult vfp edsp java tls
CPU implementer   : 0x41
CPU architecture: 7
CPU variant   : 0x0
CPU part   : 0xb76
CPU revision   : 7

Hardware   : BCM2708
Revision   : 000e
Serial      : 00000000cbe0fa5f


Memory: 4k page, physical 448180k(29320k free), swap 102396k(3032k free)

vm_info: Java HotSpot(TM) Client VM (24.0-b56) for linux-arm-vfp-hflt JRE (1.7.0_40-b43), built on Aug 26 2013 21:44:37 by "java_re" with gcc 4.7.2 20120910 (prerelease)

time: Sun Feb 16 20:55:06 2014
elapsed time: 74742 seconds

pi@raspberrypi ~/nxt $


HEY! does this look like I only have 448180k physical ?!?!?!?! That will be something to check up on!