-
Notifications
You must be signed in to change notification settings - Fork 114
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
Possible regression in 8.1.2 #2147
Comments
update: downgrade to 7.14.1 seems to have greatly helped. |
adding some additional details here:
and the corresponding resource usage on the host (externally hosted DB):
i don't see any corresponding cpu spike on my DB (as was shared with me), but the DB also has a lot of resources available to it with no shared IO. |
Same issue here. Downgrade to 7.14.1 helps a lot. |
@planbetterHQ would you be able to share examples of principals used in the balance endpoint that are causing this for you? |
confirm the change in #2156 seems to help here - i'm seeing much more reasonable times returning balance data locally
|
Fixed in v8.2.1 |
I don't have the full details here as a middleman, but the basics are:
upgraded stacks-node and api to the latest versions (3.0.0.0.0 and 8.1.2 respectively)
after a few hours/days it was observed that postgres was using nearly 1000% cpu sustained.
none of the active queries seemed to be the reason, so we stopped the api and the stacks-node.
postgres cpu dropped back to normal.
then, we started stacks-node and the api, but kept it firewalled from external traffic: postgres cpu remained as expected (roughly 4% used).
then, to test the api a little we sent a few balance curls:
no matter the address, it takes several seconds (in some cases upwards for 30s) for the data to be returned.
there is also a corresponding CPU spike on postgres.
we're testing a downgrade to api version 7.14.1
The text was updated successfully, but these errors were encountered: