Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Prover: stucks with no capacity #401

Closed
davaymne opened this issue Sep 21, 2023 · 5 comments · Fixed by #402
Closed

Prover: stucks with no capacity #401

davaymne opened this issue Sep 21, 2023 · 5 comments · Fixed by #402

Comments

@davaymne
Copy link

What: Prover gets stuck with "no capacity"
Prover: 0xfbfd4F6993BC0D3481B9bf61AD0892f817a2e7aC

Background
It has been working for a while and then at some time after successfull Proof:

INFO [09-21|02:53:28.264] Proof generated                          height=20650 degree=22 time=4m0.02887416s
INFO [09-21|02:53:28.264] New valid block proof                    blockID=20650 proposer=0x53bC9E660415632C1487Baf7d7f3725fB49870FA hash=9f8fc5..c8b999 proof=0000000000000000000000000000000098862a308e41d

It sends a message

ERROR[09-21|03:19:40.905] Handle new BlockProposed event error     error="no prover capacity available"

And begins:

INFO [09-21|03:19:49.866] Cancel proof generation for block        blockId=20588
INFO [09-21|03:19:49.866] Proposed block information               blockID=20588 prover=0xfbfd4F6993BC0D3481B9bf61AD0892f817a2e7aC proposedAt=1,695,264,012
INFO [09-21|03:19:49.866] Proposed block is provable               blockID=20588 prover=0xfbfd4F6993BC0D3481B9bf61AD0892f817a2e7aC proofWindowExpired=false

As per status it says:

{"minProofFee":10,"maxExpiry":3600,"currentCapacity":0}

While TTKOj token balance is enough.

Workaround:
It gets back to normal after restart.

@davidtaikocha
Copy link
Member

Is Cancel proof generation for block log the reason? cc @cyberhorsey

@davaymne
Copy link
Author

davaymne commented Sep 21, 2023

I dont know what is the reason... This is my current request for this.
But if it canceled, why it did not release capacity and keeps returning "currentCapacity":0 untill it is restarted?

@davidtaikocha
Copy link
Member

Opened a PR to try to fix this: #402

@davaymne
Copy link
Author

It happened again.
Any logs needed?

@davaymne
Copy link
Author

Could you pls clarify a case when "local proof generation can be canceled".

  • Proposer assigns proposed block for prover and no one can submit proof for current block unless time is expired, which is 5400 sec.

In the logs I dont see any proofs generating up to 5400 sec, in fact it was no more then 5 min

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: Done
3 participants