pooler / cpuminer

CPU miner for Litecoin and Bitcoin
https://bitcointalk.org/index.php?topic=55038.0
Other
2.77k stars 1.21k forks source link

crash #103

Closed colt05 closed 8 years ago

colt05 commented 8 years ago

Hi. On LabXNow vm, I have tried to use cpuminer with a few different pools, but it just crashes (and doesn't seem to save bash history). As a matter of fact, I have tried it a few times on this VM, but this time it deleted the contents of my Documents folder O.o I have tried --benchmark but that deleted everything. Why is this happening? Thanks.

pooler commented 8 years ago

Just tried it myself. It doesn't really "crash", apparently the process is automatically terminated by the system to prevent an abuse of resources. If I limit the miner to 1 thread it manages to run for a few seconds before being terminated.

colt05 commented 8 years ago

Hm I thought it was because the amount of threads was not detected correctly (Tor detected 64?!). Is there a way to turn that feature off?

pooler commented 8 years ago

/proc/cpuinfo also reports 64 processors, so that's correct. You can of course use the -t option to change the number of threads, but it's quite obvious that this kind of platform is totally unsuitable for running minerd.

colt05 commented 8 years ago

Ok, but what about the Documents folder? :fearful:

pooler commented 8 years ago

That didn't happen to me. And even assuming it did happen to you, it's almost certainly a bug/feature of LabXNow, as minerd doesn't directly create or delete files, ever.