Ensure overcommit_memory=0 37/3337/5
authorCiprian Barbu <ciprian.barbu@enea.com>
Fri, 3 Apr 2020 01:13:04 +0000 (04:13 +0300)
committerCiprian Barbu <ciprian.barbu@enea.com>
Mon, 6 Apr 2020 13:43:05 +0000 (16:43 +0300)
commit0ce548c0f2520c90939ef721cc3f2c9686129c35
tree73db09b8bcad52157be54255dff93e4cbc1cdd90
parente4bb9f6bfb68185487a0106e9af518537ac404f2
Ensure overcommit_memory=0

This could be set to 1 for aarch64, which introduces some issues when
trying to allocate large amounts of memory. Setting it to 0 will prevent
faulty processes from consuming all memory.
Fixes https://jira.akraino.org/browse/IEC-26

Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
Change-Id: I332a91a669de2123d6e9e61fee0ad3627a003d83
src/foundation/scripts/k8s_common.sh