[NOMP] Log - No new blocks for 55 seconds







NOMP 설치 후 운영 시 아래와 같은 로그가 나오며..
채굴풀 클라이언트에서 해시 찾는것을 종료하고 다시 찾는 것과 같은 로그가 보여진다.
1004lucifer



2018-02-03 13:58:27 [Pool]      [htmlcoin] (Thread 3) Block notification via RPC polling
2018-02-03 13:58:31 [Pool]      [htmlcoin] (Thread 4) Block notification via RPC polling
2018-02-03 13:58:31 [Pool]      [htmlcoin] (Thread 1) Block notification via RPC polling
2018-02-03 13:58:32 [Pool]      [htmlcoin] (Thread 2) Block notification via RPC polling
2018-02-03 13:58:32 [Pool]      [htmlcoin] (Thread 3) Block notification via RPC polling
2018-02-03 13:58:45 [Payments]  [htmlcoin] Finished interval - time spent: 2ms total, 1ms redis, 2ms daemon                            RPC
2018-02-03 13:59:05 [Payments]  [htmlcoin] Finished interval - time spent: 2ms total, 0ms redis, 1ms daemon                            RPC
2018-02-03 13:59:25 [Payments]  [htmlcoin] Finished interval - time spent: 1ms total, 0ms redis, 1ms daemon                            RPC
2018-02-03 13:59:26 [Pool]      [htmlcoin] (Thread 4) No new blocks for 55 seconds - updating transactions &                            rebroadcasting work
2018-02-03 13:59:26 [Pool]      [htmlcoin] (Thread 1) No new blocks for 55 seconds - updating transactions &                            rebroadcasting work
2018-02-03 13:59:27 [Pool]      [htmlcoin] (Thread 2) No new blocks for 55 seconds - updating transactions &                            rebroadcasting work
2018-02-03 13:59:27 [Pool]      [htmlcoin] (Thread 3) No new blocks for 55 seconds - updating transactions &                            rebroadcasting work
2018-02-03 13:59:45 [Payments]  [htmlcoin] Finished interval - time spent: 2ms total, 0ms redis, 1ms daemon                            RPC
2018-02-03 14:00:05 [Payments]  [htmlcoin] Finished interval - time spent: 2ms total, 1ms redis, 2ms daemon                            RPC
2018-02-03 14:00:21 [Pool]      [htmlcoin] (Thread 4) No new blocks for 55 seconds - updating transactions &                            rebroadcasting work
2018-02-03 14:00:21 [Pool]      [htmlcoin] (Thread 1) No new blocks for 55 seconds - updating transactions &                            rebroadcasting work
2018-02-03 14:00:22 [Pool]      [htmlcoin] (Thread 2) No new blocks for 55 seconds - updating transactions &                            rebroadcasting work
2018-02-03 14:00:22 [Pool]      [htmlcoin] (Thread 3) No new blocks for 55 seconds - updating transactions &                            rebroadcasting work
2018-02-03 14:00:25 [Payments]  [htmlcoin] Finished interval - time spent: 3ms total, 1ms redis, 3ms daemon                            RPC








원인 및 해결방법

config.json 파일의 connectionTimeout 속성에 클라이언트 timeout 시간(초)을 늘려주면 된다.
1004lucifer

root@ubuntu:~/nomp# cat config.json
{
    "logLevel": "debug",
    "logColors": true,

    "cliPort": 17117,

    "clustering": {
        "enabled": true,
        "forks": "auto"
    },

    "defaultPoolConfigs": {
        "blockRefreshInterval": 1000,
        "jobRebroadcastTimeout": 300,
        "connectionTimeout": 600,
        "emitInvalidBlockHashes": false,
        "validateWorkerUsername": true,
        "tcpProxyProtocol": false,
        "banning": {
            "enabled": true,
            "time": 600,
            "invalidPercent": 50,
            "checkThreshold": 500,
            "purgeInterval": 300
        },
        "redis": {
            "host": "127.0.0.1",
            "port": 6379
        }
    },






참고
 - https://github.com/UNOMP/unified-node-open-mining-portal/issues/113


댓글