CGminer keeps exiting with this error:
[2012-05-04 19:12:37] Failed to tq_push work in submit_work_sync
I have to restart it manually at this point.
Usually this would imply something drastically wrong like running out of resources to spawn a new thread such as out of memory or hitting some thread limit. Given that people have successfully run cgminer on openwrt routers, I can't really envision what sort of set up would hit those limits unless you had massive hashrates, lots of pools set up, and minimal memory on the machine.
edit: Certainly in older versions cgminer would spawn lots and lots of communication threads but that shouldn't be the case in 2.4.0+
It's version 2.4. 8 pools, hashrate of that machine is about 14 GH/s, it's got 2 gigs of RAM. Am I seriously coming up against a wall at only 14 GH/s? I had planned on adding another 20 - 30 GH/s to that machine.
The issue is we've tested cgminer 2.4.0 with 4 large farms.
One was 91 Icarus ~34GH/s on a single computer - and it ran fine.
Another has a single computer ~12GH/s with 14 BFL and 2 GPUs (again works fine)
Thus firstly the question of if you certainly were using 2.4.0
If you are running out of RAM you can of course easily see that yourself (and report that here)
And top will tell you the number of threads also (which you know how to do I'm sure)
Thus if the problem is certainly with 2.4.0 then there must be something different about your setup compared to the other 4 that is triggering this issue and will need more details to try and sort it out
I will add the obvious side comment - I presume you are not compiling and running CPU mining since that is unsupported and is known to cause thread issues.
You can check this with
(at the top of the help text) or
echo -n config | nc 127.0.0.1 4028 ; echo ; echo -n version | nc 127.0.0.1 4028 ; echo
(if the API is enabled)