Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cronjob does not finish #38

Closed
prdatur opened this issue Mar 13, 2014 · 4 comments
Closed

cronjob does not finish #38

prdatur opened this issue Mar 13, 2014 · 4 comments

Comments

@prdatur
Copy link
Owner

prdatur commented Mar 13, 2014

Sometimes it happens that the cronjob never ends. Need to be fixed.

@prdatur
Copy link
Owner Author

prdatur commented Mar 13, 2014

Maybe the issue was that the connection to the rpc client was sometimes broken. Have pushed a new semaphore and a retry feature, so we will see if fix the issue.

@neurocis
Copy link

There is some progress here, now I see the error not being able to connect to the RPC Client. What I see on my miner when this happens is a soft-hung miner process. It is like the RPC client gets hung trying to communicate with the miner API.

Looking at the screen of the rpc client I see the frontend repeating queries for pool information, however the miner screen is frozen, but does respond to a "q" and then hangs as defunct, resolution being a manual 'coldreboot -f'. I suspect the frontend is not getting results from the rpc client and rpc client is getting a connection to the miner API, but no reply in a timely fashion to its pool queries. The hang condition is then not being detected, and the rpc client non-responsive to a reboot/stop/start command.

@prdatur
Copy link
Owner Author

prdatur commented Mar 15, 2014

After running 3 days without an error i assume the problem has gone with the latest fixes.

@prdatur prdatur closed this as completed Mar 15, 2014
@neurocis
Copy link

Reopen - whatever was happening in sgminer did not happen until now, but captured the following error from the phpminer_rpclcient screen:

PHP Warning:  socket_recv(): unable to read from socket [11]: Resource temporarily unavailable in /var/www/phpminer/phpminer_rpcclient/includes/RPCClientConnection.class.php on line 182

Hope that helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants