I am using the executable ckolivas most recently posted about, supposedly 3.7.1
I don't have an ARM development machine nor know a thing about cross-compiling on Fedora 17 or 19 for ARM machines.
I have run over 48 hours before dying sometimes, even over 72 maybe. Actually maybe it didn't die like this until they released a release that had a ckolivas version in it, hmm I wonder if that one is/was stripped? Hmm... I am not sure when I first encountered this "mystery dying" problem, seems liek it ran quite a few days originally.
I killed it to try running strip on it on the beaglebone, that is how I discovered they dont' seem to have strip on that. But now it shows in web page as 282 so maybe its not goign to lose much by using --lowmem option afterall. I do wonder how much RAM the debugging symbols are consuming though...
-MarkM-
Hi Mark, just a FYI
Another 24 hours running the same setup (0.96 with 3.7.2 cgminer) and my memory footprint hasn't changed cgminer is still fluctuating between 23% and 25% memory.
However, overall system memory has dropped to only 127MB free. So something is using up memory on the system over time, but its not cgminer.
Now:
Mem: 383664K used, 126908K free, 0K shrd, 28K buff, 351112K cached
CPU: 0% usr 10% sys 0% nic 90% idle 0% io 0% irq 0% sirq
Load average: 2.00 2.01 2.04 1/67 2816
PID PPID USER STAT VSZ %VSZ %CPU COMMAND
2816 31147 root R 2148 0% 10% top
8322 8321 root S 123m 25% 0% ./cgminer -c /config/cgminer.conf
326 1 root S 3272 1% 0% /usr/bin/ntpd -p /var/run/ntp.pid -g
341 1 root S 3112 1% 0% /usr/sbin/lighttpd -f /etc/lighttpd.co
334 1 avahi S 2824 1% 0% avahi-daemon: running [knc-jupiter1.lo
31009 323 root S 2732 1% 0% /usr/sbin/dropbear -r /config/dropbear
335 334 avahi S 2728 1% 0% avahi-daemon: chroot helper
8321 1 root S 2616 1% 0% {screen} SCREEN ./cgminer -c /config/c
31147 31009 root S 2328 0% 0% -sh
323 1 root S 2272 0% 0% /usr/sbin/dropbear -r /config/dropbear
1775 1 root S 2148 0% 0% {monitordcdc} /bin/sh /sbin/monitordcd
1895 1775 root S 2016 0% 0% sleep 60
1773 1 root S 1908 0% 0% /sbin/getty 115200 ttyO0
1774 1 root S 1908 0% 0% /sbin/getty 38400 tty1
1 0 root S 1652 0% 0% init [5]
1756 1 root S 1496 0% 0% /usr/bin/monitor-pwbtn /usr/bin/factor
58 2 root DW 0 0% 0% [spi1]
10 2 root SW 0 0% 0% [rcu_sched]
15 2 root SW 0 0% 0% [kworker/0:1]
36 2 root SW 0 0% 0% [irq/87-4802a000]
Before:
Mem: 223984K used, 286588K free, 0K shrd, 28K buff, 203096K cached
CPU: 4% usr 8% sys 0% nic 86% idle 0% io 0% irq 0% sirq
Load average: 2.00 2.01 2.04 1/68 12077
Heres the output from meminfo:
root@knc-jupiter1:~# less /proc/meminfo |more
MemTotal: 510572 kB
MemFree: 125852 kB
Buffers: 28 kB
Cached: 352044 kB
SwapCached: 0 kB
Active: 356396 kB
Inactive: 20312 kB
Active(anon): 24636 kB
Inactive(anon): 0 kB
Active(file): 331760 kB
Inactive(file): 20312 kB
Unevictable: 0 kB
Mlocked: 0 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 510572 kB
LowFree: 125852 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 24652 kB
Mapped: 3664 kB
Shmem: 0 kB
Slab: 5092 kB
SReclaimable: 2060 kB
SUnreclaim: 3032 kB
KernelStack: 592 kB
PageTables: 360 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 255284 kB
Committed_AS: 127684 kB
VmallocTotal: 499712 kB
VmallocUsed: 27484 kB
VmallocChunk: 389116 kB