Closed miningpoolhub closed 10 years ago
Hi
I run a pool that has more than 100 workers. I had set THREAD_POOL_SIZE = 300 default but when the worker starts to mine, stratum is very slow at responding.
2014-03-19 02:55:22+0000 [stratum.socket_transport.SocketTransportFactory] 2014-03-19 02:55:22,738 DEBUG protocol # Connected 175.124.218.21 2014-03-19 02:55:22+0000 [stratum.socket_transport.SocketTransportFactory] 2014-03-19 02:55:22,844 DEBUG protocol # Connected 220.127.8.150 2014-03-19 02:55:40+0000 [stratum.socket_transport.SocketTransportFactory] 2014-03-19 02:55:40,631 DEBUG protocol # Connected 1.212.59.60 2014-03-19 02:55:40+0000 [stratum.socket_transport.SocketTransportFactory] 2014-03-19 02:55:40,645 DEBUG protocol # Connected 106.246.8.179 2014-03-19 02:55:44+0000 [stratum.socket_transport.SocketTransportFactory] 2014-03-19 02:55:44,745 INFO stats # 103 peers connected, state changed 6 times 2014-03-19 02:55:44+0000 [stratum.socket_transport.SocketTransportFactory] 2014-03-19 02:55:44,746 DEBUG protocol # Connected 127.0.0.1 2014-03-19 02:56:29+0000 [stratum.socket_transport.SocketTransportFactory] 2014-03-19 02:56:29,666 DEBUG protocol # Connected 127.0.0.1
127.0.0.1 is just for blocknotify. I could see many miners are disconnected time to time, and blocknotify time takes more than minute sometimes.
blocknotify: done in 44.822 sec blocknotify: done in 104.289 sec blocknotify: done in 0.650 sec
Actually it takes about 0.003 sec at normal status.
What's the bottleneck? What do I have to do? I just opened other stratum ports and told miners to move to other ports.
I see many other pools are not suffering this kind of things. How do they do that?
the bottleneck might be the db although i dont know
i have the problem too
Hi
I run a pool that has more than 100 workers. I had set THREAD_POOL_SIZE = 300 default but when the worker starts to mine, stratum is very slow at responding.
2014-03-19 02:55:22+0000 [stratum.socket_transport.SocketTransportFactory] 2014-03-19 02:55:22,738 DEBUG protocol # Connected 175.124.218.21 2014-03-19 02:55:22+0000 [stratum.socket_transport.SocketTransportFactory] 2014-03-19 02:55:22,844 DEBUG protocol # Connected 220.127.8.150 2014-03-19 02:55:40+0000 [stratum.socket_transport.SocketTransportFactory] 2014-03-19 02:55:40,631 DEBUG protocol # Connected 1.212.59.60 2014-03-19 02:55:40+0000 [stratum.socket_transport.SocketTransportFactory] 2014-03-19 02:55:40,645 DEBUG protocol # Connected 106.246.8.179 2014-03-19 02:55:44+0000 [stratum.socket_transport.SocketTransportFactory] 2014-03-19 02:55:44,745 INFO stats # 103 peers connected, state changed 6 times 2014-03-19 02:55:44+0000 [stratum.socket_transport.SocketTransportFactory] 2014-03-19 02:55:44,746 DEBUG protocol # Connected 127.0.0.1 2014-03-19 02:56:29+0000 [stratum.socket_transport.SocketTransportFactory] 2014-03-19 02:56:29,666 DEBUG protocol # Connected 127.0.0.1
127.0.0.1 is just for blocknotify. I could see many miners are disconnected time to time, and blocknotify time takes more than minute sometimes.
blocknotify: done in 44.822 sec blocknotify: done in 104.289 sec blocknotify: done in 0.650 sec
Actually it takes about 0.003 sec at normal status.
What's the bottleneck? What do I have to do? I just opened other stratum ports and told miners to move to other ports.
I see many other pools are not suffering this kind of things. How do they do that?