<p>I d recommend to try bfgminer , a more secure and robust fork of cgminer : </p>

<p><a href="http://bfgminer.org/" rel="nofollow">http://bfgminer.org/</a></p>

<p><a href="https://github.com/luke-jr/bfgminer" rel="nofollow">https://github.com/luke-jr/bfgminer</a></p>

CC BY-SA 3.0
2013-12-16T21:53:14.813Z
2013-12-16T21:53:14.813Z
neofutur
<p>I've had the same issue, I think it has to do with the swapfile being enabled.  I went months without a freeze.  enabled swap file for BF4 bullshit coding, to play without directx out of memory error. Mining started freezing.  I thought I screwed up my cards.  Turned off swapfile on a whim and has been going for days now.  It would usually freeze in a few hours with swap file enabled.</p>

CC BY-SA 3.0
2014-03-23T17:57:51.677Z
This looks like a question than an answer.
John T
CC BY-SA 3.0
2014-03-23T03:14:21.937Z
2014-03-23T03:14:21.937Z
Jbmeth007
<p>Ok, it seems I've found kind a solution. Now my rig running for 16 hours without freezing. The only thing I did, I've placed --thread-concurrency 24000</p>

<p>Now my parameters are -I 20 --thread-concurrency 24000</p>

<p>And that's all.</p>

CC BY-SA 3.0
2013-12-16T21:45:48.840Z
2013-12-16T21:45:48.840Z
StanislavZ
<p>I have just recently built a mining rig. The problem I am running into is that cgminer will randomly "freeze" while mining. When I say freeze cgminer will just stop accepting shares and the GPU data will stop updating; however, I am still able to issue the 'Q' command, but it does not work. I have tried everything I could think of to attempt to fix this problem. Re installing Xubuntu, lowering memclock, lowering engineclock, lowering intensity, lowering thread-concurrency, increasing voltage, upgrading/downgrading cgminer, etc. The odd thing is the fact that none of the cards crash or go sick before cgminer freezes, and you see no increase of GPU temps when cgminer does crash. The period of mining before crash seems to be completely random. It has crashed 30 seconds after startup and it has crashed 4 hours in (which was the longest uptime and it was on a higher memclock and engine clock than I am on now). To me this makes no sense why it would be crashing at all, for the cards seem perfectly stable with the settings.</p>

<p>System Specs:<br>
CPU: FX 4130 quad core @ 3.8GHz, 8 MB Total Cache<br>
PSU: HALE90 V2 1200W<br>
GFX: 4x PowerColor HD7970 3GB GDDR5<br>
RAM: Ballistix (by crucial) 4gb DDR3 1600MHz<br>
SSD: SanDisk 64GB 6Gb/s<br>
MOBO: 970 Extreme4 Socket AM3+ ATX AMD motherboard<br>
OS: Xubuntu 12.10 x86_64</p>

<p>cgminer Start Parameters (start.sh script):
export DISPLAY=:0<br>
export GPU_MAX_ALLOC_PERCENT=100<br>
export GPU_USE_SYNC_OBJECTS=1<br>
./cgminer --scrypt -o <a href="http://poolurl.com:8080" rel="nofollow">http://poolurl.com:8080</a> -u username -p password -I 13 -g 2 -w 256 --auto-fan --temp-target 70 --temp-overheat 85 --gpu-fan 75-90 --thread-concurrency 8192 --gpu-engine 1106 --gpu-memclock 1825 --lookup-gap 2 --gpu-powertune 20</p>

<p>cgminer version is 3.7.2.</p>

<p>If you need any more information just ask. Any help will be appreciated, for I am absolutely stumped on what is causing the problem.</p>

<p>Thank you,
    Kyle</p>

CC BY-SA 3.0
2013-12-13T08:07:25.817Z
I have exactly the same issue! Don't know how to fix it yet....
StanislavZ
CC BY-SA 3.0
2013-12-13T11:15:23.657Z
This does not really answer the question. If you have a different question, you can ask it by clicking [Ask Question](http://bitcoin.stackexchange.com/questions/ask). You can also [add a bounty](http://bitcoin.stackexchange.com/help/privileges/set-bounties) to draw more attention to this question once you have enough [reputation](http://bitcoin.stackexchange.com/help/whats-reputation).
Murch
CC BY-SA 3.0
2013-12-17T09:34:01.563Z
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient [reputation](http://bitcoin.stackexchange.com/help/whats-reputation) you will be able to [comment on any post](http://bitcoin.stackexchange.com/help/privileges/comment).
Murch
<litecoin><cgminer><scrypt>
cgminer freezes at random intervals
Kyle Bartz
# cgminer freezes at random intervals

(Asked by: username_0 on 2013-12-08)

I have just recently built a mining rig. The problem I am running into is that cgminer will randomly "freeze" while mining. When I say freeze cgminer will just stop accepting shares and the GPU data will stop updating; however, I am still able to issue the 'Q' command, but it does not work. I have tried everything I could think of to attempt to fix this problem. Re installing Xubuntu, lowering memclock, lowering engineclock, lowering intensity, lowering thread-concurrency, increasing voltage, upgrading/downgrading cgminer, etc. The odd thing is the fact that none of the cards crash or go sick before cgminer freezes, and you see no increase of GPU temps when cgminer does crash. The period of mining before crash seems to be completely random. It has crashed 30 seconds after startup and it has crashed 4 hours in (which was the longest uptime and it was on a higher memclock and engine clock than I am on now). To me this makes no sense why it would be crashing at all, for the cards seem perfectly stable with the settings.

System Specs:  
CPU: FX 4130 quad core @ 3.8GHz, 8 MB Total Cache  
PSU: HALE90 V2 1200W  
GFX: 4x PowerColor HD7970 3GB GDDR5  
RAM: Ballistix (by crucial) 4gb DDR3 1600MHz  
SSD: SanDisk 64GB 6Gb/s  
MOBO: 970 Extreme4 Socket AM3+ ATX AMD motherboard  
OS: Xubuntu 12.10 x86\_64

cgminer Start Parameters (start.sh script):
export DISPLAY=:0  
export GPU\_MAX\_ALLOC\_PERCENT=100  
export GPU\_USE\_SYNC\_OBJECTS=1  
./cgminer --scrypt -o <http://poolurl.com:8080> -u username -p password -I 13 -g 2 -w 256 --auto-fan --temp-target 70 --temp-overheat 85 --gpu-fan 75-90 --thread-concurrency 8192 --gpu-engine 1106 --gpu-memclock 1825 --lookup-gap 2 --gpu-powertune 20

cgminer version is 3.7.2.

If you need any more information just ask. Any help will be appreciated, for I am absolutely stumped on what is causing the problem.

Thank you,
username_0

**Tags:** litecoin, cgminer, scrypt

> **Comments:**
> **username_1**: I have exactly the same issue! Don't know how to fix it yet....  
> **username_2**: This does not really answer the question. If you have a different question, you can ask it by clicking [Ask Question](http://bitcoin.stackexchange.com/questions/ask). You can also [add a bounty](http://bitcoin.stackexchange.com/help/privileges/set-bounties) to draw more attention to this question once you have enough [reputation](http://bitcoin.stackexchange.com/help/whats-reputation).  
> **username_2**: This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient [reputation](http://bitcoin.stackexchange.com/help/whats-reputation) you will be able to [comment on any post](http://bitcoin.stackexchange.com/help/privileges/comment).  

---

## 3 answers

### Answer by username_3 on 2013-12-16. Score: 1

I d recommend to try bfgminer , a more secure and robust fork of cgminer :

<http://bfgminer.org/>

<https://github.com/luke-jr/bfgminer>


---

### Answer by username_4 on 2014-03-23. Score: 1

I've had the same issue, I think it has to do with the swapfile being enabled. I went months without a freeze. enabled swap file for BF4 bullshit coding, to play without directx out of memory error. Mining started freezing. I thought I screwed up my cards. Turned off swapfile on a whim and has been going for days now. It would usually freeze in a few hours with swap file enabled.

> **Comments:**
> **username_5**: This looks like a question than an answer.  

---

### Answer by username_1 on 2013-12-16. Score: 0

Ok, it seems I've found kind a solution. Now my rig running for 16 hours without freezing. The only thing I did, I've placed --thread-concurrency 24000

Now my parameters are -I 20 --thread-concurrency 24000

And that's all.


---

