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

Slow response on RPC endpoints at high block height #1830

Closed
kantai opened this issue Aug 25, 2020 · 5 comments
Closed

Slow response on RPC endpoints at high block height #1830

kantai opened this issue Aug 25, 2020 · 5 comments
Labels

Comments

@kantai
Copy link
Member

kantai commented Aug 25, 2020

Last week, during the day before the testnet reset, the Stacks argon master node was very slow to respond (or completely unresponsive) to RPC queries.

/v2/info began to take ~5s to respond on Aug 18, and by Aug. 19, it took up to a minute to respond (or didn't respond at all).

I grabbed a core dump from the machine before the testnet restarted, however, it did not prove to be terribly useful -- I couldn't produce a corresponding stacks-node binary with a matching symbols table, all threads did appear to have been running, though. I cannot locate this core dump anymore, though :(

I do have logging data for the period. I've attached the captured logs for the ~15 minutes before reset.

stacks-node-argon-aug-19.txt

@jcnelson
Copy link
Member

Well, the good news is that unlike before, the relayer thread is still alive and doing stuff. You can see it with lines like:

"Aug 19, 2020 @ 14:08:14.000","[testnet/stacks-node/src/neon_node.rs:505] [ThreadId(6)] Relayer: Run tenure"
...
"Aug 19, 2020 @ 14:08:16.000","[testnet/stacks-node/src/neon_node.rs:377] [ThreadId(6)] Relayer: Try process attacheable blocks"
...
"Aug 19, 2020 @ 14:08:42.000","[testnet/stacks-node/src/neon_node.rs:421] [ThreadId(6)] Relayer: Process tenure"

However, I don't see any cases of Relayer: Handle network result, which suggests to me that the p2p thread has stalled out or stopped somehow.

@jcnelson
Copy link
Member

We should try and reproduce this locally until the testnet block height can get this high again.

@jcnelson
Copy link
Member

jcnelson commented Oct 8, 2020

Is this still happening?

@stale
Copy link

stale bot commented Apr 7, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 7, 2021
@stale
Copy link

stale bot commented Apr 14, 2021

This issue has been automatically closed. Please reopen if needed.

@stale stale bot closed this as completed Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants