Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jsonrpc default queue seems too small #12534

Open
5 of 11 tasks
ribasushi opened this issue Oct 1, 2024 · 1 comment
Open
5 of 11 tasks

jsonrpc default queue seems too small #12534

ribasushi opened this issue Oct 1, 2024 · 1 comment
Labels
kind/bug Kind: Bug

Comments

@ribasushi
Copy link
Collaborator

Checklist

  • This is not a security-related bug/issue. If it is, please follow please follow the security policy.
  • I have searched on the issue tracker and the lotus forum, and there is no existing related issue or discussion.
  • I am running the Latest release, the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.
  • I did not make any code changes to lotus.

Lotus component

  • lotus daemon - chain sync
  • lotus fvm/fevm - Lotus FVM and FEVM interactions
  • lotus miner/worker - sealing
  • lotus miner - proving(WindowPoSt/WinningPoSt)
  • lotus JSON-RPC API
  • lotus message management (mpool)
  • Other

Lotus Version

All recent versions ( 1.29.1, master, etc )

Repro Steps

Run lotus chain export --recent-stateroots 1802 --skip-old-msgs /dev/null (done with calibnet for expedience)

/dev/null guarantees non-blocking instantaneous writes.

When the export is half-way done, observe tons of messages from the cli (not daemon) side:

...
2024-10-01T09:07:14.512Z        WARN    rpc     [email protected]/websocket.go:677      frame executor queue is backlogged      {"queued": 256, "cap": 256}
2024-10-01T09:07:14.535Z        WARN    rpc     [email protected]/websocket.go:677      frame executor queue is backlogged      {"queued": 256, "cap": 256}
2024-10-01T09:07:14.555Z        WARN    rpc     [email protected]/websocket.go:677      frame executor queue is backlogged      {"queued": 256, "cap": 256}
2024-10-01T09:07:14.573Z        WARN    rpc     [email protected]/websocket.go:677      frame executor queue is backlogged      {"queued": 256, "cap": 256}
2024-10-01T09:07:14.591Z        WARN    rpc     [email protected]/websocket.go:677      frame executor queue is backlogged      {"queued": 256, "cap": 256}
2024-10-01T09:07:14.609Z        WARN    rpc     [email protected]/websocket.go:677      frame executor queue is backlogged      {"queued": 256, "cap": 256}
2024-10-01T09:07:14.626Z        WARN    rpc     [email protected]/websocket.go:677      frame executor queue is backlogged      {"queued": 256, "cap": 256}
2024-10-01T09:07:14.644Z        WARN    rpc     [email protected]/websocket.go:677      frame executor queue is backlogged      {"queued": 256, "cap": 256}
2024-10-01T09:07:14.661Z        WARN    rpc     [email protected]/websocket.go:677      frame executor queue is backlogged      {"queued": 256, "cap": 256}
...

Describe the Bug

Current default settings of the jsonrpc emitter seem incompatible with chain exporting mode.

Logging Information

See `Repro Steps` above
@ribasushi ribasushi added the kind/bug Kind: Bug label Oct 1, 2024
@ribasushi
Copy link
Collaborator Author

ribasushi commented Oct 1, 2024

cc @rvagg as having worked in this area quite recently in #11920

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Kind: Bug
Projects
Status: 📌 Triage
Development

No branches or pull requests

1 participant