Giter Club home page Giter Club logo

lotus-miner's People

Contributors

chadwick2143 avatar josephbedminster avatar scuwan avatar shannon-6block avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lotus-miner's Issues

试图在保留已有有效存储的情况下从官版切换到试用版0.7.0出错

问题产生条件:官版0.7.0 切换到试用版0.7.0
问题详情:
1.启动daemon,正常;
2. 启动miner会出错,错误情况如下:
2020-09-16T16:56:23.127+0800 INFO stores stores/index.go:148 New sector storage: fb0d2d2e-822c-4c3b-9bcc-ec8ad5b42f52
2020-09-16T16:56:23.129+0800 INFO stores stores/index.go:148 New sector storage: b947e5f4-02cd-42b0-b74c-5f26a8c240e4
ERROR: starting node: could not build arguments for function "github.com/filecoin-project/lotus/node/modules".HandleDeals (/home/ps/code/community/lotus/node/modules/storageminer.go:235): failed to build storagemarket.StorageProvider: could not build arguments for function "reflect".makeFuncStub (/usr/lib/go-1.14/src/reflect/asm_amd64.s:12): failed to build *storedask.StoredAsk: could not build arguments for function "reflect".makeFuncStub (/usr/lib/go-1.14/src/reflect/asm_amd64.s:12): failed to build storagemarket.StorageProviderNode: could not build arguments for function "reflect".makeFuncStub (/usr/lib/go-1.14/src/reflect/asm_amd64.s:12): failed to build *sectorblocks.SectorBlocks: could not build arguments for function "reflect".makeFuncStub (/usr/lib/go-1.14/src/reflect/asm_amd64.s:12): failed to build *storage.Miner: could not build arguments for function "reflect".makeFuncStub (/usr/lib/go-1.14/src/reflect/asm_amd64.s:12): failed to build sectorstorage.SectorManager: could not build arguments for function "reflect".makeFuncStub (/usr/lib/go-1.14/src/reflect/asm_amd64.s:12): failed to build *sectorstorage.Manager: received non-nil error from function "reflect".makeFuncStub (/usr/lib/go-1.14/src/reflect/asm_amd64.s:12): opening path /home/worker/p2dir/test2/.lotusminer: parse sector id fetching: sscanf sector name ('fetching'): input does not match format

after miner running for a while ,it shows could not get API info

after lauch miner and worker for a while,
lotus-storage-miner info, it showed:

2020-06-27T16:55:38.739+0800 WARN main lotus-storage-miner/main.go:82 could not get API info:
github.com/filecoin-project/lotus/cli.GetRawAPI
/home/ps/share/ssd/code/test.0.4.0/cli/cmd.go:140

  • could not get api endpoint:
    github.com/filecoin-project/lotus/cli.GetAPIInfo
    /home/ps/share/ssd/code/test.0.4.0/cli/cmd.go:123
  • API not running (no endpoint)

but the miner and worker both are still running.

the worker`s log :

2020-06-27T16:25:48.489+0800 DEBUG advmgr sector-storage/localworker.go:71 acquired sector {117803 1} (e:1; a:6): {{0 0}
/jacklotus/lotusworker/unsealed/s-t0117803-1 /jacklotus/lotusworker/sealed/s-t0117803-1 /jacklotus/lotusworker/cache/s-t0117803-1}
2020-06-27T16:25:48.489 INFO filcrypto::proofs::api > seal_pre_commit_phase1: start
2020-06-27T16:25:48.490 INFO filecoin_proofs::api::seal > seal_pre_commit_phase1: start
2020-06-27T16:26:55.750 INFO storage_proofs_porep::stacked::vanilla::graph > using parents cache of unlimited size
2020-06-27T16:26:55.750 INFO storage_proofs_porep::stacked::vanilla::graph > using parent_cache[1073741824]
2020-06-27T16:26:55.750 INFO storage_proofs_porep::stacked::vanilla::graph > filling parents cache
2020-06-27T16:27:00.468 INFO storage_proofs_porep::stacked::vanilla::graph > using parents cache of unlimited size
2020-06-27T16:27:00.468 INFO storage_proofs_porep::stacked::vanilla::graph > using parent_cache[1073741824]
2020-06-27T16:29:09.965 INFO storage_proofs_porep::stacked::vanilla::graph > cache filled
2020-06-27T16:29:09.965 INFO filecoin_proofs::api::seal > building merkle tree for the original data
2020-06-27T16:29:09.965 INFO filecoin_proofs::api::seal > building merkle tree for the original data
2020-06-27T16:31:04.716 INFO filecoin_proofs::api::seal > verifying pieces
2020-06-27T16:31:04.716 INFO filecoin_proofs::pieces > verifying 1 pieces
2020-06-27T16:31:04.716 INFO storage_proofs_porep::stacked::vanilla::proof > replicate_phase1
2020-06-27T16:31:04.716 INFO storage_proofs_porep::stacked::vanilla::proof > generate labels
2020-06-27T16:31:04.716 INFO storage_proofs_porep::stacked::vanilla::proof > generating layer: 1
2020-06-27T16:31:05.296 INFO filecoin_proofs::api::seal > verifying pieces
2020-06-27T16:31:05.296 INFO filecoin_proofs::pieces > verifying 1 pieces
2020-06-27T16:31:05.296 INFO storage_proofs_porep::stacked::vanilla::proof > replicate_phase1
2020-06-27T16:31:05.296 INFO storage_proofs_porep::stacked::vanilla::proof > generate labels
2020-06-27T16:31:05.296 INFO storage_proofs_porep::stacked::vanilla::proof > generating layer: 1

the miner`s log:
2020-06-27T16:25:37.408+0800 DEBUG advmgr sector-storage/sched.go:260 maybeSchedRequest choose worker 1 from %!w([]sectorst
orage.WorkerID=[1]) for %!w(*sectorstorage.workerRequest=&{{117803 0} seal/v0/precommit/1 0xc00568e1c0 0xb6be20 0xb6c660 0 0xc008328780 0xc00
97adc40})
2020-06-27T16:26:30.613+0800 WARN net/identify [email protected]/log.go:175 error reading identify message: stream reset
2020-06-27T16:27:55.971+0800 WARN storageminer storage/wdpost_sched.go:216 Aborting Window PoSt (Deadline: &{CurrentEpoc
h:28854 PeriodStart:28195 Index:6 Open:28771 Close:28867 Challenge:28751 FaultCutoff:28751})
2020-06-27T16:27:55.971+0800 INFO storageminer storage/wdpost_sched.go:200 at 28867, doPost for P 28195, dd 7
2020-06-27T16:27:55.973+0800 INFO storageminer storage/wdpost_run.go:366 di: {CurrentEpoch:28867 PeriodStart:28195 Ind
ex:7 Open:28867 Close:28963 Challenge:28847 FaultCutoff:28847}
2020-06-27T16:27:55.973+0800 INFO storageminer storage/wdpost_run.go:367 dc: 0
2020-06-27T16:27:55.973+0800 INFO storageminer storage/wdpost_run.go:368 fp: 0
2020-06-27T16:27:55.973+0800 INFO storageminer storage/wdpost_run.go:369 pc: 0
2020-06-27T16:27:55.973+0800 INFO storageminer storage/wdpost_run.go:370 ts: {bafy2bzacea2bt2le26q5sm6ckddqfz3iat7xwur
uahglqdl2xeudbg653dpdw} (28867)
2020-06-27T16:29:52.654+0800 WARN net/identify [email protected]/log.go:175 error reading identify message: stream reset
2020-06-27T16:41:13.208+0800 INFO dht/RtRefreshManager rtrefresh/rt_refresh_manager.go:265 starting refreshing cpl 0 wit
h key
2020-06-27T16:42:02.800+0800 INFO dht/RtRefreshManager rtrefresh/rt_refresh_manager.go:272 finished refreshing cpl 0, ro
uting table size is now 70
2020-06-27T16:42:02.800+0800 INFO dht/RtRefreshManager rtrefresh/rt_refresh_manager.go:265 starting refreshing cpl 1 wit
h key
2020-06-27T16:42:03.545+0800 WARN net/identify [email protected]/log.go:175 error reading identify message: stream reset
2020-06-27T16:42:22.666+0800 INFO dht/RtRefreshManager rtrefresh/rt_refresh_manager.go:272 finished refreshing cpl 1, ro
uting table size is now 69
2020-06-27T16:42:22.666+0800 INFO dht/RtRefreshManager rtrefresh/rt_refresh_manager.go:265 starting refreshing cpl 2 wit
h key
2020-06-27T16:42:30.515+0800 INFO dht/RtRefreshManager rtrefresh/rt_refresh_manager.go:272 finished refreshing cpl 2, ro
uting table size is now 69
2020-06-27T16:42:30.515+0800 INFO dht/RtRefreshManager rtrefresh/rt_refresh_manager.go:265 starting refreshing cpl 3 wit
h key
2020-06-27T16:42:43.963+0800 INFO dht/RtRefreshManager rtrefresh/rt_refresh_manager.go:272 finished refreshing cpl 3, ro
uting table size is now 69
2020-06-27T16:42:43.963+0800 INFO dht/RtRefreshManager rtrefresh/rt_refresh_manager.go:265 starting refreshing cpl 4 wit
h key
2020-06-27T16:42:44.523+0800 INFO dht/RtRefreshManager rtrefresh/rt_refresh_manager.go:272 finished refreshing cpl 4, ro
uting table size is now 69
2020-06-27T16:42:44.524+0800 INFO dht/RtRefreshManager rtrefresh/rt_refresh_manager.go:265 starting refreshing cpl 5 wit
h key
2020-06-27T16:42:45.823+0800 INFO dht/RtRefreshManager rtrefresh/rt_refresh_manager.go:272 finished refreshing cpl 5, ro
uting table size is now 69
2020-06-27T16:42:45.824+0800 INFO dht/RtRefreshManager rtrefresh/rt_refresh_manager.go:265 starting refreshing cpl 6 wit
h key
2020-06-27T16:42:47.145+0800 INFO dht/RtRefreshManager rtrefresh/rt_refresh_manager.go:272 finished refreshing cpl 6, ro
uting table size is now 69
2020-06-27T16:42:47.145+0800 INFO dht/RtRefreshManager rtrefresh/rt_refresh_manager.go:265 starting refreshing cpl 7 wit
h key
2020-06-27T16:42:47.631+0800 INFO dht/RtRefreshManager rtrefresh/rt_refresh_manager.go:272 finished refreshing cpl 7, ro
uting table size is now 69

They are running, but I cannot connect to the api once more, why?

初次尝试p1阶段

worker
miner_worker
logs
第一次尝试跑lotus,请问一下,按照文档的操作进行,目前除了硬盘占用在增长,其他都没有变化,是否是成功运行了p1阶段呢

使用INTL机器运行8GIB。worker工作报错,求解决办法。能不能指派intl机器只做P2,其他AMD的机器做余下流程?

2021-02-02T00:49:46.890+0800 INFO main lotus-seal -worker/main_com.go:522 Waiting for tasks
SIGILL: illegal instruction
PC=0x1afb048 m=16 sigcode=2
instruction bytes: 0xc5 0xf8 0x57 0xc0 0xc5 0xf8 0x11 0x44 0x24 0x18 0x48 0x8d 0x7c 0x24 0x10 0x31

goroutine 0 [idle]:
runtime: unknown pc 0x1afb048
stack: frame={sp:0x7f18537fd2c0, fp:0x0} stack=[0x7f1852ff dec8,0x7f18537fdac8)
00007f18537fd1c0: 0000000000000000 00007f18537fd200
00007f18537fd1d0: 0000000000576231 <runtime.step+273> 00 0000000448e412
00007f18537fd1e0: 00000000000c23ee 00000000000c23ee
00007f18537fd1f0: 000000e300000002 00000000000c23ee
00007f18537fd200: 00007f18537fd2b0 00000000005752e9 <run time.pcvalue+361>
00007f18537fd210: 000000000448e414 00000000000c23ec
00007f18537fd220: 00000000000c23ec 00007f18537fd270
00007f18537fd230: 00007f18537fd264 0000000000000000
00007f18537fd240: 000000000448e416 35c1aaab0f14f900
00007f18537fd250: 00000000000c23ea 00007f18537fd638
00007f18537fd260: 0000000000000000 00007f18537fd438
00007f18537fd270: 0000000000000000 0000000001a83e40
00007f18537fd280: 00007f18537fd990 00007f18c3caa0d3
00007f18537fd290: 00007f18537fd2c0 0000000000573b07 <run time.(*Frames).Next+999>
00007f18537fd2a0: 0000000000000000 00007f18537fd2cc
00007f18537fd2b0: 00007f18537fd300 0000000001afaeca
00007f18537fd2c0: <000000000448ded8 0000000204ad2d80
00007f18537fd2d0: 0000000000000008 0000000000fdc54e <git hub.com/filecoin-project/go-jsonrpc.(*RPCServer).handle+87 18>
00007f18537fd2e0: 00007f18537fd7f8 00007f188d645f01
00007f18537fd2f0: 00001501ffffffff 0000000000fdc54a <git hub.com/filecoin-project/go-jsonrpc.(*RPCServer).handle+87 14>
00007f18537fd300: 00007f18537fd3a8 0000000000571a45 <run time.getStackMap+261>
00007f18537fd310: 0000000003fc4a68 0000000004ad2d80
00007f18537fd320: 0000000000000003 0000000000000000
00007f18537fd330: 00007f18537fd7f8 00000000ffffffff
00007f18537fd340: 0000000000000002 0000000000000000
00007f18537fd350: 000000000058d680 <runtime.goexit+0> 00 000000005752e9 <runtime.pcvalue+361>
00007f18537fd360: 0000000003fc4a9f 000000000058bd61 <run time.call128+1>
00007f18537fd370: 000000000058bd61 <runtime.call128+1> 0 0007f18537fd3c0
00007f18537fd380: 00007f18537fd3b4 0000000000000000
00007f18537fd390: 0000000000000000 0000000004ad2d80
00007f18537fd3a0: 0000000003fc4a68 00007f18537fd478
00007f18537fd3b0: 000000000056fbc8 <runtime.adjustframe+1 36> 00007f18537fd6f0
runtime: unknown pc 0x1afb048
stack: frame={sp:0x7f18537fd2c0, fp:0x0} stack=[0x7f1852ff dec8,0x7f18537fdac8)
00007f18537fd1c0: 0000000000000000 00007f18537fd200
00007f18537fd1d0: 0000000000576231 <runtime.step+273> 00 0000000448e412
00007f18537fd1e0: 00000000000c23ee 00000000000c23ee
00007f18537fd1f0: 000000e300000002 00000000000c23ee
00007f18537fd200: 00007f18537fd2b0 00000000005752e9 <run time.pcvalue+361>
00007f18537fd210: 000000000448e414 00000000000c23ec
00007f18537fd220: 00000000000c23ec 00007f18537fd270
00007f18537fd230: 00007f18537fd264 0000000000000000
00007f18537fd240: 000000000448e416 35c1aaab0f14f900
00007f18537fd250: 00000000000c23ea 00007f18537fd638
00007f18537fd260: 0000000000000000 00007f18537fd438
00007f18537fd270: 0000000000000000 0000000001a83e40
00007f18537fd280: 00007f18537fd990 00007f18c3caa0d3
00007f18537fd290: 00007f18537fd2c0 0000000000573b07 <run time.(*Frames).Next+999>
00007f18537fd2a0: 0000000000000000 00007f18537fd2cc
00007f18537fd2b0: 00007f18537fd300 0000000001afaeca
00007f18537fd2c0: <000000000448ded8 0000000204ad2d80
00007f18537fd2d0: 0000000000000008 0000000000fdc54e <git hub.com/filecoin-project/go-jsonrpc.(*RPCServer).handle+87 18>
00007f18537fd2e0: 00007f18537fd7f8 00007f188d645f01
00007f18537fd2f0: 00001501ffffffff 0000000000fdc54a <git hub.com/filecoin-project/go-jsonrpc.(*RPCServer).handle+87 14>
00007f18537fd300: 00007f18537fd3a8 0000000000571a45 <run time.getStackMap+261>
00007f18537fd310: 0000000003fc4a68 0000000004ad2d80
00007f18537fd320: 0000000000000003 0000000000000000
00007f18537fd330: 00007f18537fd7f8 00000000ffffffff
00007f18537fd340: 0000000000000002 0000000000000000
00007f18537fd350: 000000000058d680 <runtime.goexit+0> 00 000000005752e9 <runtime.pcvalue+361>
00007f18537fd360: 0000000003fc4a9f 000000000058bd61 <run time.call128+1>
00007f18537fd370: 000000000058bd61 <runtime.call128+1> 0 0007f18537fd3c0
00007f18537fd380: 00007f18537fd3b4 0000000000000000
00007f18537fd390: 0000000000000000 0000000004ad2d80
00007f18537fd3a0: 0000000003fc4a68 00007f18537fd478
00007f18537fd3b0: 000000000056fbc8 <runtime.adjustframe+1 36> 00007f18537fd6f0

goroutine 154 [syscall]:
runtime.cgocall(0x1152c20, 0xc0000ec8b0, 0x4ad2d80)
runtime/cgocall.go:133 +0x5b fp=0xc0000ec880 sp=0x c0000ec848 pc=0x524c5b
github.com/filecoin-project/filecoin-ffi/generated.Cfunc fil_get_gpu_devices(0x0)
_cgo_gotypes.go:1354 +0x4a fp=0xc0000ec8b0 sp=0xc0 000ec880 pc=0xdb2caa
github.com/filecoin-project/filecoin-ffi/generated.FilGetG puDevices(0xd5720)
github.com/filecoin-project/[email protected] .20200716204036-cddc56607e1d/generated/generated.go:337 +0 x25 fp=0xc0000ec8d8 sp=0xc0000ec8b0 pc=0xdbbba5
github.com/filecoin-project/filecoin-ffi.GetGPUDevices(0x0 , 0x0, 0x0, 0x0, 0x0)
github.com/filecoin-project/[email protected] .20200716204036-cddc56607e1d/proofs.go:600 +0x4f fp=0xc000 0ec948 sp=0xc0000ec8d8 pc=0xdc484f
github.com/filecoin-project/lotus/extern/sector-storage.(* LocalWorker).Info(0xc0004020e0, 0x2598cc0, 0xc0008ee780, 0 x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
github.com/filecoin-project/lotus/extern/sector-st orage/localworker.go:279 +0x65 fp=0xc0000eca28 sp=0xc0000e c948 pc=0xdde2a5
runtime.call128(0xc0008ee7b0, 0xc00069e7c0, 0xc000403490, 0x1800000070)
runtime/asm_amd64.s:542 +0x59 fp=0xc0000ecab8 sp=0 xc0000eca28 pc=0x58bdb9
reflect.Value.call(0x22b3a80, 0xc0008e8520, 0x2213, 0x22eb 7a2, 0x4, 0xc0008e9dc0, 0x1, 0x1, 0x2207720, 0xc00041ca00, ...)
reflect/value.go:476 +0x8c7 fp=0xc0000eccd0 sp=0xc 0000ecab8 pc=0x5bab07
reflect.Value.Call(0x22b3a80, 0xc0008e8520, 0x2213, 0xc000 8e9dc0, 0x1, 0x1, 0xc0008ee780, 0x0, 0x0)
reflect/value.go:337 +0xb9 fp=0xc0000ecd50 sp=0xc0 000eccd0 pc=0x5b9ff9
github.com/filecoin-project/lotus/metrics.proxy.func1(0xc0 008e9dc0, 0x1, 0x1, 0x0, 0x0, 0x0)
github.com/filecoin-project/lotus/metrics/proxy.go :61 +0x29e fp=0xc0000ecdf8 sp=0xc0000ecd50 pc=0x100ff1e
reflect.callReflect(0xc00072abd0, 0xc0000ecf60, 0xc0000ecf 48)
reflect/value.go:565 +0x32a fp=0xc0000ecf30 sp=0xc 0000ecdf8 pc=0x5bb9aa
reflect.makeFuncStub(0x2598cc0, 0xc0008ee5a0, 0x70, 0x2030 00, 0x17, 0x0, 0x203000, 0x203000, 0x203000, 0x214b560, .. .)
reflect/asm_amd64.s:20 +0x42 fp=0xc0000ecf60 sp=0x c0000ecf30 pc=0x5c6e42
github.com/filecoin-project/lotus/api/apistruct.(*WorkerSt ruct).Info(0xc000160160, 0x2598cc0, 0xc0008ee5a0, 0x0, 0x0 , 0x0, 0x0, 0x0, 0x0, 0x0, ...)
github.com/filecoin-project/lotus/api/apistruct/st ruct.go:1437 +0x88 fp=0xc0000ed020 sp=0xc0000ecf60 pc=0xd3 8f68
runtime.call128(0xc0008ee6c0, 0xc00069e7a0, 0xc0004033b0, 0x1800000070)
runtime/asm_amd64.s:542 +0x59 fp=0xc0000ed0b0 sp=0 xc0000ed020 pc=0x58bdb9
reflect.Value.call(0x229c9a0, 0xc000160160, 0x1e13, 0x22eb 7a2, 0x4, 0xc0008e9d80, 0x1, 0x1, 0x5, 0x20d0301, ...)
reflect/value.go:476 +0x8c7 fp=0xc0000ed2c8 sp=0xc 0000ed0b0 pc=0x5bab07
reflect.Value.Call(0x229c9a0, 0xc000160160, 0x1e13, 0xc000 8e9d80, 0x1, 0x1, 0x5, 0x7f188c683801, 0x10)
reflect/value.go:337 +0xb9 fp=0xc0000ed348 sp=0xc0 000ed2c8 pc=0x5b9ff9
github.com/filecoin-project/go-jsonrpc/auth.PermissionedPr oxy.func1(0xc0008e9d80, 0x1, 0x1, 0xc0008e9d80, 0xc0006a51 01, 0xc0009a7270)
github.com/filecoin-project/[email protected] 201008195726-68c6a2704e49/auth/auth.go:62 +0x533 fp=0xc000 0ed420 sp=0xc0000ed348 pc=0xcd05b3
reflect.callReflect(0xc00072b7a0, 0xc0000ed588, 0xc0000ed5 70)
reflect/value.go:565 +0x32a fp=0xc0000ed558 sp=0xc 0000ed420 pc=0x5bb9aa
reflect.makeFuncStub(0x2598cc0, 0xc0008ee5a0, 0x70, 0x2030 00, 0x1, 0xc0000ed5e0, 0x52ca65, 0x2194920, 0x21c88a0, 0x5 bda00, ...)
reflect/asm_amd64.s:20 +0x42 fp=0xc0000ed588 sp=0x c0000ed558 pc=0x5c6e42
github.com/filecoin-project/lotus/api/apistruct.(*WorkerSt ruct).Info(0xc000160210, 0x2598cc0, 0xc0008ee5a0, 0x0, 0x0 , 0x0, 0x0, 0x0, 0x0, 0x0, ...)
github.com/filecoin-project/lotus/api/apistruct/st ruct.go:1437 +0x88 fp=0xc0000ed648 sp=0xc0000ed588 pc=0xd3 8f68
runtime.call128(0xc0008ee600, 0xc00069e698, 0xc000403340, 0x1800000070)
runtime/asm_amd64.s:542 +0x59 fp=0xc0000ed6d8 sp=0 xc0000ed648 pc=0x58bdb9
reflect.Value.call(0xc00010f260, 0xc00069e698, 0x13, 0x22e b7a2, 0x4, 0xc0008ee5d0, 0x2, 0x2, 0x30, 0x22de8c0, ...)
reflect/value.go:476 +0x8c7 fp=0xc0000ed8f0 sp=0xc 0000ed6d8 pc=0x5bab07
reflect.Value.Call(0xc00010f260, 0xc00069e698, 0x13, 0xc00 08ee5d0, 0x2, 0x2, 0x170000c0004aa420, 0xc0004aa420, 0xc00 00ed9e0)
reflect/value.go:337 +0xb9 fp=0xc0000ed970 sp=0xc0 000ed8f0 pc=0x5b9ff9
github.com/filecoin-project/go-jsonrpc.doCall(0xc000400e00 , 0xd, 0xc00010f260, 0xc00069e698, 0x13, 0xc0008ee5d0, 0x2 , 0x2, 0x0, 0x0, ...)
github.com/filecoin-project/[email protected] 201008195726-68c6a2704e49/handler.go:130 +0xdc fp=0xc0000e d9f0 sp=0xc0000ed970 pc=0xfd9cdc
github.com/filecoin-project/go-jsonrpc.(*RPCServer).handle (0xc0006a43b0, 0x2598cc0, 0xc0008ee540, 0xc000400df0, 0x3, 0xc000400df8, 0xc000400e00, 0xd, 0x4b997a0, 0x0, ...)
github.com/filecoin-project/[email protected] 201008195726-68c6a2704e49/handler.go:221 +0xe85 fp=0xc0000 edf60 sp=0xc0000ed9f0 pc=0xfdb1c5
runtime.goexit()
runtime/asm_amd64.s:1374 +0x1 fp=0xc0000edf68 sp=0 xc0000edf60 pc=0x58d681
created by github.com/filecoin-project/go-jsonrpc.(*wsConn ).handleCall
github.com/filecoin-project/[email protected] 201008195726-68c6a2704e49/websocket.go:423 +0x28f

goroutine 1 [IO wait]:
internal/poll.runtime_pollWait(0x7f188d645e20, 0x72, 0x0)
runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000127518, 0x72, 0x0, 0x 0, 0x22ef0bf)
internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc000127500, 0x0, 0x0, 0x0, 0x 0, 0x0, 0x0, 0x0)
internal/poll/fd_unix.go:394 +0x1fc
net.(*netFD).accept(0xc000127500, 0xfab9f6e3b451fa01, 0x0, 0x0)
net/fd_unix.go:172 +0x45
net.(*TCPListener).accept(0xc0008e9b40, 0x6018312a, 0xc000 0313c0, 0x5ef5e6)
net/tcpsock_posix.go:139 +0x32
net.(*TCPListener).Accept(0xc0008e9b40, 0xc000031410, 0x18 , 0xc000000180, 0x9ccd6c)
net/tcpsock.go:261 +0x65
net/http.(*Server).Serve(0xc00022a000, 0x2593f00, 0xc0008e 9b40, 0x0, 0x0)
net/http/server.go:2937 +0x266
main.glob..func3(0xc000375400, 0x0, 0x0)
github.com/filecoin-project/lotus/cmd/lotus-seal-w orker/main_com.go:579 +0x283e
github.com/urfave/cli/v2.(*Command).Run(0x4a914a0, 0xc0003 75040, 0x0, 0x0)
github.com/urfave/cli/[email protected]/command.go:164 +0x 4ed
github.com/urfave/cli/v2.(*App).RunContext(0xc0004c8600, 0 x2598c40, 0xc00003a0d8, 0xc00000e080, 0x2, 0x2, 0x0, 0x0)
github.com/urfave/cli/[email protected]/app.go:306 +0x81f
github.com/urfave/cli/v2.(*App).Run(...)
github.com/urfave/cli/[email protected]/app.go:215
main.main()
github.com/filecoin-project/lotus/cmd/lotus-seal-w orker/main_com.go:95 +0x63b

goroutine 6 [select, 2 minutes]:
github.com/ipfs/go-log/writer.(*MirrorWriter).logRoutine(0 xc0000c9cb0)
github.com/ipfs/[email protected]/writer/writer.go:71 +0x128
created by github.com/ipfs/go-log/writer.NewMirrorWriter
github.com/ipfs/[email protected]/writer/writer.go:36 +0xb9

goroutine 7 [select, 2 minutes]:
go.opencensus.io/stats/view.(*worker).start(0xc0000e2400)
[email protected]/stats/view/worker.go:276 +0x105
created by go.opencensus.io/stats/view.init.0
[email protected]/stats/view/worker.go:34 + 0x68

goroutine 21 [chan receive, 2 minutes]:
github.com/filecoin-project/lotus/cli.ReqContext.func1(0xc 000514420, 0xc000541040)
github.com/filecoin-project/lotus/cli/cmd.go:257 + 0x34
created by github.com/filecoin-project/lotus/cli.ReqContex t
github.com/filecoin-project/lotus/cli/cmd.go:256 + 0x108

goroutine 20 [select]:
github.com/filecoin-project/go-jsonrpc.(*wsConn).handleWsC onn(0xc0004e2180, 0x2598c40, 0xc00003a0d8)
github.com/filecoin-project/[email protected] 201008195726-68c6a2704e49/websocket.go:555 +0x488
created by github.com/filecoin-project/go-jsonrpc.websocke tClient
github.com/filecoin-project/[email protected] 201008195726-68c6a2704e49/client.go:247 +0x2cf

goroutine 35 [select, 2 minutes]:
github.com/filecoin-project/go-jsonrpc.(*wsConn).setupPing s.func3(0xc0004e2180, 0xc000148240)
github.com/filecoin-project/[email protected] 201008195726-68c6a2704e49/websocket.go:493 +0xc6
created by github.com/filecoin-project/go-jsonrpc.(*wsConn ).setupPings
github.com/filecoin-project/[email protected] 201008195726-68c6a2704e49/websocket.go:491 +0xcf

goroutine 23 [select]:
reflect.rselect(0xc00036cd50, 0x2, 0x4, 0x0, 0x0)
runtime/select.go:566 +0x390
reflect.Select(0xc00036cf30, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0)
reflect/value.go:2260 +0x19c
github.com/filecoin-project/go-jsonrpc.(*client).makeOutCh an.func1.1(0x2598cc0, 0xc0008ee3c0, 0xc0003721c8, 0x20ddd8 0, 0xc0000be720, 0x12)
github.com/filecoin-project/[email protected] 201008195726-68c6a2704e49/client.go:332 +0x3cc
created by github.com/filecoin-project/go-jsonrpc.(*client ).makeOutChan.func1
github.com/filecoin-project/[email protected] 201008195726-68c6a2704e49/client.go:307 +0x205

goroutine 9 [syscall, 2 minutes]:
os/signal.signal_recv(0x0)
runtime/sigqueue.go:147 +0x9d
os/signal.loop()
os/signal/signal_unix.go:23 +0x25
created by os/signal.Notify.func1.1
os/signal/signal.go:150 +0x45

goroutine 126 [IO wait]:
internal/poll.runtime_pollWait(0x7f188d645ff0, 0x72, 0x257 a5c0)
runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000126198, 0x72, 0x257a5 00, 0x4ab9080, 0x0)
internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000126180, 0xc00053c000, 0x100 0, 0x1000, 0x0, 0x0, 0x0)
internal/poll/fd_unix.go:159 +0x1a5
net.(*netFD).Read(0xc000126180, 0xc00053c000, 0x1000, 0x10 00, 0xc000100400, 0x0, 0x0)
net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc000372590, 0xc00053c000, 0x1000, 0x100 0, 0x0, 0x0, 0x0)
net/net.go:182 +0x8e
bufio.(*Reader).fill(0xc0005143c0)
bufio/bufio.go:101 +0x105
bufio.(*Reader).Peek(0xc0005143c0, 0x2, 0x0, 0xb0, 0x1b99d a0, 0xc000702000, 0x0)
bufio/bufio.go:139 +0x4f
github.com/gorilla/websocket.(*Conn).read(0xc0004aa840, 0x 2, 0x11, 0xc000082601, 0x630493, 0x0, 0x1044749708fc9)
github.com/gorilla/[email protected]/conn.go:370 +0 x45
github.com/gorilla/websocket.(*Conn).advanceFrame(0xc0004a a840, 0x0, 0x0, 0x4b16800)
github.com/gorilla/[email protected]/conn.go:798 +0 x5c
github.com/gorilla/websocket.(*Conn).NextReader(0xc0004aa8 40, 0xbffe2daeb529be1f, 0x36334fe6b68, 0x4b16800, 0x0, 0x0 )
github.com/gorilla/[email protected]/conn.go:980 +0 x8f
github.com/filecoin-project/go-jsonrpc.(*wsConn).nextMessa ge(0xc0004e2180)
github.com/filecoin-project/[email protected] 201008195726-68c6a2704e49/websocket.go:99 +0x5a
created by github.com/filecoin-project/go-jsonrpc.(*wsConn ).handleWsConn
github.com/filecoin-project/[email protected] 201008195726-68c6a2704e49/websocket.go:615 +0x115d

goroutine 24 [chan receive]:
github.com/filecoin-project/go-jsonrpc.(*wsConn).handleCtx Async(0xc0004e2180, 0x2598cc0, 0xc0008ee3c0, 0x5)
github.com/filecoin-project/[email protected] 201008195726-68c6a2704e49/websocket.go:282 +0x65
created by github.com/filecoin-project/go-jsonrpc.(*wsConn ).handleResponse
github.com/filecoin-project/[email protected] 201008195726-68c6a2704e49/websocket.go:369 +0x46a

goroutine 148 [select]:
github.com/filecoin-project/lotus/extern/sector-storage/st ores.(*Local).reportHealth(0xc00010e240, 0x2598c00, 0xc000 124200)
github.com/filecoin-project/lotus/extern/sector-st orage/stores/local.go:301 +0x54c
created by github.com/filecoin-project/lotus/extern/sector -storage/stores.(*Local).open
github.com/filecoin-project/lotus/extern/sector-st orage/stores/local.go:291 +0x236

goroutine 149 [chan receive]:
main.glob..func3.4(0x2598c00, 0xc000124200, 0xc00022a000)
github.com/filecoin-project/lotus/cmd/lotus-seal-w orker/main_com.go:483 +0x65
created by main.glob..func3
github.com/filecoin-project/lotus/cmd/lotus-seal-w orker/main_com.go:482 +0x2085

goroutine 150 [select]:
github.com/filecoin-project/go-jsonrpc.websocketClient.fun c2(0x2598cc0, 0xc0006ba0f0, 0x22eb115, 0x3, 0xc000598080, 0xc0008e2020, 0x16, 0xc0006ba0c0, 0x1, 0x1, ...)
github.com/filecoin-project/[email protected] 201008195726-68c6a2704e49/client.go:218 +0x23e
github.com/filecoin-project/go-jsonrpc.(*client).sendReque st(0xc0004fee70, 0x2598cc0, 0xc0006ba0f0, 0x22eb115, 0x3, 0xc000598080, 0xc0008e2020, 0x16, 0xc0006ba0c0, 0x1, ...)
github.com/filecoin-project/[email protected] 201008195726-68c6a2704e49/client.go:399 +0x178
github.com/filecoin-project/go-jsonrpc.(*rpcFunc).handleRp cCall(0xc0004838b0, 0xc0006ba030, 0x2, 0x2, 0x0, 0x0, 0x0)
github.com/filecoin-project/[email protected] 201008195726-68c6a2704e49/client.go:511 +0x5d8
reflect.callReflect(0xc000543110, 0xc000459ef0, 0xc000459e d8)
reflect/value.go:565 +0x32a
reflect.makeFuncStub(0x2598c00, 0xc000124200, 0xc0008e2000 , 0x1e, 0xc0008e2000, 0x1e, 0xc000459f98, 0x114fa66, 0xc00 0142000, 0x2598c00, ...)
reflect/asm_amd64.s:20 +0x42
github.com/filecoin-project/lotus/api/apistruct.(*StorageM inerStruct).WorkerConnect(0xc000142000, 0x2598c00, 0xc0001 24200, 0xc0008e2000, 0x1e, 0x22ee84c, 0x7)
github.com/filecoin-project/lotus/api/apistruct/st ruct.go:1231 +0x55
main.glob..func3.5(0x25afc40, 0xc000142000, 0x2598c00, 0xc 000124200, 0xc0006a2060, 0x12, 0xc00011a220)
github.com/filecoin-project/lotus/cmd/lotus-seal-w orker/main_com.go:525 +0xc6
created by main.glob..func3
github.com/filecoin-project/lotus/cmd/lotus-seal-w orker/main_com.go:524 +0x26fb

goroutine 151 [sleep]:
time.Sleep(0x34630b8a000)
runtime/time.go:188 +0xbf
main.glob..func3.6(0x25afc40, 0xc000142000, 0x2598c00, 0xc 000124200, 0xc0001226eb, 0x3, 0xc00011a220)
github.com/filecoin-project/lotus/cmd/lotus-seal-w orker/main_com.go:547 +0x45
created by main.glob..func3
github.com/filecoin-project/lotus/cmd/lotus-seal-w orker/main_com.go:533 +0x276e

goroutine 152 [sleep]:
time.Sleep(0xdf8475800)
runtime/time.go:188 +0xbf
main.glob..func3.7(0xc0008e8520, 0x2598c00, 0xc000124200, 0xc00011a220)
github.com/filecoin-project/lotus/cmd/lotus-seal-w orker/main_com.go:560 +0x36
created by main.glob..func3
github.com/filecoin-project/lotus/cmd/lotus-seal-w orker/main_com.go:552 +0x27ba

goroutine 153 [select]:
main.glob..func3.8(0x25afc40, 0xc000142000, 0x2598c00, 0xc 000124200, 0xc00011a220)
github.com/filecoin-project/lotus/cmd/lotus-seal-w orker/main_com.go:570 +0x189
created by main.glob..func3
github.com/filecoin-project/lotus/cmd/lotus-seal-w orker/main_com.go:564 +0x2813

goroutine 26 [select]:
github.com/filecoin-project/go-jsonrpc.(*wsConn).handleWsC onn(0xc000044240, 0x2598cc0, 0xc0004090e0)
github.com/filecoin-project/[email protected] 201008195726-68c6a2704e49/websocket.go:555 +0x488
github.com/filecoin-project/go-jsonrpc.(*RPCServer).handle WS(0xc0006a43b0, 0x2598cc0, 0xc0004090e0, 0x25941c0, 0xc00 00ae000, 0xc0000fe200)
github.com/filecoin-project/[email protected] 201008195726-68c6a2704e49/server.go:65 +0x2d7
github.com/filecoin-project/go-jsonrpc.(*RPCServer).ServeH TTP(0xc0006a43b0, 0x25941c0, 0xc0000ae000, 0xc0000fe200)
github.com/filecoin-project/[email protected] 201008195726-68c6a2704e49/server.go:79 +0x108
github.com/gorilla/mux.(*Router).ServeHTTP(0xc0004e2240, 0 x25941c0, 0xc0000ae000, 0xc0000fe000)
github.com/gorilla/[email protected]/mux.go:210 +0xd3
github.com/filecoin-project/go-jsonrpc/auth.(*Handler).Ser veHTTP(0xc0006a4fd0, 0x25941c0, 0xc0000ae000, 0xc00037c100 )
github.com/filecoin-project/[email protected] 201008195726-68c6a2704e49/auth/handler.go:47 +0x403
net/http.serverHandler.ServeHTTP(0xc00022a000, 0x25941c0, 0xc0000ae000, 0xc00037c100)
net/http/server.go:2843 +0xa3
net/http.(*conn).serve(0xc0000da000, 0x2598c00, 0xc0008ea0 80)
net/http/server.go:1925 +0x8ad
created by net/http.(*Server).Serve
net/http/server.go:2969 +0x36c

goroutine 155 [IO wait]:
internal/poll.runtime_pollWait(0x7f188d645f08, 0x72, 0x257 a5c0)
runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0008f0098, 0x72, 0x257a5 00, 0x4ab9080, 0x0)
internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0008f0080, 0xc0004f3000, 0x100 0, 0x1000, 0x0, 0x0, 0x0)
internal/poll/fd_unix.go:159 +0x1a5
net.(*netFD).Read(0xc0008f0080, 0xc0004f3000, 0x1000, 0x10 00, 0x0, 0x0, 0x0)
net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc0003721d0, 0xc0004f3000, 0x1000, 0x100 0, 0x0, 0x0, 0x0)
net/net.go:182 +0x8e
bufio.(*Reader).fill(0xc000580240)
bufio/bufio.go:101 +0x105
bufio.(*Reader).Peek(0xc000580240, 0x2, 0x0, 0x0, 0x0, 0x0 , 0x0)
bufio/bufio.go:139 +0x4f
github.com/gorilla/websocket.(*Conn).read(0xc0005b8420, 0x 2, 0x0, 0x0, 0x0, 0x0, 0x0)
github.com/gorilla/[email protected]/conn.go:370 +0 x45
github.com/gorilla/websocket.(*Conn).advanceFrame(0xc0005b 8420, 0x0, 0x0, 0x0)
github.com/gorilla/[email protected]/conn.go:798 +0 x5c
github.com/gorilla/websocket.(*Conn).NextReader(0xc0005b84 20, 0x0, 0x0, 0x0, 0x0, 0x0)
github.com/gorilla/[email protected]/conn.go:980 +0 x8f
github.com/filecoin-project/go-jsonrpc.(*wsConn).nextMessa ge(0xc000044240)
github.com/filecoin-project/[email protected] 201008195726-68c6a2704e49/websocket.go:99 +0x5a
created by github.com/filecoin-project/go-jsonrpc.(*wsConn ).handleWsConn
github.com/filecoin-project/[email protected] 201008195726-68c6a2704e49/websocket.go:615 +0x115d

rax 0x0
rbx 0x7f18537fd638
rcx 0x7f18537fe6fc
rdx 0x7f18537fd2cc
rdi 0x0
rsi 0x0
rbp 0x0
rsp 0x7f18537fd2c0
r8 0x0
r9 0x7f1888000b30
r10 0x7f18537fd078
r11 0x206
r12 0x7f18537fd438
r13 0x0
r14 0x2
r15 0x7f18537fd990
rip 0x1afb048
rflags 0x10202
cs 0x33
fs 0x0
gs 0x0

intel主机运行lotus程序出错

之前的版本都没问题能运行,新的版本calibration.8.1.1运行出错,AMD上运行正常,不知编译时加了什么特别参数了没,希望能支持INTEL主机的主节点lotus

多worker部署

你好,看到6block的方案是单机方案,不知道在多worker的配置下是否有优化?

例如两台 3950x 256G RAM做P1,一台 3700 + 128G RAM + 2080TI做P2,这样的配置下6block是否对fetch这块进行改进?

1.2.1 执行出错

lotus -v
lotus: error while loading sheared libraries: libhwloc.so.5: cannot open shared object file: No such file or directory

lotus-miner init 报错

2020-08-24T14:02:03.088+0800 ERROR main lotus-storage-miner/init.go:242Failed to initialize lotus-miner: creating miner failed:
main.storageMinerInit
/home/ps/code/community/lotus/cmd/lotus-storage-miner/init.go:515

  • GasEstimateMessageGas error: estimating gas used: CallWithGas failed: call raw get actor: resolution lookup failed (t3wra7lxygspavyqr7ccl3zjwifnodqmtaspvc4xrs4xg2hwompb3dw4qysbg6ienzjloyhofp7yiwlynmweta): resolve address t3wra7lxygspavyqr7ccl3zjwifnodqmtaspvc4xrs4xg2hwompb3dw4qysbg6ienzjloyhofp7yiwlynmweta: actor not found
    2020-08-24T14:02:03.088+0800 INFO main lotus-storage-miner/init.go:247Cleaning up /root/.lotusminer after attempt...
    ERROR: Storage-miner init failed

调度逻辑和ParallelSealLimit

使用 lotus-worker run --listen xxx.xxx.xxx.xxx:3456 --attach /path/to/another/ssd/directory 后,ParallelSealLimit=4,按照计算方法,单机并发数应该在8个才对,但实际 lotus-worker 运行后最大p1并发数为5个,而当P2 和 C2启动后,P1为1-2个,C2为1个,程序不继续增加P1.如下:

addf6689  440     0ac98d32  192.168.20.193:1093  PC1   running   1h49m50.5s
d4a363b8  442     7f51b818  192.168.20.188:1088  PC1   running   1h4m1s
36f74ccb  443     7f51b818  192.168.20.188:1088  PC1   running   1h3m9s
cbcc74f8  444     7f51b818  192.168.20.188:1088  PC1   running   1h2m9.7s
b64e62d3  445     7f51b818  192.168.20.188:1088  PC1   running   1h0m48s
f47ccd04  446     7f51b818  192.168.20.188:1088  PC1   running   59m21.5s
3a0d1696  434     0ac98d32  192.168.20.193:1093  C2    running   15m57.7s
e3ebe5e5  441     0ac98d32  192.168.20.193:1093  PC1   running   15m0.6s

同时请问,该挖矿软件支持双显卡运行吗?(单卡)是否可以并行2个P2?

Xubuntu20用不了

goroutine 2429 [chan receive]:
github.com/filecoin-project/lotus/node/modules.RunHello.func1(0x2beee80, 0xc030a9c480, 0xc030a9c390, 0x7f6c6017c170, 0xc000122000, 0x2bd4a80, 0xc000432c90)
/home/ps/share/ssd/code/test.0.4.1.community/node/modules/services.go:40 +0xcb
created by github.com/filecoin-project/lotus/node/modules.RunHello
/home/ps/share/ssd/code/test.0.4.1.community/node/modules/services.go:39 +0x258

goroutine 2430 [chan receive]:
github.com/filecoin-project/lotus/lib/peermgr.(*PeerMgr).Run(0xc018f6b260, 0x2c07940, 0xc057bc06c0)
/home/ps/share/ssd/code/test.0.4.1.community/lib/peermgr/peermgr.go:113 +0xa6
created by github.com/filecoin-project/lotus/node/modules.RunPeerMgr
/home/ps/share/ssd/code/test.0.4.1.community/node/modules/services.go:54 +0x7f

goroutine 2431 [select]:
github.com/libp2p/go-libp2p-pubsub.(*Subscription).Next(0xc057bc0740, 0x2c07940, 0xc057bc0700, 0x4a, 0x50, 0x9eb00941e51)
/home/ps/go/pkg/mod/github.com/libp2p/[email protected]/subscription.go:24 +0xd8
github.com/filecoin-project/lotus/chain/sub.HandleIncomingBlocks(0x2c07940, 0xc057bc0700, 0xc057bc0740, 0xc030668300, 0x2c224e0, 0xc000020000)
/home/ps/share/ssd/code/test.0.4.1.community/chain/sub/incoming.go:44 +0x5a
created by github.com/filecoin-project/lotus/node/modules.HandleIncomingBlocks
/home/ps/share/ssd/code/test.0.4.1.community/node/modules/services.go:80 +0x2ef

goroutine 2432 [chan receive]:
github.com/whyrusleeping/pubsub.(*PubSub).start(0xc030661080)
/home/ps/go/pkg/mod/github.com/whyrusleeping/[email protected]/pubsub.go:106 +0x1b5
created by github.com/whyrusleeping/pubsub.New
/home/ps/go/pkg/mod/github.com/whyrusleeping/[email protected]/pubsub.go:42 +0x95

rax 0x40a
rbx 0x7f6c397f8940
rcx 0x4
rdx 0x0
rdi 0x7f6c397f8ae0
rsi 0x7f6c397f8a80
rbp 0x7f6c397f8c60
rsp 0x7f6c397f8940
r8 0x4b1ba7b6434bac01
r9 0x5f48985753c758ba
r10 0x7ce5e6eaf9060043
r11 0x8194f07d5e7c38f
r12 0x7f6c397f8a80
r13 0x7f6c397f8b10
r14 0x7f6c397f8ae0
r15 0x7f6c397f89a0
rip 0x2070f18
rflags 0x10202
cs 0x33
fs 0x0
gs 0x0
root@cheng-W2600CR:~#

miner程序一直开着的,lotus区块程序也很正常,也会掉算力

Sector Size: 32 GiB
Byte Power: 3.469 TiB / 651.5 PiB (0.0005%)
Actual Power: 3.47 Ti / 651 Pi (0.0005%)
Committed: 49.19 TiB
Proving: 49.19 TiB (45.72 TiB Faulty, 92.94%)
Below minimum power threshold, no blocks will be won
Deals: 3, 256.2 MiB
Active: 2, 256.1 MiB (Verified: 0, 0 B)

Miner Balance: 303.947075999972695002 FIL
PreCommit: 0.279854834014328148 FIL
Pledge: 303.667221165958366854 FIL
Vesting: 0 FIL
Available: -27.317131315439203773 FIL
Worker Balance: 41.461981911264889308 FIL
Market (Escrow): 0.000025827721255692 FIL
Market (Locked): 0.000025439196255692 FIL

Expected Seal Duration: 10h0m0s

Sectors:
Total: 2485 (3)
Proving: 1523 (2)
Removed: 494 (0)
SealPreCommit1Failed: 1 (1)
SealPreCommit2Failed: 27 (0)
PreCommitFailed: 49 (0)
ComputeProofFailed: 80 (0)
RemoveFailed: 241 (0)
FatalError: 70 (0)
root@cheng111:~# lotus-miner actor control list
name ID key use balance
owner f045550 f3qveixpo... other 41.461981911264889308 FIL
worker f045550 f3qveixpo... other 41.461981911264889308 FIL
control-0 f055491 f3uh2o4h7... post 99.999900730207571978 FIL

lotus 很长时间更新不了

root@chen:~# lotus sync wait
Worker: 0; Base: 155696; Target: 155719 (diff: 23)
State: complete; Current Epoch: 155719; Todo: 0

算力掉了,也是几天都没有恢复,被惩罚了,余额快变负了

Sector Size: 32 GiB
Byte Power: 3.469 TiB / 641.5 PiB (0.0005%)
Actual Power: 3.47 Ti / 642 Pi (0.0005%)
Committed: 48.12 TiB
Proving: 47.62 TiB (44.16 TiB Faulty, 91.75%)
Below minimum power threshold, no blocks will be won
Deals: 3, 256.2 MiB
Active: 2, 256.1 MiB (Verified: 0, 0 B)

Miner Balance: 320.060943863138028766 FIL
PreCommit: 13.509434859393230105 FIL
Pledge: 297.150272310132587349 FIL
Vesting: 0 FIL
Available: 9.401236693612211312 FIL
Worker Balance: 133.998009896672998861 FIL
Market (Escrow): 0.000025467996255692 FIL
Market (Locked): 0.000025439196255692 FIL

Expected Seal Duration: 10h0m0s

Sectors:
Total: 2383 (3)
Proving: 1489 (2)
Removed: 426 (0)
SealPreCommit1Failed: 1 (1)
SealPreCommit2Failed: 48 (0)
ComputeProofFailed: 116 (0)
RemoveFailed: 233 (0)
FatalError: 70 (0)

windowPOST ERROR

calibration 8.13.3

2020-08-15T21:23:56.942+0800 ERROR storageminer storage/wdpost_run.go:55 submitPost failed: pushing message to mpool:
github.com/filecoin-project/lotus/storage.(*WindowPoStScheduler).submitPost
/home/ps/code/community/8.13.3/storage/wdpost_run.go:472

  • estimating gas used: message execution failed: exit 16, reason: post commit randomness mismatched (RetCode=16)
    2020-08-15T21:23:56.942+0800 ERROR storageminer storage/wdpost_run.go:28 TODO

lotus-miner算力全部掉了

root@chen:~# lotus-miner info
Miner: f033224
Sector Size: 32 GiB
Byte Power: 0 B / 592.1 PiB (0.0000%)
Actual Power: 0 / 592 Pi (0.0000%)
Committed: 16.69 TiB
Proving: 13.72 TiB (13.72 TiB Faulty, 82.20%)
Below minimum power threshold, no blocks will be won
Deals: 1, 128 KiB
Active: 0, 0 B (Verified: 0, 0 B)

Miner Balance: 121.945116005759412969 FIL
PreCommit: 12.634312611511189367 FIL
Pledge: 91.3715043873677137 FIL
Vesting: 0 FIL
Available: 17.939299006880509902 FIL
Worker Balance: 0.04447802314095571 FIL
Market (Escrow): 0.000000008916807734 FIL
Market (Locked): 0.000000008916807734 FIL

Expected Seal Duration: 10h0m0s

Sectors:
Total: 1327 (1)
Proving: 476 (0)
PreCommit1: 83 (0)
PreCommit2: 67 (0)
Committing: 47 (0)
Removed: 504 (0)
SealPreCommit2Failed: 9 (0)
PreCommitFailed: 40 (1)
ComputeProofFailed: 5 (0)
RemoveFailed: 7 (0)
FatalError: 89 (0)

I have set export BELLMAN_NO_GPU=true, In log it showed no GPU

I have set BELLMAN_NO_GPU=true

root@node1:/jacklotus# echo $BELLMAN_NO_GPU
true

but in logs, It shows:

root@node1:/jacklotus# tail -f worker2.log
2020-06-28T06:59:22.889 INFO bellperson::gpu::locks > GPU is available for FFT!
2020-06-28T06:59:22.889 DEBUG bellperson::gpu::locks > Acquiring GPU lock...
2020-06-28T06:59:22.889 DEBUG bellperson::gpu::locks > GPU lock acquired!
2020-06-28T06:59:22.889 DEBUG bellperson::gpu::locks > GPU lock released!
2020-06-28T06:59:22.889 WARN bellperson::domain > Cannot instantiate GPU FFT kernel! Error: GPUError: No working GPUs found!

maybe cpu is working now, but log shows no GPU, this is a bug or just error log output?

here is top:
任务: 920 total, 1 running, 578 sleeping, 0 stopped, 0 zombie
%Cpu0 :100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu1 :100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu2 :100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu3 :100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu4 : 99.7 us, 0.3 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu5 :100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu6 :100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu7 : 97.4 us, 2.6 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu8 :100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu9 :100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu10 : 95.7 us, 3.9 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
%Cpu56 : 99.7 us, 0.3 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu57 :100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu58 : 99.3 us, 0.7 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu59 :100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu60 :100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu61 :100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu62 :100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu63 : 99.3 us, 0.7 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 52825644+total, 84000688 free, 21733070+used, 22692504+buff/cache
KiB Swap: 67108860 total, 65991932 free, 1116928 used. 30841689+avail Mem

WHY?

lotus-miner init 一直卡在Waiting for confirmation

想請問lotus-miner init fetch param 成功, sync 也成功
但一直卡在Waiting for confirmation是甚麼原因, 或是要怎麼修改呢?
版本 lotus version 1.4.0+git.bb5a92e
我的帳戶裡面有2 FIL
已經照著官方git等了900個epochs, 但仍然卡著
想請問高手是否有解法?

2021-01-04T15:56:46.157+0800    INFO    main    lotus-storage-miner/init.go:166 Checking if repo exists
2021-01-04T15:56:46.157+0800    INFO    main    lotus-storage-miner/init.go:182 Checking full node version
2021-01-04T15:56:46.158+0800    INFO    main    lotus-storage-miner/init.go:193 Initializing repo
2021-01-04T15:56:46.158+0800    INFO    repo    repo/fsrepo.go:121      Initializing repo at '/home/ipfs/fscoin_miner'
2021-01-04T15:56:46.213+0800    INFO    main    lotus-storage-miner/init.go:407 Initializing libp2p identity
2021-01-04T15:56:46.728+0800    INFO    badger  [email protected]/levels.go:183      All 0 tables opened in 0s

2021-01-04T15:56:47.001+0800    INFO    badger  [email protected]/levels.go:183      All 0 tables opened in 0s

2021-01-04T15:57:14.076+0800    INFO    main    lotus-storage-miner/init.go:699 Pushed CreateMiner message: bafy2bzacea3jbetykfe4osu4b5ndo3vgqsh7zhv56a4bzlcppqzuo3cio6o4s
2021-01-04T15:57:14.076+0800    INFO    main    lotus-storage-miner/init.go:700 Waiting for confirmation
  MaxPreCommitGasFee = "0.3 FIL"  
  MaxCommitGasFee = "0.3 FIL"  
  MaxWindowPostGasFee = "0.5 FIL"  
  MaxPublishDealsFee = "0.3 FIL"  
  MaxMarketBalanceAddFee = "0.3 FIL"  
{
  "Message": {
    "Version": 0,
    "To": "f04",
    "From": "f3r7454uq64e4szrkt4gxyju7bvkuhfgghi6lceffxf72cd75ypo3w6rfr625yyczikpcbea5vduntvmnwubga",
    "Nonce": 12,
    "Value": "0",
    "GasLimit": 35717321,
    "GasFeeCap": "195983343",
    "GasPremium": "99859",
    "Method": 2,
    "CID": {
      "/": "bafy2bzacea3jbetykfe4osu4b5ndo3vgqsh7zhv56a4bzlcppqzuo3cio6o4s"
    }
  },
  "Signature": {
    
  }
}

some deals failed

In lotus-storage-miner sectors list, we will see:

265: FaultedFinal sSet: NO pSet: NO tktH: 0 seedH: 0 deals: [5689 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
266: FaultedFinal sSet: NO pSet: NO tktH: 0 seedH: 0 deals: [5698 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
267: FaultedFinal sSet: NO pSet: NO tktH: 0 seedH: 0 deals: [5703 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]

I have checked it with SealPreCommit1 Failed, I run lotus-storage-miner sectors update-state --really-do-it 266 FaultedFinal for the FaultedFinal.

In worker`s log , we will see:
2020-07-16T09:08:58.007+0800 DEBUG advmgr sector-storage/localworker.go:72 acquired sector {117803 265} (e:1; a:0): {{0 0} /jacklotus/lotusworker/unsealed/s-t0117803-265 }
2020-07-16T09:08:58.012+0800 WARN rpc go-jsonrpc/handler.go:226 error in RPC call to 'Filecoin.SealPreCommit1': acquiring sector paths:
github.com/filecoin-project/sector-storage/ffiwrapper.(*Sealer).SealPreCommit1
/home/ps/share/ssd/code/test.0.4.1.community/extern/sector-storage/ffiwrapper/sealer_cgo.go:429

  • local acquire error:
    github.com/filecoin-project/sector-storage/stores.(*Remote).AcquireSector
    /home/ps/share/ssd/code/test.0.4.1.community/extern/sector-storage/stores/remote.go:87
  • couldn't find a suitable path for a sector:
    github.com/filecoin-project/sector-storage/stores.(*Local).AcquireSector
    /home/ps/share/ssd/code/test.0.4.1.community/extern/sector-storage/stores/local.go:315
    2020-07-16T09:09:56.012+0800 DEBUG advmgr sector-storage/localworker.go:72 acquired sector {117803 267} (e:1; a:0): {{0 0} /jacklotus/lotusworker/unsealed/s-t0117803-267 }
    2020-07-16T09:09:56.017+0800 WARN rpc go-jsonrpc/handler.go:226 error in RPC call to 'Filecoin.SealPreCommit1': acquiring sector paths:
    github.com/filecoin-project/sector-storage/ffiwrapper.(*Sealer).SealPreCommit1
    /home/ps/share/ssd/code/test.0.4.1.community/extern/sector-storage/ffiwrapper/sealer_cgo.go:429
  • local acquire error:
    github.com/filecoin-project/sector-storage/stores.(*Remote).AcquireSector
    /home/ps/share/ssd/code/test.0.4.1.community/extern/sector-storage/stores/remote.go:87
  • couldn't find a suitable path for a sector:
    github.com/filecoin-project/sector-storage/stores.(*Local).AcquireSector
    /home/ps/share/ssd/code/test.0.4.1.community/extern/sector-storage/stores/local.go:315

I have met this problem in my debug, Maybe the cause that sched assign a wrong req to the worker.

the bug caused by assgin AddPiece to a worker but not to a miner.
when pledge, It`s running normally.
but if deals some, some time the error will occured.

About Benchmark

For this compiled version, is there any benchmark with official one?

by the way:


# 可选的环境变量
# 以下设置会让worker使用GPU计算PreCommit2。
export FIL_PROOFS_USE_GPU_COLUMN_BUILDER=1 #  benchmark ??
export FIL_PROOFS_USE_GPU_TREE_BUILDER=1 # benchmark ??

# 以下设置会让worker不使用GPU计算Commit2,而改用CPU。
# export BELLMAN_NO_GPU=true # benchmark ??

What is the benchmark of using GPU and not-using GPU? curious
what is best config? I think default is the best, which is same as:

export FIL_PROOFS_USE_GPU_COLUMN_BUILDER=1
export FIL_PROOFS_USE_GPU_TREE_BUILDER=1

Cannot switch to official miner

Background:

  • I can use official miner and 6block miner both
  • My machine is 3970X and 256G RAM and 64 Swap when I change from --max-parallel 2 to --max-parallel 3(cannot run), and then change back, the worker will shutting down when running (can successfully finish sealing only 1 or 2 times)
  • so I change to official code, and found the errors below (I checked the path config is ok):

Just marked it here, and I will re-init and test the code switch again

2020-06-26T11:10:09.205+0800	INFO	sectors	[email protected]/garbage.go:24	Pledge {106509 20}, contains []
2020-06-26T11:10:09.205+0800	DEBUG	stores	stores/index.go:370	not allocating on a7ba966e-82cc-419e-9a6f-2d06cd055188, didn't receive heartbeats for 7h25m10.295901813s
2020-06-26T11:10:09.205+0800	ERROR	sectors	[email protected]/garbage.go:68	add piece:
    github.com/filecoin-project/storage-fsm.(*Sealing).pledgeSector
        /**/go/pkg/mod/github.com/filecoin-project/[email protected]/garbage.go:30
  - finding best alloc storage:
    github.com/filecoin-project/sector-storage.(*allocSelector).Ok
        /**/go/pkg/mod/github.com/filecoin-project/[email protected]/selector_alloc.go:49
  - no good path found:
    github.com/filecoin-project/sector-storage/stores.(*Index).StorageBestAlloc
        /**/go/pkg/mod/github.com/filecoin-project/[email protected]/stores/index.go:383

lotus-miner net reachability

Hi 大哥,
想請問我現在lotus-miner run
遇到了
failed to negotiate security protocol: peer id mismatch: expected xxxxxxxxxxx, but remote key matches yyyyyyyyyyyyy
這個又是甚麼問題呢?

升级后worker报错

升级后pc1和pc2会并行,过一会就报错:
miner log:
2020-11-24T19:44:23.853+0800 INFO advmgr sector-storage/sched_worker.go:441 stats {"type": "run task start", "wid": [165,163,242,2,52,255,72,231,177,32,79,10,62,186,99,4], "worker": "10.10.10.22:3456", "taskType": "seal/v0/precommit/2", "sectorMiner": "18501", "sectorNumber": "3341"}
2020-11-24T19:47:39.511+0800 INFO advmgr sector-storage/sched_worker.go:443 stats {"type": "run task end", "wid": [165,163,242,2,52,255,72,231,177,32,79,10,62,186,99,4], "worker": "10.10.10.22:3456", "taskType": "seal/v0/precommit/2", "sectorMiner": "18501", "sectorNumber": "3341"}
2020-11-24T19:47:39.512+0800 WARN sectors storage-sealing/fsm.go:523 sector 3341 got error event sealing.SectorSealPreCommit2Failed: seal pre commit(2) failed: storage call error 0: presealing sector 3341 (): Rust panic: no unwind information
2020-11-24T19:47:39.519+0800 INFO sectors storage-sealing/states_failed.go:27 SealPreCommit2Failed(3341), waiting 59.480119969s before retrying
2020-11-24T19:48:39.000+0800 WARN sectors storage-sealing/states_failed.go:80 sector 3341 failed for Rust panic, retry PreCommit1
2020-11-24T19:48:39.004+0800 INFO sectors storage-sealing/states_failed.go:27 SealPreCommit1Failed(3341), waiting 59.995997487s before retrying
2020-11-24T19:49:39.006+0800 INFO advmgr sector-storage/sched_worker.go:441 stats {"type": "run task start", "wid": [165,163,242,2,52,255,72,231,177,32,79,10,62,186,99,4], "worker": "10.10.10.22:3456", "taskType": "seal/v0/finalize", "sectorMiner": "18501", "sectorNumber": "3341"}

worker log:
thread '' panicked at 'failed to flatten and write store: Bad file descriptor (os error 9)', /home/ps/.cargo/registry/src/github.com-1ecc6299db9ec823/storage-proofs-porep-5.4.0/src/stacked/vanilla/proof.rs:580:64
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
thread '' panicked at 'failed to send columns: "SendError(..)"', /home/ps/.cargo/registry/src/github.com-1ecc6299db9ec823/storage-proofs-porep-5.4.0/src/stacked/vanilla/proof.rs:502:34

lotus@lotus:~$ lotus-miner sectors status --log 3341
SectorID: 3341
Status: Removing
CIDcommD:
CIDcommR:
Ticket: e8c9391a4c909bfcaae8fa85d7cf0f9a29c48d0b81e743bad9d5dcf0efd43400
TicketH: 261452
Seed:
SeedH: 0
Precommit:
Commit:
Proof:
Deals: [0]
Retries: 0

Event Log:
0. 2020-11-24 08:16:29 +0800 CST: [event;sealing.SectorStartCC] {"User":{"ID":3341,"SectorType":3,"Pieces":[{"Piece":{"Size":34359738368,"PieceCID":{"/":"baga6ea4seaqao7s73y24kcutaosvacpdjgfe5pw76ooefnyqw4ynr3d2y6x2mpq"}},"DealInfo":null}]}}

  1.  2020-11-24 08:16:29 +0800 CST:  [event;sealing.SectorPacked]    {"User":{"FillerPieces":null}}
    
  2.  2020-11-24 14:18:23 +0800 CST:  [event;sealing.SectorPreCommit1]        {"User":{"PreCommit1Out":"eyJyZWdpc3RlcmVkX3Byb29mIjoiU3RhY2tlZERyZzMyR2lCVjEiLCJsYWJlbHMiOnsiU3RhY2tlZERyZzMyR2lCVjEiOnsibGFiZWxzIjpbeyJwYXRoIjoiL2ZpbGVjb2luL3dvcms1L2NhY2hlL3MtdDAxODUwMS0zMzQxIiwiaWQiOiJsYXllci0xIiwic2l6ZSI6MTA3Mzc0MTgyNCwicm93c190b19kaXNjYXJkIjo3fSx7InBhdGgiOiIvZmlsZWNvaW4vd29yazUvY2FjaGUvcy10MDE4NTAxLTMzNDEiLCJpZCI6ImxheWVyLTIiLCJzaXplIjoxMDczNzQxODI0LCJyb3dzX3RvX2Rpc2NhcmQiOjd9LHsicGF0aCI6Ii9maWxlY29pbi93b3JrNS9jYWNoZS9zLXQwMTg1MDEtMzM0MSIsImlkIjoibGF5ZXItMyIsInNpemUiOjEwNzM3NDE4MjQsInJvd3NfdG9fZGlzY2FyZCI6N30seyJwYXRoIjoiL2ZpbGVjb2luL3dvcms1L2NhY2hlL3MtdDAxODUwMS0zMzQxIiwiaWQiOiJsYXllci00Iiwic2l6ZSI6MTA3Mzc0MTgyNCwicm93c190b19kaXNjYXJkIjo3fS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NjYXJkIjo3fSwiY29tbV9kIjpbNywxMjYsOTUsMjIyLDUzLDE5NywxMCwxNDcsMywxNjUsODAsOSwyMjcsNzMsMTM4LDc4LDE5MCwyMjMsMjQzLDE1Niw2NiwxODMsMTYsMTgzLDQ4LDIxNiwyMzYsMTIyLDE5OSwxNzUsMTY2LDYyXX0=","TicketValue":"6Mk5GkyQm/yq6PqF188PminEjQuB50O62dXc8O/UNAA=","TicketEpoch":261452}}
    
  3.  2020-11-24 18:09:58 +0800 CST:  [event;sealing.SectorRestart]   {"User":{}}
    
  4.  2020-11-24 18:10:03 +0800 CST:  [event;sealing.SectorSealPreCommit2Failed]      {"User":{}}
     seal pre commit(2) failed: runSched didn't find any good workers
    
  5.  2020-11-24 18:11:03 +0800 CST:  [event;sealing.SectorRetrySealPreCommit2]       {"User":{}}
    
  6.  2020-11-24 18:11:03 +0800 CST:  [event;sealing.SectorSealPreCommit2Failed]      {"User":{}}
     seal pre commit(2) failed: runSched didn't find any good workers
    
  7.  2020-11-24 18:12:03 +0800 CST:  [event;sealing.SectorRetrySealPreCommit2]       {"User":{}}
    
  8.  2020-11-24 18:12:03 +0800 CST:  [event;sealing.SectorSealPreCommit2Failed]      {"User":{}}
     seal pre commit(2) failed: runSched didn't find any good workers
    
  9.  2020-11-24 18:13:03 +0800 CST:  [event;sealing.SectorRetrySealPreCommit2]       {"User":{}}
    
  10. 2020-11-24 18:13:03 +0800 CST:  [event;sealing.SectorSealPreCommit2Failed]      {"User":{}}
    seal pre commit(2) failed: runSched didn't find any good workers
    
  11. 2020-11-24 18:14:03 +0800 CST:  [event;sealing.SectorRetrySealPreCommit2]       {"User":{}}
    
  12. 2020-11-24 18:14:03 +0800 CST:  [event;sealing.SectorSealPreCommit2Failed]      {"User":{}}
    seal pre commit(2) failed: runSched didn't find any good workers
    
  13. 2020-11-24 18:15:03 +0800 CST:  [event;sealing.SectorRetrySealPreCommit2]       {"User":{}}
    
  14. 2020-11-24 18:15:03 +0800 CST:  [event;sealing.SectorSealPreCommit2Failed]      {"User":{}}
    seal pre commit(2) failed: runSched didn't find any good workers
    
  15. 2020-11-24 18:16:03 +0800 CST:  [event;sealing.SectorRetrySealPreCommit2]       {"User":{}}
    
  16. 2020-11-24 18:16:03 +0800 CST:  [event;sealing.SectorSealPreCommit2Failed]      {"User":{}}
    seal pre commit(2) failed: runSched didn't find any good workers
    
  17. 2020-11-24 18:17:03 +0800 CST:  [event;sealing.SectorRetrySealPreCommit2]       {"User":{}}
    
  18. 2020-11-24 19:47:39 +0800 CST:  [event;sealing.SectorSealPreCommit2Failed]      {"User":{}}
    seal pre commit(2) failed: storage call error 0: presealing sector 3341 (): Rust panic: no unwind information
    
  19. 2020-11-24 19:48:39 +0800 CST:  [event;sealing.SectorRetrySealPreCommit1]       {"User":{}}
    
  20. 2020-11-24 19:49:39 +0800 CST:  [event;sealing.SectorRemove]    {"User":{}}
    

Time sync

Could you please remove time sync at start of lotus or make it optional, cause if provider block 123 port lotus can't start

这是掉算力的原因吗

2020-10-28T05:41:30.281+0800 �[34mINFO�[0m rpc [email protected]/client.go:346 rpc output message buffer {"n": 2}
2020-10-28T05:41:30.324+0800 �[34mINFO�[0m rpc [email protected]/client.go:346 rpc output message buffer {"n": 3}
2020-10-28T05:41:30.378+0800 �[34mINFO�[0m rpc [email protected]/client.go:346 rpc output message buffer {"n": 4}
2020-10-28T05:41:30.529+0800 �[34mINFO�[0m rpc [email protected]/client.go:346 rpc output message buffer {"n": 5}

Could you share the sourcecode?

I have test the bundle, It works fine. but still have some little problems.
could you share the sourcecode?
I`m so interesting to improve it.
Cool job!

算力掉了,几天都没有恢复

ee@ee:$ lotus -v
lotus version 1.1.0+git.420ec18c
ee@ee:
$ lotus-miner info
Miner: f022880
Sector Size: 32 GiB
Byte Power: 160 GiB / 636.5 PiB (0.0000%)
Actual Power: 160 Gi / 637 Pi (0.0000%)
Committed: 3.844 TiB
Proving: 3.75 TiB (3.594 TiB Faulty, 93.49%)
Below minimum power threshold, no blocks will be won
Deals: 0, 0 B
Active: 0, 0 B (Verified: 0, 0 B)

Miner Balance: 118.958743209385893092 FIL
PreCommit: 0.150079482199452113 FIL
Pledge: 23.05215882194529243 FIL
Vesting: 0 FIL
Available: 95.756504905241148549 FIL
Worker Balance: 3.189248650633714623 FIL
Market (Escrow): 0 FIL
Market (Locked): 0 FIL

Expected Seal Duration: 24h0m0s

Sectors:
Total: 156
Proving: 120
PreCommit1: 1
Committing: 1
Removing: 1
Removed: 22
FailedUnrecoverable: 11

网端口50666映射到了本地端口50888,请问这个映射端口是起什么作用的?如果在一个大型的内网中映射不了这个端口,还能挖矿么?

进阶:公网ip端口绑定,假设公网ip为183.38.3.106,并将公网端口50666映射到了本地端口50888,修改lotus的config.toml,将Libp2p下的ListenAddresses和AnnounceAddresses配置如下

ListenAddresses = ["/ip4/0.0.0.0/tcp/50888"]
AnnounceAddresses = ["/ip4/183.38.3.106/tcp/50666", "/ip4/127.0.0.1/tcp/50888"]

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.