Bitcoin Forum
June 04, 2024, 02:26:25 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin-mining-proxy help  (Read 1676 times)
smracer (OP)
Donator
Legendary
*
Offline Offline

Activity: 1055
Merit: 1020



View Profile
September 18, 2012, 02:32:35 PM
 #1

Hello,

I am hoping someone can help me out.

I have been running bitcoin-mining-proxy for about a week and for some reason people are getting "Pool not delivering work fast enough" messages sometimes.

The server is a dual quad core Dell with 16GB ram at a large colo facility.  The load averages are at .05 when I have 200GH+ running through it.  CPU 98% idle.

When I first got it running I was getting PHP PDO errors once I got over 100GH.  So I upped the PHP max connections to 5000 and I have seen no more errors whatsoever.

Nothing in apache2 error.log anymore.

But still some people are getting "pool not delivering work fast enough" messages.  Are there any other settings I need to change?  Anything in apache2.conf?

Thank You.

Bo





kakobrekla
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


Psi laju, karavani prolaze.


View Profile
September 18, 2012, 03:00:07 PM
Last edit: September 18, 2012, 03:16:56 PM by kakobrekla
 #2

That client side issue can prolly be fixed by increasing the getwork timeout in the miner sw.

Also, if you take a look at place_json_call() in common.inc.php, you can see it uses inefficient file_get_contents call. Use curl instead.
(benchmark: http://stackoverflow.com/questions/555523/file-get-contents-vs-curl-what-has-better-performance )

That might give you some space.

If its a source pool problem, in that case, you can tune timeout for your outgoing connections in the place_json_call() as well.
I know I bumped mine up from the default.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!