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

produceBlock takes so much time on mainnet #5226

Closed
twoeths opened this issue Mar 1, 2023 · 4 comments
Closed

produceBlock takes so much time on mainnet #5226

twoeths opened this issue Mar 1, 2023 · 4 comments
Labels
prio-high Resolve issues as soon as possible.

Comments

@twoeths
Copy link
Contributor

twoeths commented Mar 1, 2023

Describe the bug

Sometimes it takes 9s to produce block:

1047041:Feb-28 19:45:35.129[rest]            debug: Req req-gsso produceBlockV2
1047160:Feb-28 19:45:44.222[rest]            debug: Res req-gsso produceBlockV2 - 200

I was not able to find which apis cause time in the log

Expected behavior

  • Should log the time for produceBlock
  • Investigate what caused the issue

Desktop (please complete the following information):

  • Version: v1.4.2
  • Network: mainnet
@twoeths
Copy link
Contributor Author

twoeths commented Mar 3, 2023

this was caught in the REST api response time on Feb 28

Screen Shot 2023-03-03 at 13 58 00

confirmed in the log, there were 4 produceBlockV2 calls in total, the last one took almost 10s

155000:Feb-28 02:40:47.244[rest]            debug: Req req-foga produceBlockV2
155002:Feb-28 02:40:47.671[rest]            debug: Res req-foga produceBlockV2 - 200
560740:Feb-28 10:14:47.038[rest]            debug: Req req-g35r produceBlockV2
560743:Feb-28 10:14:47.634[rest]            debug: Res req-g35r produceBlockV2 - 200
782386:Feb-28 14:34:59.036[rest]            debug: Req req-gbhq produceBlockV2
782395:Feb-28 14:34:59.644[rest]            debug: Res req-gbhq produceBlockV2 - 200
1038917:Feb-28 19:40:48.058[rest]            debug: Req req-gkj0 produceBlockV2
1039048:Feb-28 19:40:57.945[rest]            debug: Res req-gkj0 produceBlockV2 - 200

however block production time were all < 1s

Screen Shot 2023-03-03 at 14 09 55

could be something related to block serialization

@twoeths
Copy link
Contributor Author

twoeths commented Mar 3, 2023

was able to catch a big execution payload fetch time on rescue node

Screen Shot 2023-03-03 at 15 01 08

@philknows philknows added the prio-high Resolve issues as soon as possible. label Mar 5, 2023
@twoeths
Copy link
Contributor Author

twoeths commented Mar 6, 2023

could be something related to block serialization

confirm that streaming block json to vc takes time sometimes, see #5227 (comment)

@dapplion
Copy link
Contributor

dapplion commented Jun 1, 2023

Closing non-actionable issue

@dapplion dapplion closed this as completed Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
prio-high Resolve issues as soon as possible.
Projects
None yet
Development

No branches or pull requests

3 participants