question

DuyVu-1994 avatar image
1 Vote"
DuyVu-1994 asked DuyVu-9674 commented

Azure API Gateway Self Hosted on Kubernetes and pods keeps running out of memory

We are currently trying out SelfHosted API gateway on a Kubernetes cluster. The same traffic seem to run ok on the ManagedGateway. However, on the Selfhosted one, the pods quickly increasing in memory usage.

We set our memory limit to 24GB. Each pod started with 100Mb and quickly got to 9GB in an hour under traffic. At which point it suddenly jump to 12GB, then 17GB before crashout with out of memory in the log. CPU usage are only 3% to 4% during the whole time.

I feel like it might be some dumb thing in our configuration but can't seem to find any documentation. Almost like something getting stored in memory and not getting flush out.

We don't configure any persistent storage. We also turn off the stdout logging as well. No caching API. No Appinsight logging.

Any help is much appreciated!!!

azure-kubernetes-service
· 9
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@DuyVu-1994 Apologies for the delay in response and all the inconvenience caused because of the issue.
I have reached out to our internal team on the issue and once I have an update will keep you posted on same.

Thank you for your patience over the matter.

Thanks.

0 Votes 0 ·

Thank you very much!!!

0 Votes 0 ·

@DUYVU-2607 Did you got a chance to go through my previous comment?

Do let me know if you need any further help from my side.

Thanks

0 Votes 0 ·
Show more comments

0 Answers