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

OutOfMemoryError since upgrading to version 0.5.0 #103

Open
JorgeAlmeida opened this issue Jul 25, 2017 · 1 comment
Open

OutOfMemoryError since upgrading to version 0.5.0 #103

JorgeAlmeida opened this issue Jul 25, 2017 · 1 comment
Assignees
Labels

Comments

@JorgeAlmeida
Copy link

We had some issues with OutOfMemoryErrors since upgrading to version 0.5.0.

We were running version 0.4.1 for the last 6 months without issues and upgraded to 0.5.0 with the same volume of events, same configuration thresholds and same machine resources.
After this upgrade we registered OOM errors and the application did not recover from them. We restarted the containers a few times but always ending up with the same result.
We fixed this by moving to larger instances types, but with the same volume of events as before this was not expected.

More info:
sinkLzoBufferByteThreshold=500000000
sinkLzoBufferRecordThreshold=2000000
sinkLzoBufferTimeThreshold=3600000

@alexanderdean alexanderdean added this to the Version 0.5.1 milestone Jul 25, 2017
@BenFradet
Copy link
Contributor

@JorgeAlmeida There are two things to take into consideration:

  • Before 0.5.0, OOMs were swallowed by the KCL and now they're bubbling so it's most likely that you had those before but they weren't crashing the application.
    If you still have the logs for 0.4.1 I invite you to look for "Error writing raw stream to output stream" log messages which were indicating ooms.
  • amazon-kinesis-connectors, the library we're using to read from Kinesis, has no backpressure which means that if, for some reason, we accumulate delay sending events to s3, the buffer will keep on growing until an oom is reached.

@alexanderdean alexanderdean removed this from the Version 0.5.1 milestone Mar 21, 2018
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

3 participants