Giter Site home page Giter Site logo

Comments (8)

 avatar commented on September 22, 2024

I have to restart dcrstakepool 3-5 times per day.
On this hype number of registrations reached 1000 users and it goes down very often after new registration.

Currently, I'm making a bash script which will check page status and restart the service if it's not 200. But I hope we can find a better solution than restart and resync it so many times per day.

from dcrstakepool.

jolan avatar jolan commented on September 22, 2024

OK I'll give it another look soon (once the release work for 0.8.0 is done with). I did look at it a couple weeks ago but had difficulty reproducing it on my unloaded testnet/dev pool which made it hard to debug.

from dcrstakepool.

chappjc avatar chappjc commented on September 22, 2024

I'm running without the smarter connectivity PR changes, but when I tried it on testnet ages ago, I think the status URL triggered reconnect

from dcrstakepool.

chappjc avatar chappjc commented on September 22, 2024

From an admin IP that is

from dcrstakepool.

 avatar commented on September 22, 2024

Actually, it seems that this time it happened after failed stakepooluserinfo request.

What I see in the dcrstakepool.log:

18:20:29 2017-02-08 [TRC] DCRS: Sending command [stakepooluserinfo] with id 6
18:20:31 2017-02-08 [ERR] DCRS: Websocket receive error from XXX:9110: unexpected EOF
18:20:31 2017-02-08 [TRC] DCRS: Disconnecting RPC client XXX:9110
18:20:31 2017-02-08 [TRC] DCRS: Shutting down RPC client XXX:9110
18:20:31 2017-02-08 [TRC] DCRS: RPC client input handler done for XXX:9110
18:20:31 2017-02-08 [TRC] DCRS: Sending command [stakepooluserinfo] with id 77
18:20:31 2017-02-08 [TRC] DCRS: RPC client output handler done for XXX:9110

And wallet.log:

18:20:32 2017-02-08 [WRN] RPCS: Websocket receive failed from client 81.2.253.91:45685: read tcp4 XXX:9110->81.2.253.91:45685: use of closed network connection

18:20:32 2017-02-08 [WRN] RPCS: Failed websocket send to client 81.2.253.91:45685: write tcp4 XXX:9110->81.2.253.91:45685: i/o timeout

18:20:32 2017-02-08 [INF] RPCS: Disconnected websocket client 81.2.253.91:45685

Wallet was online all this time and continue working ok. I see some voted tickets right after this sockets error. Of course, stakepool will never try to reconnect, so now only 2 wallets are still connected.

from dcrstakepool.

chappjc avatar chappjc commented on September 22, 2024

Pretty sure going to /status from an admin IP is supposed to reconnect

from dcrstakepool.

jholdstock avatar jholdstock commented on September 22, 2024

@dajohi I believe this can be closed thanks to #494

from dcrstakepool.

JoeGruffins avatar JoeGruffins commented on September 22, 2024

@jholdstock ok to close this?

from dcrstakepool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.