stacks-blockchain-api icon indicating copy to clipboard operation
stacks-blockchain-api copied to clipboard

Investigate very high API reader memory usage

Open CharlieC3 opened this issue 2 years ago • 4 comments

We're seeing more OOMs in v7 than we did in v6. We may need to profile the memory usage again to identity key areas for performance improvements and address them.

CharlieC3 avatar Feb 25 '23 17:02 CharlieC3

We should perform tests in the new clusters by reducing pod memory in staging and sending prod traffic into it so we can get a memory dump once it crashes

rafaelcr avatar Mar 09 '23 17:03 rafaelcr

Is this still an issue? Did we fix it by switching to the slim docker image and upgrading nodejs version?

zone117x avatar Apr 22 '24 10:04 zone117x

@zone117x Yeah this is still an issue unfortunately. Changing the LB algo to least_request helped cover the symptoms, but OOMs are still occurring frequently, just less so than before.

CharlieC3 avatar May 06 '24 14:05 CharlieC3