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

Tyk pump not protected against OOM #770

Open
monrax opened this issue Jan 17, 2024 · 1 comment
Open

Tyk pump not protected against OOM #770

monrax opened this issue Jan 17, 2024 · 1 comment
Assignees

Comments

@monrax
Copy link
Contributor

monrax commented Jan 17, 2024

If memory usage by one or more pump backends increases faster than it is freed, the Tyk Pump process can reach an OOM state that could take down the entire analytics purger with it.

If a susceptible backend goes into memory runaway, the process might exit with error code 137:

image

Is this expected behavior?

I suppose this can be addressed with the appropriate restart policy when using the Tyk pump container, but I was wondering if perhaps the offending backends should be limited instead of potentially bringing the pump down every time.

@mativm02
Copy link
Contributor

mativm02 commented May 3, 2024

Hey @monrax! Sorry for the late reply.

This is not an expected behavior. If you increase the purge_delay value, the issue is still present?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants