mesosphere / universe

The Mesosphere Universe package repository.
http://mesosphere.github.io/universe
Apache License 2.0
305 stars 425 forks source link

Elastic framework and it's tasks memory defaults are problematic #1104

Closed bergerx closed 7 years ago

bergerx commented 7 years ago

Can you parameterize the memosry for elastic framework?

It's currently set to 2G (https://github.com/mesosphere/universe/blob/version-3.x/repo/packages/E/elastic/5/marathon.json.mustache#L4) but in out 1.9 cluster the elastic marathon task keeps restarting by OOM. I bumped the mem in marathon task defition to 3G to solve the problem.

There is also similar problem with the proxylite task started by elastic framework, but i can tweak it by updating PROXYLITE_MEM env value from the default 100 to 200. Even though restarts, proxylite does its job mostly, but I expect everybody using the framework are experiencing this, tweaking the default could be better.

image

image

bergerx commented 7 years ago

others are also reporting: https://dcos-community.slack.com/archives/C132NTZJN/p1492704511646400

Ingest's defaults are also does not seem good.here is another one hit issue with that: https://dcos-community.slack.com/archives/C132NTZJN/p1492780815802640 Here is a screenshot to see increasing memory for ingest did help: image

bergerx commented 7 years ago

Changes I did: